summaryrefslogtreecommitdiff
path: root/dbaccess/source/core/api/TableDeco.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/core/api/TableDeco.cxx')
-rw-r--r--dbaccess/source/core/api/TableDeco.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/dbaccess/source/core/api/TableDeco.cxx b/dbaccess/source/core/api/TableDeco.cxx
index 0c3265e6b4f9..296171f7208c 100644
--- a/dbaccess/source/core/api/TableDeco.cxx
+++ b/dbaccess/source/core/api/TableDeco.cxx
@@ -35,6 +35,7 @@
#include "core_resource.hxx"
#include "core_resource.hrc"
#include <tools/debug.hxx>
+#include <osl/diagnose.h>
#include <cppuhelper/typeprovider.hxx>
#include <comphelper/enumhelper.hxx>
@@ -571,7 +572,7 @@ Reference< XPropertySet > SAL_CALL ODBTableDecorator::createDataDescriptor( ) t
::connectivity::checkDisposed(OTableDescriptor_BASE::rBHelper.bDisposed);
Reference< XDataDescriptorFactory > xFactory( m_xTable, UNO_QUERY );
- DBG_ASSERT( xFactory.is(), "ODBTableDecorator::createDataDescriptor: invalid table!" );
+ OSL_ENSURE( xFactory.is(), "ODBTableDecorator::createDataDescriptor: invalid table!" );
Reference< XColumnsSupplier > xColsSupp;
if ( xFactory.is() )
xColsSupp = xColsSupp.query( xFactory->createDataDescriptor() );