diff options
-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 |