From 3e1e0af376d45f44dab975cea943de7fb676f967 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 2 Apr 2022 19:02:40 +0200 Subject: 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 --- include/oox/export/vmlexport.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/oox') 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; } -- cgit