summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/kab/KDriver.cxx
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 /connectivity/source/drivers/kab/KDriver.cxx
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 'connectivity/source/drivers/kab/KDriver.cxx')
-rw-r--r--connectivity/source/drivers/kab/KDriver.cxx2
1 files changed, 1 insertions, 1 deletions
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;