diff options
author | Noel Power <noel.power@suse.com> | 2012-09-11 10:28:51 +0100 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2012-09-11 10:29:46 +0100 |
commit | c0c7fb66985a9a3e8f9b7a796c1e0489e407879b (patch) | |
tree | 1fa1c1bbe4b29ddc50cb4fc4a5d701f38ee0410d /basic | |
parent | 3925a10d4784cf5966c5ee182dd64296b1cfba21 (diff) |
fix for fdo#52076 don't write out basic storage if no modules
Change-Id: I50908f7f6b4c9a146e4a2fe616d000e1ee7e36fe
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/uno/namecont.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index 6a40dfeb35b6..9e2cd061ab9f 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -1759,7 +1759,8 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto Any aLibAny = maNameContainer.getByName( aNames[0] ); Reference< XNameAccess > xNameAccess; aLibAny >>= xNameAccess; - if ( ! ( xNameAccess->hasElements() || isModified() ) ) + if ( ! ( xNameAccess->hasElements() || ( bInplaceStorage && isModified() ) ) ) + if ( ! ( xNameAccess->hasElements() ) ) return; } |