diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-11 14:14:21 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-11 14:14:21 +0000 |
commit | 641b44fc8357289d12ff165b689d941a52af5d27 (patch) | |
tree | 3bea7314d823b103ff1b469db85c9ed3d81651c5 /indra/newview | |
parent | bf26124cbc9583901ce0640c6027acb392fff6fd (diff) |
CID-63
Checker: FORWARD_NULL
Function: LLFloaterProperties::dirtyAll()
File: /indra/newview/llfloaterproperties.cpp
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llfloaterproperties.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llfloaterproperties.cpp b/indra/newview/llfloaterproperties.cpp index bde86a4034..5c0593ad29 100644 --- a/indra/newview/llfloaterproperties.cpp +++ b/indra/newview/llfloaterproperties.cpp @@ -880,7 +880,11 @@ void LLFloaterProperties::dirtyAll() iter != inst_list.end(); ++iter) { LLFloaterProperties* floater = dynamic_cast<LLFloaterProperties*>(*iter); - floater->dirty(); + llassert(floater); // else cast failed - wrong type D: + if (floater) + { + floater->dirty(); + } } } |