connectivity/source/parse/sqlnode.cxx |    8 ++++----
 include/connectivity/sqlnode.hxx      |    4 ++--
 svx/source/fmcomp/gridcell.cxx        |    2 +-
 svx/source/form/filtnav.cxx           |    2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)

New commits:
commit abd967ed31dbb1916003a1417bf337ed0fd3a5da
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Fri Dec 1 11:55:54 2023 +0000
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Sun Dec 3 20:20:05 2023 +0100

    cid#1546453 COPY_INSTEAD_OF_MOVE
    
    a sample commit
    
    Change-Id: I226569c5d3b066a5c328b67a36c17df57b5a668d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160215
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git a/connectivity/source/parse/sqlnode.cxx 
b/connectivity/source/parse/sqlnode.cxx
index ad91f618d9fc..45030592cf65 100644
--- a/connectivity/source/parse/sqlnode.cxx
+++ b/connectivity/source/parse/sqlnode.cxx
@@ -252,13 +252,13 @@ void OSQLParseNode::parseNodeToPredicateStr(OUString& 
rString,
                                               const Reference< XConnection >& 
_rxConnection,
                                               const Reference< 
XNumberFormatter > & xFormatter,
                                               const css::lang::Locale& rIntl,
-                                              OUString _sDec,
+                                              const OUString& rDec,
                                               const IParseContext* pContext ) 
const
 {
     OSL_ENSURE(xFormatter.is(), "OSQLParseNode::parseNodeToPredicateStr:: no 
formatter!");
 
     if (xFormatter.is())
-        parseNodeToStr(rString, _rxConnection, xFormatter, nullptr, 
OUString(), rIntl, pContext, true, true, _sDec, true);
+        parseNodeToStr(rString, _rxConnection, xFormatter, nullptr, 
OUString(), rIntl, pContext, true, true, rDec, true);
 }
 
 
@@ -268,13 +268,13 @@ void OSQLParseNode::parseNodeToPredicateStr(OUString& 
rString,
                                               const Reference< XPropertySet > 
& _xField,
                                               const OUString 
&_sPredicateTableAlias,
                                               const css::lang::Locale& rIntl,
-                                              OUString _sDec,
+                                              const OUString& rDec,
                                               const IParseContext* pContext ) 
const
 {
     OSL_ENSURE(xFormatter.is(), "OSQLParseNode::parseNodeToPredicateStr:: no 
formatter!");
 
     if (xFormatter.is())
-        parseNodeToStr( rString, _rxConnection, xFormatter, _xField, 
_sPredicateTableAlias, rIntl, pContext, true, true, _sDec, true );
+        parseNodeToStr( rString, _rxConnection, xFormatter, _xField, 
_sPredicateTableAlias, rIntl, pContext, true, true, rDec, true );
 }
 
 
diff --git a/include/connectivity/sqlnode.hxx b/include/connectivity/sqlnode.hxx
index 630e6e1afc65..6724090392a4 100644
--- a/include/connectivity/sqlnode.hxx
+++ b/include/connectivity/sqlnode.hxx
@@ -316,7 +316,7 @@ namespace connectivity
                                      const css::uno::Reference< 
css::sdbc::XConnection >& _rxConnection,
                                      const css::uno::Reference< 
css::util::XNumberFormatter > & xFormatter,
                                      const css::lang::Locale& rIntl,
-                                     OUString _sDec,
+                                     const OUString& rDec,
                                      const IParseContext* pContext = nullptr ) 
const;
 
         void parseNodeToPredicateStr(OUString& rString,
@@ -325,7 +325,7 @@ namespace connectivity
                                      const css::uno::Reference< 
css::beans::XPropertySet > & _xField,
                                      const OUString &_sTableAlias,
                                      const css::lang::Locale& rIntl,
-                                     OUString strDec,
+                                     const OUString& rStrDec,
                                      const IParseContext* pContext = nullptr ) 
const;
 
         OSQLParseNode* getByRule(OSQLParseNode::Rule eRule) const;
diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx
index 4a44887fcf72..e8c56fb0ac38 100644
--- a/svx/source/fmcomp/gridcell.cxx
+++ b/svx/source/fmcomp/gridcell.cxx
@@ -2964,7 +2964,7 @@ bool DbFilterField::commitControl()
                                                     m_rColumn.GetField(),
                                                     OUString(),
                                                     aAppLocale,
-                                                    OUString("."),
+                                                    ".",
                                                     getParseContext());
                 m_aText = aPreparedText;
             }
diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx
index ae16670d093c..c890d84abad2 100644
--- a/svx/source/form/filtnav.cxx
+++ b/svx/source/form/filtnav.cxx
@@ -796,7 +796,7 @@ bool FmFilterModel::ValidateText(FmFilterItem const * 
pItem, OUString& rText, OU
             OUString aPreparedText;
             Locale aAppLocale = 
Application::GetSettings().GetUILanguageTag().getLocale();
             pParseNode->parseNodeToPredicateStr(
-                aPreparedText, xConnection, xFormatter, xField, OUString(), 
aAppLocale, OUString("."), getParseContext() );
+                aPreparedText, xConnection, xFormatter, xField, OUString(), 
aAppLocale, ".", getParseContext() );
             rText = aPreparedText;
             return true;
         }

Reply via email to