summaryrefslogtreecommitdiff
path: root/include/connectivity
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-01-28 20:29:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-01-29 09:25:12 +0100
commit1250aecd71fabde4dba990bfceb61bbe8e06b8ea (patch)
tree3c42ffdf68b7e81aba29228631a8cd34e2f11830 /include/connectivity
parent4f3987e0b1a995431478769c898b5ef151745254 (diff)
loplugin:stringviewparam extend to new..
O[U]StringBuffer methods Change-Id: I0ffbc33d54ae7c98b5652434f3370ee4f819f6f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110090 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/connectivity')
-rw-r--r--include/connectivity/dbtools.hxx2
-rw-r--r--include/connectivity/filtermanager.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/connectivity/dbtools.hxx b/include/connectivity/dbtools.hxx
index f4f19b66f57e..505228a9931a 100644
--- a/include/connectivity/dbtools.hxx
+++ b/include/connectivity/dbtools.hxx
@@ -770,7 +770,7 @@ namespace dbtools
the buffer to which the comparison predicate will be appended
*/
OOO_DLLPUBLIC_DBTOOLS void getBooleanComparisonPredicate(
- const OUString& _rExpression,
+ std::u16string_view _rExpression,
const bool _bValue,
const sal_Int32 _nBooleanComparisonMode,
OUStringBuffer& _out_rSQLPredicate
diff --git a/include/connectivity/filtermanager.hxx b/include/connectivity/filtermanager.hxx
index af9baef396fe..b6f104aa4037 100644
--- a/include/connectivity/filtermanager.hxx
+++ b/include/connectivity/filtermanager.hxx
@@ -98,7 +98,7 @@ namespace dbtools
/** appends one filter component to the statement in our composer
*/
- static void appendFilterComponent( OUStringBuffer& io_appendTo, const OUString& i_component );
+ static void appendFilterComponent( OUStringBuffer& io_appendTo, std::u16string_view i_component );
/// checks whether there is only one (or even no) non-empty filter component
bool isThereAtMostOneFilterComponent( OUString& o_singleComponent ) const;