diff options
author | Justin Luth <justin_luth@sil.org> | 2014-09-30 14:37:59 -0400 |
---|---|---|
committer | Samuel Mehrbrodt <s.mehrbrodt@gmail.com> | 2014-11-01 14:53:11 +0000 |
commit | 33c132baca3a2089551226167d27bdc3f9a67907 (patch) | |
tree | 48ef76820c1d5c62766c03afc94e0f44cc137d3a | |
parent | 9f89fbf3be626b13799b1b9c0fb8ca246148bcfb (diff) |
fdo#71248 Excel VBA: ActiveDocument is not tracking currently selected Doc
Change-Id: I86606646206ec26e2822a6e27888537d44351b7b
Reviewed-on: https://gerrit.libreoffice.org/11725
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
(cherry picked from commit 4108bd9b7a41eaa0f3bf8b8173f27f57e009ee34)
Reviewed-on: https://gerrit.libreoffice.org/11827
Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com>
-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 60ae2ef65ded..1fbe840dc8b0 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 9c8c7a7a8e66..75210610c07a 100644 --- a/sw/inc/unoprnms.hxx +++ b/sw/inc/unoprnms.hxx @@ -772,7 +772,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" |