summaryrefslogtreecommitdiffstats
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2012-09-11 11:59:45 +0100
committerNoel Power <noel.power@suse.com>2012-09-11 11:59:45 +0100
commit6c29057f55dc1afde8911ac527814ca09ead2c2f (patch)
tree2a7c6fb49a8f0c2db4ddf5fb19108c13af6bb4fa /sfx2
parentfdo#53588 Assume cdir being in the last 1k of the file to speed-up search (diff)
downloadcore-6c29057f55dc1afde8911ac527814ca09ead2c2f.tar.gz
core-6c29057f55dc1afde8911ac527814ca09ead2c2f.zip
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
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/objxtor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx
index a9bb168863c6..deee41ba3368 100644
--- a/sfx2/source/doc/objxtor.cxx
+++ b/sfx2/source/doc/objxtor.cxx
@@ -135,7 +135,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