summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/zoom.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/dialogs/zoom.cxx')
-rw-r--r--cui/source/dialogs/zoom.cxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/cui/source/dialogs/zoom.cxx b/cui/source/dialogs/zoom.cxx
index 38a03773c7f7..42eda26ff2ff 100644
--- a/cui/source/dialogs/zoom.cxx
+++ b/cui/source/dialogs/zoom.cxx
@@ -26,9 +26,6 @@
*
************************************************************************/
-// MARKER(update_precomp.py): autogen include statement, do not remove
-#include "precompiled_cui.hxx"
-
// include ---------------------------------------------------------------
#include <tools/shl.hxx>
@@ -142,7 +139,7 @@ void SvxZoomDialog::SetButtonText( USHORT nBtnId, const String& rNewTxt )
break;
default:
- DBG_ERROR( "wrong button number" );
+ OSL_FAIL( "wrong button number" );
}
}
@@ -165,7 +162,7 @@ void SvxZoomDialog::HideButton( USHORT nBtnId )
break;
default:
- DBG_ERROR( "Falsche Button-Nummer!!!" );
+ OSL_FAIL( "Falsche Button-Nummer!!!" );
}
}
@@ -427,7 +424,7 @@ IMPL_LINK( SvxZoomDialog, ViewLayoutUserHdl, RadioButton *, pBtn )
}
else
{
- DBG_ERROR( "Wrong Button" );
+ OSL_FAIL( "Wrong Button" );
return 0;
}
@@ -509,7 +506,7 @@ IMPL_LINK( SvxZoomDialog, OKHdl, Button *, pBtn )
}
else
{
- DBG_ERROR( "Wrong Button" );
+ OSL_FAIL( "Wrong Button" );
return 0;
}
pOutSet = new SfxItemSet( rSet );