diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-10-19 10:30:40 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-10-20 22:48:21 +0200 |
commit | d49abee2132d6c572afa86898929fc2ad5b982b1 (patch) | |
tree | 6ea1ad89d558d4a251b4577bf7c6b2d9d566459f /vcl/jsdialog | |
parent | 0c07a65377d3c2ba50128322fb036f990e17af82 (diff) |
Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: vcl
Change-Id: Iaeacacbbb0eec907d884219aa2bcfe7a86f00a2c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158291
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/jsdialog')
-rw-r--r-- | vcl/jsdialog/jsdialogbuilder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/jsdialog/jsdialogbuilder.cxx b/vcl/jsdialog/jsdialogbuilder.cxx index 91e09663bef1..47743ac5ffc7 100644 --- a/vcl/jsdialog/jsdialogbuilder.cxx +++ b/vcl/jsdialog/jsdialogbuilder.cxx @@ -1818,7 +1818,7 @@ JSMessageDialog::~JSMessageDialog() void JSMessageDialog::RememberMessageDialog() { - static constexpr OUStringLiteral sWidgetName = u"__DIALOG__"; + static constexpr OUString sWidgetName = u"__DIALOG__"_ustr; OUString sWindowId = OUString::number(m_xMessageDialog->GetLOKWindowId()); if (JSInstanceBuilder::FindWeldWidgetsMap(sWindowId, sWidgetName) != nullptr) return; |