[Libreoffice-commits] core.git: mysqlc/source
Stephan Bergmann
sbergman at redhat.com
Mon Apr 7 04:39:37 PDT 2014
mysqlc/source/mysqlc_driver.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit b154c61766b5a5e3f597bad63d799912e5950a02
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Apr 7 13:36:33 2014 +0200
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
diff --git a/mysqlc/source/mysqlc_driver.cxx b/mysqlc/source/mysqlc_driver.cxx
index 21befa0..1d35539 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 );
}
More information about the Libreoffice-commits
mailing list