summaryrefslogtreecommitdiff
path: root/unodevtools/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-09-22 17:16:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-09-22 19:59:35 +0200
commit743e6aa211ccd631c811fb57e2050a5b4e8ffbba (patch)
tree01f5aa3d99f57d1b32715cdae94b669d7f655e99 /unodevtools/inc
parent924e0774a8201651a762394d51a964a4f8a0c566 (diff)
Extend loplugin:stringviewparam to starts/endsWith: unodevtools
Change-Id: I89e559d3956bb0b4b59314d55a3ca57d087b8146 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122471 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'unodevtools/inc')
-rw-r--r--unodevtools/inc/options.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/unodevtools/inc/options.hxx b/unodevtools/inc/options.hxx
index d9b557d06a28..5094a11ef5e1 100644
--- a/unodevtools/inc/options.hxx
+++ b/unodevtools/inc/options.hxx
@@ -21,6 +21,8 @@
#include <sal/config.h>
+#include <string_view>
+
#include <rtl/ustrbuf.hxx>
namespace unodevtools {
@@ -32,7 +34,7 @@ bool readOption( OUString * pValue, const char * pOpt,
bool readOption( const char * pOpt,
- sal_uInt32 * pnIndex, const OUString & aArg);
+ sal_uInt32 * pnIndex, std::u16string_view aArg);
} // end of namespace unodevtools