diff options
-rw-r--r-- | sfx2/source/doc/objxtor.cxx | 2 | ||||
-rw-r--r-- | sw/inc/unoprnms.hxx | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/sw/inc/unoprnms.hxx b/sw/inc/unoprnms.hxx index 1a89a01372b9..fbfbe9487416 100644 --- a/sw/inc/unoprnms.hxx +++ b/sw/inc/unoprnms.hxx @@ -856,7 +856,7 @@ #define UNO_NAME_DESCRIPTION "Description" #define UNO_NAME_META "InContentMetadata" #define UNO_NAME_IS_TEMPLATE "IsTemplate" -#define UNO_NAME_VBA_DOCOBJ "ThisVBADocObj" +#define UNO_NAME_VBA_DOCOBJ "VBAGlobalConstantName" #define UNO_NAME_NESTED_TEXT_CONTENT "NestedTextContent" #define UNO_NAME_SEPARATOR_LINE_STYLE "SeparatorLineStyle" #define UNO_NAME_FOOTNOTE_LINE_STYLE "FootnoteLineStyle" |