diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-10-19 10:30:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-10-19 18:49:53 +0200 |
commit | 7eda35a36c8837c620722e5c26c90324ae9b48e9 (patch) | |
tree | 921abf009d0c9f415d658adba74b541994e5607a /dbaccess/source/ui/misc/indexcollection.cxx | |
parent | 326a8d5dd2d01a2037f17a6fd921494937c134d4 (diff) |
Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: dbaccess
Change-Id: I5f92e390ef57ae8f2aba43782c11ca5ee31dba93
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158187
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'dbaccess/source/ui/misc/indexcollection.cxx')
-rw-r--r-- | dbaccess/source/ui/misc/indexcollection.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/misc/indexcollection.cxx b/dbaccess/source/ui/misc/indexcollection.cxx index bdcdaad09a7f..169512ce723b 100644 --- a/dbaccess/source/ui/misc/indexcollection.cxx +++ b/dbaccess/source/ui/misc/indexcollection.cxx @@ -122,7 +122,7 @@ namespace dbaui } // set the properties - static constexpr OUStringLiteral s_sNamePropertyName = u"Name"; + static constexpr OUString s_sNamePropertyName = u"Name"_ustr; // the index' own props xIndexDescriptor->setPropertyValue("IsUnique", css::uno::Any(_rPos->bUnique)); xIndexDescriptor->setPropertyValue(s_sNamePropertyName, Any(_rPos->sName)); |