summaryrefslogtreecommitdiff
path: root/basic/source/uno/namecont.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/uno/namecont.cxx')
-rw-r--r--basic/source/uno/namecont.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index 0904dcb766c2..58401206fc4d 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -2299,7 +2299,7 @@ void SAL_CALL SfxLibraryContainer::loadLibrary( const OUString& Name )
bool bLoaded = pImplLib->mbLoaded;
pImplLib->mbLoaded = true;
- if( !(!bLoaded && xNameAccess->hasElements()) )
+ if( bLoaded || !xNameAccess->hasElements() )
return;
if( pImplLib->mbPasswordProtected )