diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2023-10-19 10:30:07 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2023-10-19 14:25:14 +0200 |
commit | 4f66ce572be5bbec9fe8feef8f0937d0ca06e964 (patch) | |
tree | e96571f34719ebf0ed94ef9bb5ff4e247675cfcd /connectivity/source/commontools/formattedcolumnvalue.cxx | |
parent | fec4d0fb9992811d1217624d8eda95eac6da4220 (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/formattedcolumnvalue.cxx')
-rw-r--r-- | connectivity/source/commontools/formattedcolumnvalue.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/commontools/formattedcolumnvalue.cxx b/connectivity/source/commontools/formattedcolumnvalue.cxx index a389236e6aa0..32db3d7177c2 100644 --- a/connectivity/source/commontools/formattedcolumnvalue.cxx +++ b/connectivity/source/commontools/formattedcolumnvalue.cxx @@ -149,7 +149,7 @@ namespace dbtools // get the format key of our bound field Reference< XPropertySetInfo > xPSI( _rxColumn->getPropertySetInfo(), UNO_SET_THROW ); bool bHaveFieldFormat = false; - static constexpr OUStringLiteral sFormatKeyProperty( u"FormatKey" ); + static constexpr OUString sFormatKeyProperty( u"FormatKey"_ustr ); if ( xPSI->hasPropertyByName( sFormatKeyProperty ) ) { bHaveFieldFormat = ( _rxColumn->getPropertyValue( sFormatKeyProperty ) >>= _rData.m_nFormatKey ); |