From 453ee351f32494b1f30b477069cc7a1834352377 Mon Sep 17 00:00:00 2001 From: Michaël Lefèvre Date: Fri, 4 Apr 2014 00:13:31 +0200 Subject: fdo#43157 : clean up more OSL_POSTCOND MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iaca31b4e12c258b762b3d88fbad0fb08b4f1fc16 Reviewed-on: https://gerrit.libreoffice.org/8832 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- mysqlc/source/mysqlc_driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mysqlc') diff --git a/mysqlc/source/mysqlc_driver.cxx b/mysqlc/source/mysqlc_driver.cxx index 850d47fd6be8..21befa07f0a9 100644 --- a/mysqlc/source/mysqlc_driver.cxx +++ b/mysqlc/source/mysqlc_driver.cxx @@ -217,7 +217,7 @@ Reference< XConnection > SAL_CALL MysqlCDriver::connect(const OUString& url, con if ( !cppDriver ) { impl_initCppConn_lck_throw(); - OSL_POSTCOND( cppDriver, "MySQLCDriver::connect: internal error." ); + SAL_WARN_IF( !cppDriver, "mysqlc", "MySQLCDriver::connect: internal error." ); if ( !cppDriver ) throw RuntimeException("MySQLCDriver::connect: internal error.", *this ); } -- cgit v1.2.3