summaryrefslogtreecommitdiff
path: root/l10ntools/inc/common.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-12-28 17:56:40 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-12-29 16:42:33 +0100
commit042033f1e6da22616cb76c8d950c20c9efecbad5 (patch)
tree26b3f1f42d067506f44550b410f3fb9640616a5b /l10ntools/inc/common.hxx
parentccfd8e9d09f9ac0a0ea92d0f378391006faaf934 (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/common.hxx')
-rw-r--r--l10ntools/inc/common.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/l10ntools/inc/common.hxx b/l10ntools/inc/common.hxx
index 993d5152967e..78bbbfdb83cc 100644
--- a/l10ntools/inc/common.hxx
+++ b/l10ntools/inc/common.hxx
@@ -15,6 +15,8 @@
#include <sal/config.h>
#include <iostream>
+#include <string_view>
+
#include <rtl/string.hxx>
#include "po.hxx"
@@ -48,7 +50,7 @@ void writeUsage(const OString& rName, const OString& rFileType);
/// Write out a PoEntry with attention to exceptions
void writePoEntry(
const OString& rExecutable, PoOfstream& rPoStream, const OString& rSourceFile,
- const OString& rResType, const OString& rGroupId, const OString& rLocalId,
+ std::string_view rResType, const OString& rGroupId, const OString& rLocalId,
const OString& rHelpText, const OString& rText, const PoEntry::TYPE eType = PoEntry::TTEXT );
}