summaryrefslogtreecommitdiff
path: root/mysqlc
diff options
context:
space:
mode:
authorMichaël Lefèvre <lefevre00@yahoo.fr>2014-04-04 00:13:31 +0200
committerCaolán McNamara <caolanm@redhat.com>2014-04-04 07:23:43 -0500
commit453ee351f32494b1f30b477069cc7a1834352377 (patch)
tree2e5fc2a57d2a2f3eb839e929cae42d7d61451e05 /mysqlc
parent4da62012fea1796c1fed5bb2d87a353d1be79ea5 (diff)
fdo#43157 : clean up more OSL_POSTCOND
Change-Id: Iaca31b4e12c258b762b3d88fbad0fb08b4f1fc16 Reviewed-on: https://gerrit.libreoffice.org/8832 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'mysqlc')
-rw-r--r--mysqlc/source/mysqlc_driver.cxx2
1 files changed, 1 insertions, 1 deletions
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 );
}