[Libreoffice-commits] core.git: include/vbahelper

Tor Lillqvist tml at collabora.com
Fri Feb 2 16:45:53 UTC 2018


 include/vbahelper/vbaglobalbase.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7eb24dc16b68fa1bf89a903e431ba15646fbbfdf
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Feb 2 13:39:22 2018 +0200

    These fields can be const
    
    Change-Id: I7012e0d7b65fbb3317719f24572f77fb9aafd910
    Reviewed-on: https://gerrit.libreoffice.org/49143
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Tor Lillqvist <tml at collabora.com>

diff --git a/include/vbahelper/vbaglobalbase.hxx b/include/vbahelper/vbaglobalbase.hxx
index 9390f42d040a..fe338acd7f21 100644
--- a/include/vbahelper/vbaglobalbase.hxx
+++ b/include/vbahelper/vbaglobalbase.hxx
@@ -47,8 +47,8 @@ typedef InheritedHelperInterfaceWeakImpl< ov::XGlobalsBase > Globals_BASE;
 class VBAHELPER_DLLPUBLIC VbaGlobalsBase : public Globals_BASE
 {
 protected:
-    OUString msDocCtxName;
-    OUString msApplication;
+    const OUString msDocCtxName;
+    const OUString msApplication;
 
     bool hasServiceName( const OUString& serviceName );
     void init(  const css::uno::Sequence< css::beans::PropertyValue >& aInitArgs );


More information about the Libreoffice-commits mailing list