summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2014-09-04 11:52:18 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2014-09-04 12:06:50 +0200
commit513d95f3185f2e916f76b0ec058413ae69f161a3 (patch)
tree29ca6865806195a59cd5902ba4bd036c9c1d0eff /basic
parent6846c1c88ec06d803b501e1dc2141648b213f7d8 (diff)
detect if Standard is only library to *save*
as opposed to only library at all Change-Id: I23bebfe7d156e1f4a60bc5f265a3cf9d295f3e4a
Diffstat (limited to 'basic')
-rw-r--r--basic/source/uno/namecont.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index c7d5a01bd5ea..b79fe9789e73 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -1832,7 +1832,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;