summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2012-09-11 11:59:45 +0100
committerPetr Mladek <pmladek@suse.cz>2012-09-11 18:43:12 +0200
commit7fb8aa0256ca18a62d7b87af10248bba3e31829e (patch)
treef8fea06c75f6bb862525b6849da3481eed9efa0b
parente59df5556371fd72d349dff8cb3fa174eaf91421 (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 Conflicts: sfx2/source/doc/objxtor.cxx Change-Id: I1697c005374b3d26dc63c78702a46c6d9879adaa Signed-off-by: Petr Mladek <pmladek@suse.cz>
-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 d4e8b5643304..6d27be45a7de 100644
--- a/sfx2/source/doc/objxtor.cxx
+++ b/sfx2/source/doc/objxtor.cxx
@@ -143,7 +143,7 @@ static VBAConstantNameMap s_aRegisteredVBAConstants;
if( xProps.is() ) try
{
::rtl::OUString aConstName;
- xProps->getPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "VBAGlobalConstantName" ) ) ) >>= aConstName;
+ xProps->getPropertyValue( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ThisVBADocObj" ) ) ) >>= aConstName;
return ::rtl::OUStringToOString( aConstName, RTL_TEXTENCODING_ASCII_US );
}
catch( uno::Exception& ) // not supported