fdo#40173 write out *newly* empty library
This commit is contained in:
parent
0c3409364b
commit
caee685234
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue