diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-08-29 14:03:52 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-08-29 19:18:42 +0200 |
commit | f582d9789c15934a65abff36e3c4af107dacc347 (patch) | |
tree | bd177b8e9b866d2cb19badbd40d2242584155d6a /editeng/source | |
parent | 305ecd1848a802a6c43ecc6e76f4c6bc36a03418 (diff) |
editeng: deploy an assert for the default items
Change-Id: Ifc85d682377bb1a3a34e6d49767cbfbe6521c388
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/editeng/eerdll.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/eerdll.cxx b/editeng/source/editeng/eerdll.cxx index b3170645961d..781e6c8a34ef 100644 --- a/editeng/source/editeng/eerdll.cxx +++ b/editeng/source/editeng/eerdll.cxx @@ -163,7 +163,7 @@ SfxPoolItem** GlobalEditData::GetDefItems() ppDefItems[53] = new SvxCharSetColorItem( Color( COL_RED ), RTL_TEXTENCODING_DONTKNOW, EE_FEATURE_NOTCONV ); ppDefItems[54] = new SvxFieldItem( SvxFieldData(), EE_FEATURE_FIELD ); - DBG_ASSERT( EDITITEMCOUNT == 55, "ITEMCOUNT geaendert, DefItems nicht angepasst!" ); + assert(EDITITEMCOUNT == 55 && "ITEMCOUNT changed, adjust DefItems!"); // Init DefFonts: GetDefaultFonts( *(SvxFontItem*)ppDefItems[EE_CHAR_FONTINFO - EE_ITEMS_START], |