summaryrefslogtreecommitdiff
path: root/extensions/source/logging/csvformatter.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-10-19 10:30:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-10-19 19:31:21 +0200
commit566de3328e60b2608b8f611698b6d26fc33b05f1 (patch)
tree72ab7fd9be4e1c66e61ec6377246aac4c99a35d9 /extensions/source/logging/csvformatter.cxx
parent7eda35a36c8837c620722e5c26c90324ae9b48e9 (diff)
Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: extensions
Change-Id: I30f81bdcd7ba877e65c8f134352669e22d78b033 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158192 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'extensions/source/logging/csvformatter.cxx')
-rw-r--r--extensions/source/logging/csvformatter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/logging/csvformatter.cxx b/extensions/source/logging/csvformatter.cxx
index c495bbe1ea95..a9ea13f208ca 100644
--- a/extensions/source/logging/csvformatter.cxx
+++ b/extensions/source/logging/csvformatter.cxx
@@ -90,7 +90,7 @@ namespace
{
const sal_Unicode quote_char = '"';
const sal_Unicode comma_char = ',';
- constexpr OUStringLiteral dos_newline = u"\r\n";
+ constexpr OUString dos_newline = u"\r\n"_ustr;
bool needsQuoting(std::u16string_view str)
{