summaryrefslogtreecommitdiff
path: root/svx/source/items/viewlayoutitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/items/viewlayoutitem.cxx')
-rw-r--r--svx/source/items/viewlayoutitem.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/items/viewlayoutitem.cxx b/svx/source/items/viewlayoutitem.cxx
index 7c6cde664c92..ea349097cd44 100644
--- a/svx/source/items/viewlayoutitem.cxx
+++ b/svx/source/items/viewlayoutitem.cxx
@@ -26,7 +26,8 @@
#include <osl/diagnose.h>
-TYPEINIT1_FACTORY(SvxViewLayoutItem,SfxUInt16Item, new SvxViewLayoutItem);
+
+SfxPoolItem* SvxViewLayoutItem::CreateDefault() { return new SvxViewLayoutItem; }
#define VIEWLAYOUT_PARAM_COLUMNS "Columns"
#define VIEWLAYOUT_PARAM_BOOKMODE "BookMode"