summaryrefslogtreecommitdiff
path: root/xmlscript/source/xmldlg_imexp/imp_share.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlscript/source/xmldlg_imexp/imp_share.hxx')
-rw-r--r--xmlscript/source/xmldlg_imexp/imp_share.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlscript/source/xmldlg_imexp/imp_share.hxx b/xmlscript/source/xmldlg_imexp/imp_share.hxx
index 12fbd746b265..99350b79e9b6 100644
--- a/xmlscript/source/xmldlg_imexp/imp_share.hxx
+++ b/xmlscript/source/xmldlg_imexp/imp_share.hxx
@@ -164,7 +164,7 @@ public:
, _xDialogModelFactory( xDialogModel, css::uno::UNO_QUERY_THROW )
, XMLNS_DIALOGS_UID( 0 )
, XMLNS_SCRIPT_UID( 0 )
- { assert( _xDialogModel.is() && _xDialogModelFactory.is() &&
+ { OSL_ASSERT( _xDialogModel.is() && _xDialogModelFactory.is() &&
_xContext.is() ); }
DialogImport( const DialogImport& rOther ) :
::cppu::WeakImplHelper< css::xml::input::XRoot >()
@@ -380,7 +380,7 @@ public:
: _pImport( pImport ),
_xControlModel( xControlModel_ ),
_aId( id )
- { assert( _xControlModel.is() ); }
+ { OSL_ASSERT( _xControlModel.is() ); }
const css::uno::Reference< css::beans::XPropertySet >& getControlModel() const
{ return _xControlModel; }