basic/source/uno/namecont.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c6b46c2c23ba883a83bc8a6fdf3a37d2a9ffbf95 Author: Lionel Elie Mamane <lio...@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 <nthieb...@gmail.com> Tested-by: Norbert Thiebaud <nthieb...@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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits