summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools/conncleanup.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2023-10-19 10:30:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2023-10-19 14:25:14 +0200
commit4f66ce572be5bbec9fe8feef8f0937d0ca06e964 (patch)
treee96571f34719ebf0ed94ef9bb5ff4e247675cfcd /connectivity/source/commontools/conncleanup.cxx
parentfec4d0fb9992811d1217624d8eda95eac6da4220 (diff)
Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: connectivity
Change-Id: I8220cf4e83a59aa55394d01f29a6af108dcc0619 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158149 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity/source/commontools/conncleanup.cxx')
-rw-r--r--connectivity/source/commontools/conncleanup.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/commontools/conncleanup.cxx b/connectivity/source/commontools/conncleanup.cxx
index 5504c4e14253..7b703f093c80 100644
--- a/connectivity/source/commontools/conncleanup.cxx
+++ b/connectivity/source/commontools/conncleanup.cxx
@@ -35,7 +35,7 @@ namespace dbtools
using namespace css::sdbc;
using namespace css::lang;
- constexpr OUStringLiteral ACTIVE_CONNECTION_PROPERTY_NAME = u"ActiveConnection";
+ constexpr OUString ACTIVE_CONNECTION_PROPERTY_NAME = u"ActiveConnection"_ustr;
OAutoConnectionDisposer::OAutoConnectionDisposer(const Reference< XRowSet >& _rxRowSet, const Reference< XConnection >& _rxConnection)
:m_xRowSet( _rxRowSet )