Kaydet (Commit) 6c29057f authored tarafından Noel Power's avatar Noel Power

missing part of fix for fdo#54721

commit id cea414bf for
"fix vba not tracking currently selected doc correctly" was missing necessary
change in sfx2

Change-Id: I1697c005374b3d26dc63c78702a46c6d9879adaa
üst ed08ddb3
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment