[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - basic/source
Lionel Elie Mamane
lionel at mamane.lu
Sat Sep 6 13:19:24 PDT 2014
basic/source/uno/namecont.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c6b46c2c23ba883a83bc8a6fdf3a37d2a9ffbf95
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Thu Sep 4 11:52:18 2014 +0200
detect if Standard is only library to *save*
as opposed to only library at all
Change-Id: I23bebfe7d156e1f4a60bc5f265a3cf9d295f3e4a
Reviewed-on: https://gerrit.libreoffice.org/11275
Reviewed-by: Norbert Thiebaud <nthiebaud at gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud at gmail.com>
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index 69ba278..abdd3d5 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -1810,7 +1810,7 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto
if ( bStorage )
{
// Don't write if only empty standard lib exists
- if ( ( nNameCount == 1 ) && ( aNames[0] == "Standard" ) )
+ if ( ( nLibsToSave == 1 ) && ( aNames[0] == "Standard" ) )
{
Any aLibAny = maNameContainer.getByName( aNames[0] );
Reference< XNameAccess > xNameAccess;
More information about the Libreoffice-commits
mailing list