summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdorect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdorect.cxx')
-rw-r--r--svx/source/svdraw/svdorect.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdorect.cxx b/svx/source/svdraw/svdorect.cxx
index 576800fdbe19..115b3a7adf27 100644
--- a/svx/source/svdraw/svdorect.cxx
+++ b/svx/source/svdraw/svdorect.cxx
@@ -84,7 +84,7 @@ SdrRectObj::SdrRectObj(
: SdrTextObj(rSdrModel, eNewTextKind),
mpXPoly(nullptr)
{
- DBG_ASSERT(eTextKind==OBJ_TEXT || eTextKind==OBJ_TEXTEXT ||
+ DBG_ASSERT(eTextKind==OBJ_TEXT ||
eTextKind==OBJ_OUTLINETEXT || eTextKind==OBJ_TITLETEXT,
"SdrRectObj::SdrRectObj(SdrObjKind) can only be applied to text frames.");
bClosedObj=true;
@@ -97,7 +97,7 @@ SdrRectObj::SdrRectObj(
: SdrTextObj(rSdrModel, eNewTextKind, rRect),
mpXPoly(nullptr)
{
- DBG_ASSERT(eTextKind==OBJ_TEXT || eTextKind==OBJ_TEXTEXT ||
+ DBG_ASSERT(eTextKind==OBJ_TEXT ||
eTextKind==OBJ_OUTLINETEXT || eTextKind==OBJ_TITLETEXT,
"SdrRectObj::SdrRectObj(SdrObjKind,...) can only be applied to text frames.");
bClosedObj=true;