diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-12-28 17:56:40 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-12-29 16:42:33 +0100 |
commit | 042033f1e6da22616cb76c8d950c20c9efecbad5 (patch) | |
tree | 26b3f1f42d067506f44550b410f3fb9640616a5b /l10ntools/inc/helper.hxx | |
parent | ccfd8e9d09f9ac0a0ea92d0f378391006faaf934 (diff) |
loplugin:stringviewparam: operator +
Change-Id: I044dd21b63d7eb03224675584fa143009c6b6008
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108418
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'l10ntools/inc/helper.hxx')
-rw-r--r-- | l10ntools/inc/helper.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/l10ntools/inc/helper.hxx b/l10ntools/inc/helper.hxx index 621218a0c1b7..c63f781a5d91 100644 --- a/l10ntools/inc/helper.hxx +++ b/l10ntools/inc/helper.hxx @@ -13,6 +13,9 @@ #define INCLUDED_L10NTOOLS_INC_HELPER_HXX #include <sal/config.h> + +#include <string_view> + #include <sal/types.h> #include <libxml/parser.h> @@ -36,7 +39,7 @@ OString QuotHTML( const OString &rString ); OString UnQuotHTML( const OString& rString ); /// Check whether text is a valid XML expression -bool isWellFormedXML( OString const & text ); +bool isWellFormedXML( std::string_view text ); /// Convert xmlChar* to OString OString xmlStrToOString( const xmlChar* pString ); |