[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.2' - sfx2/source
Stephan Bergmann
sbergman at redhat.com
Wed May 21 07:29:58 PDT 2014
sfx2/source/doc/docmacromode.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c126f210bb62143eea6263e37dedcb2fba24cade
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue May 20 14:55:40 2014 +0200
Use varying aElement name
Change-Id: Idc135ef5031a01961cc18d897a734b598bc833f4
diff --git a/sfx2/source/doc/docmacromode.cxx b/sfx2/source/doc/docmacromode.cxx
index 7082bc4..00efbfb 100644
--- a/sfx2/source/doc/docmacromode.cxx
+++ b/sfx2/source/doc/docmacromode.cxx
@@ -342,7 +342,7 @@ namespace sfx2
if( aElement == aStdLibName || aElement == aVBAProject )
{
Reference < XNameAccess > xLib;
- Any aAny = xContainer->getByName( aStdLibName );
+ Any aAny = xContainer->getByName( aElement );
aAny >>= xLib;
if ( xLib.is() && xLib->hasElements() )
return sal_True;
More information about the Libreoffice-commits
mailing list