summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh3.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-01 19:05:02 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-02 14:58:56 +0100
commita6e69f8fcd017519c37be409097108da6a6fcb33 (patch)
tree5906fed0faf294ccc3cc54a77a878e7b91a16f31 /sc/source/ui/docshell/docsh3.cxx
parent775a632985975057f5fa6c196aaffcd0a05e617a (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'sc/source/ui/docshell/docsh3.cxx')
-rw-r--r--sc/source/ui/docshell/docsh3.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx
index 10081240b864..a9e79b46e86f 100644
--- a/sc/source/ui/docshell/docsh3.cxx
+++ b/sc/source/ui/docshell/docsh3.cxx
@@ -274,7 +274,7 @@ void ScDocShell::UnlockPaint_Impl(BOOL bDoc)
}
else
{
- DBG_ERROR("UnlockPaint ohne LockPaint");
+ OSL_FAIL("UnlockPaint ohne LockPaint");
}
}
@@ -347,7 +347,7 @@ void ScDocShell::UnlockDocument()
}
else
{
- DBG_ERROR("UnlockDocument without LockDocument");
+ OSL_FAIL("UnlockDocument without LockDocument");
}
}
@@ -407,7 +407,7 @@ void ScDocShell::CalcOutputFactor()
nPrtToScreenFactor = nPrinterWidth / (double) nWindowWidth;
else
{
- DBG_ERROR("GetTextSize gibt 0 ??");
+ OSL_FAIL("GetTextSize gibt 0 ??");
nPrtToScreenFactor = 1.0;
}
}
@@ -800,7 +800,7 @@ bool lcl_FindAction( ScDocument* pDoc, const ScChangeAction* pAction, ScDocument
pA->GetDescription( aADesc, pSearchDoc, TRUE );
if ( aActionDesc.Equals( aADesc ) )
{
- DBG_ERROR( "lcl_FindAction(): found equal action!" );
+ OSL_FAIL( "lcl_FindAction(): found equal action!" );
return true;
}
}
@@ -1064,7 +1064,7 @@ void ScDocShell::MergeDocument( ScDocument& rOtherDoc, bool bShared, bool bCheck
pViewSh->EnterData( aPos.Col(), aPos.Row(), aPos.Tab(), aValue );
break;
default:
- DBG_ERROR( "MergeDocument: unknown MatrixFlag" );
+ OSL_FAIL( "MergeDocument: unknown MatrixFlag" );
}
}
break;
@@ -1136,7 +1136,7 @@ void ScDocShell::MergeDocument( ScDocument& rOtherDoc, bool bShared, bool bCheck
pAct->SetComment( rComment );
#ifdef DBG_UTIL
else
- DBG_ERROR( "MergeDocument: wohin mit dem Kommentar?!?" );
+ OSL_FAIL( "MergeDocument: wohin mit dem Kommentar?!?" );
#endif
}