diff options
Diffstat (limited to 'extensions/source/logging')
-rw-r--r-- | extensions/source/logging/csvformatter.cxx | 2 | ||||
-rw-r--r-- | extensions/source/logging/loggerconfig.cxx | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/extensions/source/logging/csvformatter.cxx b/extensions/source/logging/csvformatter.cxx index 0805d68b43fe..ce140329457e 100644 --- a/extensions/source/logging/csvformatter.cxx +++ b/extensions/source/logging/csvformatter.cxx @@ -88,7 +88,7 @@ namespace { const sal_Unicode quote_char = '"'; const sal_Unicode comma_char = ','; - const OUStringLiteral dos_newline = "\r\n"; + const OUStringLiteral dos_newline = u"\r\n"; bool needsQuoting(const OUString& str) { diff --git a/extensions/source/logging/loggerconfig.cxx b/extensions/source/logging/loggerconfig.cxx index 4855380b5000..a78c1385363d 100644 --- a/extensions/source/logging/loggerconfig.cxx +++ b/extensions/source/logging/loggerconfig.cxx @@ -115,11 +115,11 @@ namespace logging Variable const aVariables[] = { - {OUStringLiteral("$(loggername)"), sLoggerName}, - {OUStringLiteral("$(date)"), sDate}, - {OUStringLiteral("$(time)"), sTime}, - {OUStringLiteral("$(datetime)"), sDateTime}, - {OUStringLiteral("$(pid)"), aPID} + {OUStringLiteral(u"$(loggername)"), sLoggerName}, + {OUStringLiteral(u"$(date)"), sDate}, + {OUStringLiteral(u"$(time)"), sTime}, + {OUStringLiteral(u"$(datetime)"), sDateTime}, + {OUStringLiteral(u"$(pid)"), aPID} }; for (Variable const & aVariable : aVariables) |