diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-07-30 17:57:10 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-07-31 13:00:14 +0200 |
commit | d4ef035e2d08ad91e6fccd58590abdff0d6260c7 (patch) | |
tree | a61cae7702941b7e7260acba634007323c7e49c1 /connectivity/source/cpool | |
parent | c64e9ee263cf9150f12b45906ae21a553af06d9c (diff) |
Improved loplugin:stringconstant (now that GCC 7 supports it): connectivity
Change-Id: I80dab66757b1f541d448a642a5ecddc876f55c7b
Reviewed-on: https://gerrit.libreoffice.org/76689
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity/source/cpool')
-rw-r--r-- | connectivity/source/cpool/ZPoolCollection.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/connectivity/source/cpool/ZPoolCollection.cxx b/connectivity/source/cpool/ZPoolCollection.cxx index ba07e52962e8..4295f714690e 100644 --- a/connectivity/source/cpool/ZPoolCollection.cxx +++ b/connectivity/source/cpool/ZPoolCollection.cxx @@ -46,27 +46,27 @@ using namespace connectivity; static OUString getConnectionPoolNodeName() { - return OUString( "org.openoffice.Office.DataAccess/ConnectionPool" ); + return "org.openoffice.Office.DataAccess/ConnectionPool"; } static OUString getEnablePoolingNodeName() { - return OUString( "EnablePooling" ); + return "EnablePooling"; } static OUString getDriverNameNodeName() { - return OUString( "DriverName" ); + return "DriverName"; } static OUString getDriverSettingsNodeName() { - return OUString( "DriverSettings" ); + return "DriverSettings"; } static OUString getEnableNodeName() { - return OUString( "Enable" ); + return "Enable"; } @@ -159,7 +159,7 @@ Reference< XInterface > OPoolCollection::CreateInstance(const Reference< XMultiS OUString OPoolCollection::getImplementationName_Static( ) { - return OUString("com.sun.star.sdbc.OConnectionPool"); + return "com.sun.star.sdbc.OConnectionPool"; } |