summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objxtor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/objxtor.cxx')
-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 92c5a1d60e79..dcb115d84624 100644
--- a/sfx2/source/doc/objxtor.cxx
+++ b/sfx2/source/doc/objxtor.cxx
@@ -131,7 +131,7 @@ OString lclGetVBAGlobalConstName( const Reference< XInterface >& rxComponent )
if( xProps.is() ) try
{
OUString aConstName;
- xProps->getPropertyValue("ThisVBADocObj") >>= aConstName;
+ xProps->getPropertyValue("VBAGlobalConstantName") >>= aConstName;
return OUStringToOString( aConstName, RTL_TEXTENCODING_ASCII_US );
}
catch (const uno::Exception&) // not supported