summaryrefslogtreecommitdiff
path: root/include/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-04-02 19:02:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-04-03 10:01:48 +0200
commit3e1e0af376d45f44dab975cea943de7fb676f967 (patch)
tree3a1e0f7cf57ee323b8cdde8ac02a010d1e02f0b3 /include/oox
parent744722123a8ce3d3c30583ba1285a21e129b471f (diff)
loplugin:stringviewparam convert methods using match
which converts to a combination of substr and o3tl::starts_with Change-Id: I5b01a181b9e6bee3483e4f49f1a9426abcc682d0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132458 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/oox')
-rw-r--r--include/oox/export/vmlexport.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oox/export/vmlexport.hxx b/include/oox/export/vmlexport.hxx
index 5f18df230783..5efdb34a90ff 100644
--- a/include/oox/export/vmlexport.hxx
+++ b/include/oox/export/vmlexport.hxx
@@ -149,7 +149,7 @@ public:
const bool bOOxmlExport = false );
OString const & AddInlineSdrObject( const SdrObject& rObj, const bool bOOxmlExport );
virtual void AddSdrObjectVMLObject( const SdrObject& rObj) override;
- static bool IsWaterMarkShape(const OUString& rStr);
+ static bool IsWaterMarkShape(std::u16string_view rStr);
void SetSkipwzName(bool bSkipwzName) { m_bSkipwzName = bSkipwzName; }
void SetHashMarkForType(bool bUseHashMarkForType) { m_bUseHashMarkForType = bUseHashMarkForType; }