diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-07 13:36:33 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-07 13:39:09 +0200 |
commit | b154c61766b5a5e3f597bad63d799912e5950a02 (patch) | |
tree | a5951697be11d2e317fc131acfdd937561b4c067 /mysqlc/source/mysqlc_driver.cxx | |
parent | eae2e87ba4de1ae59779cbfc56109aa6c27fbc17 (diff) |
Do not use sal/log.hxx in extensions
"For now, this functionality should only be used internally within LibreOffice.
It may change again in a future version." (sal/log.hxx)
And the condition that was checked already causes a RuntimeException, so was
somewhat redundant anyway. Thanks to mstahl for spotting this.
Change-Id: I51cc4e75b3d3ffc97943613c61cb93c1fb48e59b
Diffstat (limited to 'mysqlc/source/mysqlc_driver.cxx')
-rw-r--r-- | mysqlc/source/mysqlc_driver.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mysqlc/source/mysqlc_driver.cxx b/mysqlc/source/mysqlc_driver.cxx index 21befa07f0a9..1d35539b665f 100644 --- a/mysqlc/source/mysqlc_driver.cxx +++ b/mysqlc/source/mysqlc_driver.cxx @@ -217,7 +217,6 @@ Reference< XConnection > SAL_CALL MysqlCDriver::connect(const OUString& url, con if ( !cppDriver ) { impl_initCppConn_lck_throw(); - SAL_WARN_IF( !cppDriver, "mysqlc", "MySQLCDriver::connect: internal error." ); if ( !cppDriver ) throw RuntimeException("MySQLCDriver::connect: internal error.", *this ); } |