summaryrefslogtreecommitdiff
path: root/mysqlc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-07 13:36:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-07 13:39:09 +0200
commitb154c61766b5a5e3f597bad63d799912e5950a02 (patch)
treea5951697be11d2e317fc131acfdd937561b4c067 /mysqlc
parenteae2e87ba4de1ae59779cbfc56109aa6c27fbc17 (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')
-rw-r--r--mysqlc/source/mysqlc_driver.cxx1
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 );
}