summaryrefslogtreecommitdiff
path: root/sw/source/ui/web
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/web')
-rw-r--r--sw/source/ui/web/wdocsh.cxx2
-rw-r--r--sw/source/ui/web/wview.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/web/wdocsh.cxx b/sw/source/ui/web/wdocsh.cxx
index 27672eb198cf..00b761accd1c 100644
--- a/sw/source/ui/web/wdocsh.cxx
+++ b/sw/source/ui/web/wdocsh.cxx
@@ -92,7 +92,7 @@ void SwWebDocShell::FillClass( SvGlobalName * pClassName,
sal_Bool bTemplate /* = sal_False */) const
{
(void)bTemplate;
- DBG_ASSERT( bTemplate == sal_False, "No template for Writer Web" );
+ OSL_ENSURE( bTemplate == sal_False, "No template for Writer Web" );
if (nVersion == SOFFICE_FILEFORMAT_60)
{
diff --git a/sw/source/ui/web/wview.cxx b/sw/source/ui/web/wview.cxx
index 1ea26b4aa43c..e5a0b4e972d5 100644
--- a/sw/source/ui/web/wview.cxx
+++ b/sw/source/ui/web/wview.cxx
@@ -184,7 +184,7 @@ void SwWebView::SelectShell()
break;
}
pSfxShell = rDispatcher.GetShell( --i );
- ASSERT( pSfxShell, "My Shell ist lost in space" );
+ OSL_ENSURE( pSfxShell, "My Shell ist lost in space" );
rDispatcher.Pop( *pSfxShell, SFX_SHELL_POP_UNTIL | SFX_SHELL_POP_DELETE);
}