summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-04-03 21:28:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-04-04 13:48:11 +0200
commit5de24375515bc2932d299047e9cb8c9c9bf3ee1d (patch)
tree81c451b7ccbf90d6d3e219f26b62e98993fff7df /sd
parentc2e8a96a8107a37901e475c65a8e61211fc3b132 (diff)
use string_view in comphelper::string::split
Change-Id: I4afe8aee85905ee35ba195b00b454aefa0ba38af Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132486 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/qa/unit/tiledrendering/CallbackRecorder.hxx2
-rw-r--r--sd/qa/unit/tiledrendering/tiledrendering.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/qa/unit/tiledrendering/CallbackRecorder.hxx b/sd/qa/unit/tiledrendering/CallbackRecorder.hxx
index c37ec57d9495..93b58cd04ead 100644
--- a/sd/qa/unit/tiledrendering/CallbackRecorder.hxx
+++ b/sd/qa/unit/tiledrendering/CallbackRecorder.hxx
@@ -38,7 +38,7 @@ std::vector<OUString> lcl_convertSeparated(const OUString& rString, sal_Unicode
return aRet;
}
-void lcl_convertRectangle(const OUString& rString, tools::Rectangle& rRectangle)
+void lcl_convertRectangle(std::u16string_view rString, tools::Rectangle& rRectangle)
{
uno::Sequence<OUString> aSeq = comphelper::string::convertCommaSeparated(rString);
CPPUNIT_ASSERT(aSeq.getLength() == 4 || aSeq.getLength() == 5);
diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx
index ebab87741847..306cdbcf6b69 100644
--- a/sd/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx
@@ -299,7 +299,7 @@ std::vector<OUString> lcl_convertSeparated(const OUString& rString, sal_Unicode
return aRet;
}
-void lcl_convertRectangle(const OUString& rString, ::tools::Rectangle& rRectangle)
+void lcl_convertRectangle(std::u16string_view rString, ::tools::Rectangle& rRectangle)
{
uno::Sequence<OUString> aSeq = comphelper::string::convertCommaSeparated(rString);
CPPUNIT_ASSERT(aSeq.getLength() == 4 || aSeq.getLength() == 5);