diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-04-19 12:06:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-04-19 15:04:33 +0200 |
commit | 6a0a0a4d78bb8850bf4a304b83784d3822895efe (patch) | |
tree | 2800dce4daa42965a010336456117733830e2694 /sc/inc | |
parent | 832b23d9376019619929764606276aacde1e329a (diff) |
use more string_view in comphelper::string
Change-Id: I5d27824694e38de540e5f1fcd8704f8777f65140
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114261
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/dpobject.hxx | 2 | ||||
-rw-r--r-- | sc/inc/dputil.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx index 0ecaf6466e08..6d740769637c 100644 --- a/sc/inc/dpobject.hxx +++ b/sc/inc/dpobject.hxx @@ -195,7 +195,7 @@ public: OUString& rDataFieldName, std::vector<css::sheet::DataPilotFieldFilter>& rFilters, std::vector<sal_Int16>& rFilterFuncs, - const OUString& rFilterList ); + std::u16string_view rFilterList ); void GetMemberResultNames(ScDPUniqueStringSet& rNames, tools::Long nDimension); diff --git a/sc/inc/dputil.hxx b/sc/inc/dputil.hxx index b5a2b64c9138..74576c820b01 100644 --- a/sc/inc/dputil.hxx +++ b/sc/inc/dputil.hxx @@ -22,7 +22,7 @@ class ScDPUtil public: static bool isDuplicateDimension(const OUString& rName); - SC_DLLPUBLIC static OUString getSourceDimensionName(const OUString& rName); + SC_DLLPUBLIC static OUString getSourceDimensionName(std::u16string_view rName); /** * Get a duplicate index in case the dimension is a duplicate. It returns |