[Libreoffice-commits] core.git: sc/inc

Tor Lillqvist tml at collabora.com
Tue Nov 28 07:48:16 UTC 2017


 sc/inc/conditio.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit fc5bac70e0f272c6abc7a4e06e02ab8eac7ce54e
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Nov 27 14:12:24 2017 +0200

    The aStrNmsp[12] fields can be const
    
    Change-Id: I257b2be52b13c8ce76dbcc06e080e348af9e1b68
    Reviewed-on: https://gerrit.libreoffice.org/45359
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Tor Lillqvist <tml at collabora.com>

diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx
index e3434067de7e..dfd8d10bc630 100644
--- a/sc/inc/conditio.hxx
+++ b/sc/inc/conditio.hxx
@@ -300,8 +300,8 @@ class SC_DLLPUBLIC ScConditionEntry : public ScFormatEntry
     double              nVal2;
     OUString              aStrVal1;       // input or calculated
     OUString              aStrVal2;
-    OUString              aStrNmsp1;      // namespace to be used on (re)compilation, e.g. in XML import
-    OUString              aStrNmsp2;      // namespace to be used on (re)compilation, e.g. in XML import
+    const OUString      aStrNmsp1;      // namespace to be used on (re)compilation, e.g. in XML import
+    const OUString      aStrNmsp2;      // namespace to be used on (re)compilation, e.g. in XML import
     const formula::FormulaGrammar::Grammar eTempGrammar1;  // grammar to be used on (re)compilation, e.g. in XML import
     const formula::FormulaGrammar::Grammar eTempGrammar2;  // grammar to be used on (re)compilation, e.g. in XML import
     bool                bIsStr1;        // for recognition of empty strings


More information about the Libreoffice-commits mailing list