summaryrefslogtreecommitdiff
path: root/sd/source/ui/view
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-01 19:06:55 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-02 15:03:01 +0100
commitf4aaa487d7e90c8f4e8ccfcf80adb69904cffdd6 (patch)
tree6b70319ed584a13db025a28c05cde14ccd018758 /sd/source/ui/view
parent310a1740120521869af5b2d1503a14b5c138aed2 (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r--sd/source/ui/view/Outliner.cxx2
-rw-r--r--sd/source/ui/view/drviews2.cxx4
-rw-r--r--sd/source/ui/view/drviews4.cxx2
-rw-r--r--sd/source/ui/view/drviewsa.cxx2
-rw-r--r--sd/source/ui/view/drviewsc.cxx2
-rw-r--r--sd/source/ui/view/frmview.cxx4
-rw-r--r--sd/source/ui/view/sdview3.cxx2
7 files changed, 9 insertions, 9 deletions
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index 413d6cfb701c..3a00103479ef 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -221,7 +221,7 @@ Outliner::Outliner( SdDrawDocument* pDoc, USHORT nMode )
}
catch( ... )
{
- DBG_ERROR( "Ill. type in linguistic property" );
+ OSL_FAIL( "Ill. type in linguistic property" );
}
}
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index 3a0fb7245bc5..3c2dff7872c5 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -322,7 +322,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
}
else // nur zum Test
{
- DBG_ERROR(" Kein Wert fuer Silbentrennung!");
+ OSL_FAIL(" Kein Wert fuer Silbentrennung!");
SfxItemSet aSet( GetPool(), EE_PARA_HYPHENATE, EE_PARA_HYPHENATE );
BOOL bValue = TRUE;
aSet.Put( SfxBoolItem( EE_PARA_HYPHENATE, bValue ) );
@@ -611,7 +611,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
SFX_CALLMODE_ASYNCHRON | SFX_CALLMODE_RECORD );
break;
case SVX_ZOOM_PAGEWIDTH_NOBORDER:
- DBG_ERROR("sd::DrawViewShell::FuTemporary(), SVX_ZOOM_PAGEWIDTH_NOBORDER not handled!" );
+ OSL_FAIL("sd::DrawViewShell::FuTemporary(), SVX_ZOOM_PAGEWIDTH_NOBORDER not handled!" );
break;
}
rReq.Ignore ();
diff --git a/sd/source/ui/view/drviews4.cxx b/sd/source/ui/view/drviews4.cxx
index d797e089ba0b..34f547d21349 100644
--- a/sd/source/ui/view/drviews4.cxx
+++ b/sd/source/ui/view/drviews4.cxx
@@ -107,7 +107,7 @@ void DrawViewShell::DeleteActualPage()
}
catch( Exception& )
{
- DBG_ERROR("SelectionManager::DeleteSelectedMasterPages(), exception caught!");
+ OSL_FAIL("SelectionManager::DeleteSelectedMasterPages(), exception caught!");
}
}
diff --git a/sd/source/ui/view/drviewsa.cxx b/sd/source/ui/view/drviewsa.cxx
index 74d44088e69b..48f5d5b0c3d9 100644
--- a/sd/source/ui/view/drviewsa.cxx
+++ b/sd/source/ui/view/drviewsa.cxx
@@ -491,7 +491,7 @@ void DrawViewShell::CheckLineTo(SfxRequest& rReq)
{
if(SID_LINETO == rReq.GetSlot() || SID_BEZIERTO == rReq.GetSlot() || SID_MOVETO == rReq.GetSlot() )
{
- DBG_ERROR("DrawViewShell::CheckLineTo: slots SID_LINETO, SID_BEZIERTO, SID_MOVETO no longer supported.");
+ OSL_FAIL("DrawViewShell::CheckLineTo: slots SID_LINETO, SID_BEZIERTO, SID_MOVETO no longer supported.");
}
}
#endif
diff --git a/sd/source/ui/view/drviewsc.cxx b/sd/source/ui/view/drviewsc.cxx
index 95c98e7946a1..7540a9b4149b 100644
--- a/sd/source/ui/view/drviewsc.cxx
+++ b/sd/source/ui/view/drviewsc.cxx
@@ -920,7 +920,7 @@ USHORT DrawViewShell::GetArrayId( USHORT nSId )
if( mpSlotArray[ i ] == nSId )
return( i );
}
- DBG_ERROR( "Slot im Array nicht gefunden!" );
+ OSL_FAIL( "Slot im Array nicht gefunden!" );
return( USHRT_MAX );
}
diff --git a/sd/source/ui/view/frmview.cxx b/sd/source/ui/view/frmview.cxx
index 97cbc9718073..a79e6a7efa9d 100644
--- a/sd/source/ui/view/frmview.cxx
+++ b/sd/source/ui/view/frmview.cxx
@@ -466,7 +466,7 @@ static OUString createHelpLinesString( const SdrHelpLineList& rHelpLines )
aLines.append( (sal_Int32)rPos.Y() );
break;
default:
- DBG_ERROR( "Unsupported helpline Kind!" );
+ OSL_FAIL( "Unsupported helpline Kind!" );
}
}
@@ -584,7 +584,7 @@ static void createHelpLinesFromString( const rtl::OUString& rLines, SdrHelpLineL
aNewHelpLine.SetKind( SDRHELPLINE_HORIZONTAL );
break;
default:
- DBG_ERROR( "syntax error in snap lines settings string" );
+ OSL_FAIL( "syntax error in snap lines settings string" );
return;
}
diff --git a/sd/source/ui/view/sdview3.cxx b/sd/source/ui/view/sdview3.cxx
index a6aff823fd23..c9e2fc8904f8 100644
--- a/sd/source/ui/view/sdview3.cxx
+++ b/sd/source/ui/view/sdview3.cxx
@@ -676,7 +676,7 @@ BOOL View::InsertData( const TransferableDataHelper& rDataHelper,
if( pModel->GetPageCount() == 0 )
{
- DBG_ERROR("empty or invalid drawing xml document on clipboard!" );
+ OSL_FAIL("empty or invalid drawing xml document on clipboard!" );
}
else
{