diff options
Diffstat (limited to 'svx/source/dialog/rulritem.cxx')
-rw-r--r-- | svx/source/dialog/rulritem.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/dialog/rulritem.cxx b/svx/source/dialog/rulritem.cxx index a7b381ad2a12..502eeb98d95c 100644 --- a/svx/source/dialog/rulritem.cxx +++ b/svx/source/dialog/rulritem.cxx @@ -25,11 +25,11 @@ #include <com/sun/star/frame/status/LeftRightMargin.hpp> #include <com/sun/star/frame/status/UpperLowerMargin.hpp> -TYPEINIT1_AUTOFACTORY(SvxPagePosSizeItem, SfxPoolItem); -TYPEINIT1_AUTOFACTORY(SvxLongLRSpaceItem, SfxPoolItem); -TYPEINIT1_AUTOFACTORY(SvxLongULSpaceItem, SfxPoolItem); -TYPEINIT1(SvxColumnItem, SfxPoolItem); -TYPEINIT1(SvxObjectItem, SfxPoolItem); +SfxPoolItem* SvxPagePosSizeItem::CreateDefault() { return new SvxPagePosSizeItem; } +SfxPoolItem* SvxLongLRSpaceItem::CreateDefault() { return new SvxLongLRSpaceItem; } +SfxPoolItem* SvxLongULSpaceItem::CreateDefault() { return new SvxLongULSpaceItem; } +SfxPoolItem* SvxColumnItem::CreateDefault() { return new SvxColumnItem; } +SfxPoolItem* SvxObjectItem::CreateDefault() { DBG_ASSERT(false, "No SvxObjectItem factory available"); return 0; } /* SvxLongLRSpaceItem */ |