summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc/fuins2.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/drawfunc/fuins2.cxx
parent775a632985975057f5fa6c196aaffcd0a05e617a (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'sc/source/ui/drawfunc/fuins2.cxx')
-rw-r--r--sc/source/ui/drawfunc/fuins2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/drawfunc/fuins2.cxx b/sc/source/ui/drawfunc/fuins2.cxx
index 3df3e7b6b968..0efb433c071c 100644
--- a/sc/source/ui/drawfunc/fuins2.cxx
+++ b/sc/source/ui/drawfunc/fuins2.cxx
@@ -319,7 +319,7 @@ FuInsertOLE::FuInsertOLE(ScTabViewShell* pViewSh, Window* pWin, ScDrawView* pVie
}
else
{
- DBG_ERROR("Invalid URL!");
+ OSL_FAIL("Invalid URL!");
//! error message
//! can this happen???
}
@@ -654,7 +654,7 @@ FuInsertChart::FuInsertChart(ScTabViewShell* pViewSh, Window* pWin, ScDrawView*
}
else
{
- DBG_ERROR( "Could not create new table :-/" );
+ OSL_FAIL( "Could not create new table :-/" );
}
}
else if ( nToTable != pData->GetTabNo() )