Kaydet (Commit) f582d978 authored tarafından Michael Stahl's avatar Michael Stahl

editeng: deploy an assert for the default items

Change-Id: Ifc85d682377bb1a3a34e6d49767cbfbe6521c388
üst 305ecd18
......@@ -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],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment