summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-05-10 13:53:07 +0000
committerKurt Zenker <kz@openoffice.org>2007-05-10 13:53:07 +0000
commit0c6cc26999ca05b125af9ab80037b8d4f0ecfd89 (patch)
tree842cefc9729b491ec0d5fe5f9b1d644c36fe7e97
parentbf3090874b2ecdd28c35fd82fab7c0a344c4bfe5 (diff)
INTEGRATION: CWS pchfix04 (1.5.124); FILE MERGED
2007/02/05 12:14:05 os 1.5.124.1: #i73604# usage of ITEMID_* removed
-rw-r--r--svx/source/items/postattr.cxx14
1 files changed, 5 insertions, 9 deletions
diff --git a/svx/source/items/postattr.cxx b/svx/source/items/postattr.cxx
index fe9c92331608..65eda60603e9 100644
--- a/svx/source/items/postattr.cxx
+++ b/svx/source/items/postattr.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: postattr.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 05:22:38 $
+ * last change: $Author: kz $ $Date: 2007-05-10 14:53:07 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -39,18 +39,14 @@
// include ---------------------------------------------------------------
#define _SVX_POSTATTR_CXX
-#define ITEMID_AUTHOR 0
-#define ITEMID_DATE 0
-#define ITEMID_TEXT 0
-
#include "postattr.hxx"
#include "itemtype.hxx"
// -----------------------------------------------------------------------
-TYPEINIT1_AUTOFACTORY(SvxPostItAuthorItem, SfxStringItem);
-TYPEINIT1_AUTOFACTORY(SvxPostItDateItem, SfxStringItem);
-TYPEINIT1_AUTOFACTORY(SvxPostItTextItem, SfxStringItem);
+TYPEINIT1_FACTORY(SvxPostItAuthorItem, SfxStringItem, new SvxPostItAuthorItem(0));
+TYPEINIT1_FACTORY(SvxPostItDateItem, SfxStringItem, new SvxPostItDateItem(0));
+TYPEINIT1_FACTORY(SvxPostItTextItem, SfxStringItem, new SvxPostItTextItem(0));
// class SvxPostItAuthorItem ---------------------------------------------