diff options
author | Noel Power <noel.power@suse.com> | 2012-09-11 11:59:45 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2012-09-11 14:34:05 +0200 |
commit | a27e830309aa292833dfd9d3ffb08932df855341 (patch) | |
tree | 07bb1e3548108bf6da35fb2170afb9bc728c2305 /sfx2 | |
parent | 79122fdf3a21782b9156868f94582ef99405815a (diff) |
missing part of fix for fdo#54721
commit id cea414bfe8fe356793778bdf09f5ca3b3a42daa0 for
"fix vba not tracking currently selected doc correctly" was missing necessary
change in sfx2
Change-Id: I1697c005374b3d26dc63c78702a46c6d9879adaa
Signed-off-by: Petr Mladek <pmladek@suse.cz>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/objxtor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx index 3d090104d9de..248480c4c789 100644 --- a/sfx2/source/doc/objxtor.cxx +++ b/sfx2/source/doc/objxtor.cxx @@ -144,7 +144,7 @@ static VBAConstantNameMap s_aRegisteredVBAConstants; if( xProps.is() ) try { ::rtl::OUString aConstName; - xProps->getPropertyValue( ::rtl::OUString( "VBAGlobalConstantName" ) ) >>= aConstName; + xProps->getPropertyValue( ::rtl::OUString( "ThisVBADocObj" ) ) >>= aConstName; return ::rtl::OUStringToOString( aConstName, RTL_TEXTENCODING_ASCII_US ); } catch (const uno::Exception&) // not supported |