From f4aaa487d7e90c8f4e8ccfcf80adb69904cffdd6 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Tue, 1 Mar 2011 19:06:55 +0100 Subject: Move DBG_ERROR to OSL_FAIL --- sd/source/ui/func/fuconrec.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sd/source/ui/func/fuconrec.cxx') diff --git a/sd/source/ui/func/fuconrec.cxx b/sd/source/ui/func/fuconrec.cxx index 37d541e7a353..d8b0b23abd89 100644 --- a/sd/source/ui/func/fuconrec.cxx +++ b/sd/source/ui/func/fuconrec.cxx @@ -903,7 +903,7 @@ SdrObject* FuConstructRectangle::CreateDefaultObject(const sal_uInt16 nID, const } else { - DBG_ERROR("Object is NO line object"); + OSL_FAIL("Object is NO line object"); } break; @@ -919,7 +919,7 @@ SdrObject* FuConstructRectangle::CreateDefaultObject(const sal_uInt16 nID, const } else { - DBG_ERROR("Object is NO measure object"); + OSL_FAIL("Object is NO measure object"); } break; @@ -961,7 +961,7 @@ SdrObject* FuConstructRectangle::CreateDefaultObject(const sal_uInt16 nID, const } else { - DBG_ERROR("Object is NO connector object"); + OSL_FAIL("Object is NO connector object"); } break; @@ -993,7 +993,7 @@ SdrObject* FuConstructRectangle::CreateDefaultObject(const sal_uInt16 nID, const } else { - DBG_ERROR("Object is NO caption object"); + OSL_FAIL("Object is NO caption object"); } break; -- cgit