fdo#40173 write out *newly* empty library

This commit is contained in:
Lionel Elie Mamane 2011-08-17 19:18:08 +02:00
parent 0c3409364b
commit caee685234

View file

@ -1806,7 +1806,7 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto
Any aLibAny = maNameContainer.getByName( aNames[0] );
Reference< XNameAccess > xNameAccess;
aLibAny >>= xNameAccess;
if ( !xNameAccess->hasElements() )
if ( ! ( xNameAccess->hasElements() || isModified() ) )
return;
}