diff options
author | Lionel Elie Mamane <lionel.mamane@gestman.lu> | 2011-08-17 19:18:08 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel.mamane@gestman.lu> | 2011-08-17 19:18:08 +0200 |
commit | caee685234e87a4509c9aec4f04813714bfaf93d (patch) | |
tree | 2f0593daea0fe68f2246459833a7068a9f5c8154 | |
parent | 0c3409364bfa52fda57818c69a800189237c9537 (diff) |
fdo#40173 write out *newly* empty library
-rw-r--r-- | basic/source/uno/namecont.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index cf2e0b6df778..f4823c7fc735 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -1806,7 +1806,7 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto Any aLibAny = maNameContainer.getByName( aNames[0] ); Reference< XNameAccess > xNameAccess; aLibAny >>= xNameAccess; - if ( !xNameAccess->hasElements() ) + if ( ! ( xNameAccess->hasElements() || isModified() ) ) return; } |