Kaydet (Commit) 3c8d419f authored tarafından Miklos Vajna's avatar Miklos Vajna

SfxLibraryContainer::storeLibraries_Impl: make saving basic macros work again

Regression from cbd1a896, that commit
accidentally not only removed the #if 0 block, but also two other
braces -- because of this, in case bStorage was false, nothing was
saved. The effect of this was that if the user edited some macro in the
basic IDE, then saved the macro, it was shown as saved, but in fact that
didn't happen.

Change-Id: I20f8358dddfb226976be72f95dcad64de88d83c3
üst 8b1f4587
......@@ -1922,6 +1922,7 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto
if( pImplLib->implIsModified() || bComplete )
{
{
uno::Reference< embed::XStorage > xLibraryStor;
if( bStorage )
{
......@@ -1943,6 +1944,7 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto
#endif
return;
}
}
// Maybe lib is not loaded?!
if( bComplete )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment