summaryrefslogtreecommitdiff
path: root/basic/source/classes
diff options
context:
space:
mode:
authornpower Developer <npower@openoffice.org>2010-04-07 17:00:09 +0100
committernpower Developer <npower@openoffice.org>2010-04-07 17:00:09 +0100
commit6302434c682f559337bb3b4efc8e2d6ceadd9341 (patch)
treeace8d715eb2c9e04ac129af71b6be2f68d1e93b2 /basic/source/classes
parent962673149c34d547b505c78823b4ab9dd3528703 (diff)
npower13_objectmodule: fold in review comments from ab
Diffstat (limited to 'basic/source/classes')
-rw-r--r--basic/source/classes/sbxmod.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index 87855035eb2e..ab655c88ce10 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -1539,7 +1539,7 @@ SbObjModule::Find( const XubString& rName, SbxClassType t )
{
//OSL_TRACE("SbObjectModule find for %s", rtl::OUStringToOString( rName, RTL_TEXTENCODING_UTF8 ).getStr() );
SbxVariable* pVar = NULL;
- if ( !pVar && pDocObject)
+ if ( pDocObject)
pVar = pDocObject->Find( rName, t );
if ( !pVar )
pVar = SbModule::Find( rName, t );