summaryrefslogtreecommitdiff
path: root/sw/source/ui/web
diff options
context:
space:
mode:
authorJacek Wolszczak <shutdownrunner@gmail.com>2010-10-24 23:48:32 +0200
committerJan Holesovsky <kendy@suse.cz>2010-10-24 23:48:32 +0200
commit77bd3d37dd1027e8b8d67c973abb748e777ab6d1 (patch)
tree0ce1764db571b2448560234b04f3d46640610d4d /sw/source/ui/web
parent88b663b7317ef1c6239c9e5ca52b1a9ec14f1993 (diff)
DBG_* -> OSL_ENSURE cleanup, few German -> English translations.
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);
}