summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-04-28 11:41:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-04-28 16:08:03 +0200
commit4149201b099487c5b46d7015b0c174dfff1841ec (patch)
treee0c2a8d3d785a1f136563516953984436e4fc92e /include
parent34b3c66da2e5a300930f4ea47661b0e38a459565 (diff)
use more string_view in tools::Color
Change-Id: I0203aff3af19d3994af5325538520469ab2900ce Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133541 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/tools/color.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/color.hxx b/include/tools/color.hxx
index 5fcf840edfe6..0cf6e122eb90 100644
--- a/include/tools/color.hxx
+++ b/include/tools/color.hxx
@@ -391,7 +391,7 @@ public:
* rgb
* If fails returns Color().
*/
- static Color STRtoRGB(const OUString& colorname);
+ static Color STRtoRGB(std::u16string_view colorname);
/** Color space conversion tools
* @param nHue