summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 13:48:15 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 13:48:15 +1000
commitfb684bbd9d376ae5e3081c236f5d0775b5a93c03 (patch)
tree3eca6dd12fd32231e0490f4f9aae28203ffaf960 /reportdesign
parentfbf171d1adf3e260f6a93217e82a1b74cc4f670c (diff)
tdf#43157: convert oox module away from OSL_ASSERT to assert
Change-Id: Ia7b62b94190537236135548f7d1d22ea3dc360f2
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/core/sdr/RptObject.cxx4
-rw-r--r--reportdesign/source/ui/misc/UITools.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/reportdesign/source/core/sdr/RptObject.cxx b/reportdesign/source/core/sdr/RptObject.cxx
index b3dd2f550f2d..9dbbaf189a91 100644
--- a/reportdesign/source/core/sdr/RptObject.cxx
+++ b/reportdesign/source/core/sdr/RptObject.cxx
@@ -1109,7 +1109,7 @@ void OOle2Obj::impl_createDataProvider_nothrow(const uno::Reference< frame::XMod
uno::Reference< embed::XComponentSupplier > xCompSupp( xObj, uno::UNO_QUERY );
if( xCompSupp.is())
xReceiver.set( xCompSupp->getComponent(), uno::UNO_QUERY );
- OSL_ASSERT( xReceiver.is());
+ assert( xReceiver.is());
if( xReceiver.is() )
{
uno::Reference< lang::XMultiServiceFactory> xFac(_xModel,uno::UNO_QUERY);
@@ -1149,7 +1149,7 @@ void OOle2Obj::initializeChart( const uno::Reference< frame::XModel>& _xModel)
uno::Reference< embed::XComponentSupplier > xCompSupp( xObj, uno::UNO_QUERY );
if( xCompSupp.is())
xReceiver.set( xCompSupp->getComponent(), uno::UNO_QUERY );
- OSL_ASSERT( xReceiver.is());
+ assert( xReceiver.is());
if( xReceiver.is() )
{
// lock the model to suppress any internal updates
diff --git a/reportdesign/source/ui/misc/UITools.cxx b/reportdesign/source/ui/misc/UITools.cxx
index 0527ef79ca58..e61a0f93d805 100644
--- a/reportdesign/source/ui/misc/UITools.cxx
+++ b/reportdesign/source/ui/misc/UITools.cxx
@@ -696,7 +696,7 @@ bool openCharDialog( const uno::Reference<report::XReportControlFormat >& _rxRep
};
- OSL_ASSERT( pDefaults.size() == SAL_N_ELEMENTS(aItemInfos) );
+ assert( pDefaults.size() == SAL_N_ELEMENTS(aItemInfos) );
static const sal_uInt16 pRanges[] =
{