summaryrefslogtreecommitdiff
path: root/connectivity/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-08 17:41:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-08 23:50:48 +0200
commitb16730d8f10b596e00f34e15ca9c011f347f57b1 (patch)
tree6043e1b0c69d4c100b3aaf4ac3b4d5472cf63e98 /connectivity/source
parent8bfdb0a48d474f9288fcc368000c90bffbea6506 (diff)
loplugin:stringadd (macOS)
Change-Id: I4dde1fa6f1f3e6d75abe5002655d3cd5fa685c0b Reviewed-on: https://gerrit.libreoffice.org/80487 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity/source')
-rw-r--r--connectivity/source/drivers/postgresql/pq_connection.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_connection.cxx b/connectivity/source/drivers/postgresql/pq_connection.cxx
index e07c035eda70..0b5ea84bc6fa 100644
--- a/connectivity/source/drivers/postgresql/pq_connection.cxx
+++ b/connectivity/source/drivers/postgresql/pq_connection.cxx
@@ -132,11 +132,11 @@ static LogLevel readLogLevelFromConfiguration()
OUString fileName;
osl_getModuleURLFromFunctionAddress(
reinterpret_cast<oslGenericFunction>(readLogLevelFromConfiguration), &fileName.pData );
- fileName = fileName.copy( fileName.lastIndexOf( '/' )+1 );
+ fileName = fileName.copy( fileName.lastIndexOf( '/' )+1 ) +
#ifdef MACOSX
- fileName += "../Resources/";
+ "../Resources/"
#endif
- fileName += "postgresql-sdbc.ini";
+ "postgresql-sdbc.ini";
rtl::Bootstrap bootstrapHandle( fileName );
OUString str;