summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unotxdoc.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-10-19 10:30:32 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-10-20 15:28:25 +0200
commita841ac096f2794405408ef64189de2c77971c3e6 (patch)
tree020598516b2e6ba68411b0f6ac958b22160badd0 /sw/source/uibase/uno/unotxdoc.cxx
parenta98000c028a3c68329fdb2047f51f8d271b2290c (diff)
Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: sw
Change-Id: I85fff7ed6932c5fc196e18f24fa01074ba4837e0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158241 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/uibase/uno/unotxdoc.cxx')
-rw-r--r--sw/source/uibase/uno/unotxdoc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index b84bad1531c9..c1a2ae573e2d 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -3455,7 +3455,7 @@ OString SwXTextDocument::getViewRenderState(SfxViewShell* pViewShell)
namespace
{
-inline constexpr OUStringLiteral SELECTED_DATE_FORMAT = u"YYYY-MM-DD";
+inline constexpr OUString SELECTED_DATE_FORMAT = u"YYYY-MM-DD"_ustr;
}
void SwXTextDocument::executeContentControlEvent(const StringMap& rArguments)