[Libreoffice-commits] .: basic/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Sep 11 02:30:06 PDT 2012
basic/source/uno/namecont.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit c0c7fb66985a9a3e8f9b7a796c1e0489e407879b
Author: Noel Power <noel.power at suse.com>
Date: Tue Sep 11 10:28:51 2012 +0100
fix for fdo#52076 don't write out basic storage if no modules
Change-Id: I50908f7f6b4c9a146e4a2fe616d000e1ee7e36fe
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index 6a40dfe..9e2cd06 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;
}
More information about the Libreoffice-commits
mailing list