summaryrefslogtreecommitdiff
path: root/sw/source/ui/utlui/viewlayoutctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/utlui/viewlayoutctrl.cxx')
-rw-r--r--sw/source/ui/utlui/viewlayoutctrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/utlui/viewlayoutctrl.cxx b/sw/source/ui/utlui/viewlayoutctrl.cxx
index b63c55b6ac..16ada1f26a 100644
--- a/sw/source/ui/utlui/viewlayoutctrl.cxx
+++ b/sw/source/ui/utlui/viewlayoutctrl.cxx
@@ -88,7 +88,7 @@ void SwViewLayoutControl::StateChanged( USHORT /*nSID*/, SfxItemState eState, co
GetStatusBar().SetItemText( GetId(), String() );
else
{
- DBG_ASSERT( pState->ISA( SvxViewLayoutItem ), "invalid item type" );
+ OSL_ENSURE( pState->ISA( SvxViewLayoutItem ), "invalid item type" );
const USHORT nColumns = static_cast<const SvxViewLayoutItem*>( pState )->GetValue();
const bool bBookMode = static_cast<const SvxViewLayoutItem*>( pState )->IsBookMode();