diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-05-20 14:55:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-05-21 15:30:19 +0200 |
commit | 1b0402f87c9b17fef2141130bfaa1798ece6ba0d (patch) | |
tree | f5a5496850d29baff2f3f066b5bbfda96c480daf /sfx2 | |
parent | 4d2113250fa7ed62fe2c53ed0f76e3de5875cb81 (diff) |
Use varying aElement name
Change-Id: Idc135ef5031a01961cc18d897a734b598bc833f4
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/docmacromode.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/docmacromode.cxx b/sfx2/source/doc/docmacromode.cxx index 2108d1920f81..4d4ae52b4339 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 true; |