summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-04-12 12:43:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-04-13 08:38:53 +0200
commitfdfd517a6f75e394ddcb1e195decbfed33ba56b9 (patch)
treee3bff14e5531affcd908415b4e85d7ceac4aa1fd /starmath/inc
parente568c9dca8b93b96a8a130a8fb6f1bba1a33d6ea (diff)
loplugin:stringviewparam whitelist some more functions
for which we have o3tl:: equivalents Change-Id: I4670fd8b703ac47214be213f41e88d1c6ede7032 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132913 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/view.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx
index 8b49b117ef35..295b029457b7 100644
--- a/starmath/inc/view.hxx
+++ b/starmath/inc/view.hxx
@@ -258,14 +258,14 @@ class SmViewShell final : public SfxViewShell
static Size GetTextLineSize(OutputDevice const & rDevice,
const OUString& rLine);
static Size GetTextSize(OutputDevice const & rDevice,
- const OUString& rText,
+ std::u16string_view rText,
tools::Long MaxWidth);
static void DrawTextLine(OutputDevice& rDevice,
const Point& rPosition,
const OUString& rLine);
static void DrawText(OutputDevice& rDevice,
const Point& rPosition,
- const OUString& rText,
+ std::u16string_view rText,
sal_uInt16 MaxWidth);
virtual SfxPrinter *GetPrinter(bool bCreate = false) override;