[Libreoffice-commits] core.git: basic/source
Miklos Vajna
vmiklos at suse.cz
Mon Jun 3 09:02:08 PDT 2013
basic/source/uno/namecont.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 3c8d419f4ba4ea9fa4d00b5691900dae091fd3aa
Author: Miklos Vajna <vmiklos at suse.cz>
Date: Mon Jun 3 17:54:57 2013 +0200
SfxLibraryContainer::storeLibraries_Impl: make saving basic macros work again
Regression from cbd1a89676f39135ed2e9c47d20475b2053289b9, 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
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index 4586bac..efcaed4 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -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 )
More information about the Libreoffice-commits
mailing list