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 --- connectivity/source/drivers/kab/KDriver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'connectivity/source/drivers/kab/KDriver.cxx') diff --git a/connectivity/source/drivers/kab/KDriver.cxx b/connectivity/source/drivers/kab/KDriver.cxx index a4ef7cae3363..b023eaa1136f 100644 --- a/connectivity/source/drivers/kab/KDriver.cxx +++ b/connectivity/source/drivers/kab/KDriver.cxx @@ -379,7 +379,7 @@ Reference< XConnection > SAL_CALL KabDriver::connect( const OUString& url, const // create a new connection with the given properties and append it to our vector KabConnection* pConnection = m_aImplModule.createConnection( this ); - OSL_POSTCOND( pConnection, "KabDriver::connect: no connection has been created by the factory!" ); + SAL_WARN_IF( !pConnection, "connectivity.kab", "KabDriver::connect: no connection has been created by the factory!" ); // by definition, the factory function returned an object which was acquired once Reference< XConnection > xConnection = pConnection; -- cgit