From d4ef035e2d08ad91e6fccd58590abdff0d6260c7 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 30 Jul 2019 17:57:10 +0200 Subject: 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 --- connectivity/source/cpool/ZPoolCollection.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'connectivity/source/cpool') 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"; } -- cgit