summaryrefslogtreecommitdiff
path: root/svx/source/items/drawitem.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-05-10 13:50:18 +0000
committerKurt Zenker <kz@openoffice.org>2007-05-10 13:50:18 +0000
commit612d039e61803bf1dea1955e8966d429bd8b5e39 (patch)
tree20f162ba2da4a561dc72eb65fd39080426b3c883 /svx/source/items/drawitem.cxx
parentd0fc2c8c57709a3ee0eefcfb3bc880ae0468e444 (diff)
INTEGRATION: CWS pchfix04 (1.7.24); FILE MERGED
2007/02/05 12:14:03 os 1.7.24.1: #i73604# usage of ITEMID_* removed
Diffstat (limited to 'svx/source/items/drawitem.cxx')
-rw-r--r--svx/source/items/drawitem.cxx22
1 files changed, 8 insertions, 14 deletions
diff --git a/svx/source/items/drawitem.cxx b/svx/source/items/drawitem.cxx
index 38f2a4ded3c5..0823bdd29c26 100644
--- a/svx/source/items/drawitem.cxx
+++ b/svx/source/items/drawitem.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: drawitem.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: vg $ $Date: 2006-11-21 17:09:51 $
+ * last change: $Author: kz $ $Date: 2007-05-10 14:50:18 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -40,12 +40,6 @@
#include "svxids.hrc"
-#define ITEMID_COLOR_TABLE SID_COLOR_TABLE
-#define ITEMID_GRADIENT_LIST SID_GRADIENT_LIST
-#define ITEMID_HATCH_LIST SID_HATCH_LIST
-#define ITEMID_BITMAP_LIST SID_BITMAP_LIST
-#define ITEMID_DASH_LIST SID_DASH_LIST
-#define ITEMID_LINEEND_LIST SID_LINEEND_LIST
#include "xoutx.hxx"
#include "drawitem.hxx"
@@ -55,12 +49,12 @@ using namespace ::com::sun::star;
// -----------------------------------------------------------------------
-TYPEINIT1_AUTOFACTORY( SvxColorTableItem, SfxPoolItem );
-TYPEINIT1_AUTOFACTORY( SvxGradientListItem, SfxPoolItem );
-TYPEINIT1_AUTOFACTORY( SvxHatchListItem, SfxPoolItem );
-TYPEINIT1_AUTOFACTORY( SvxBitmapListItem, SfxPoolItem );
-TYPEINIT1_AUTOFACTORY( SvxDashListItem, SfxPoolItem );
-TYPEINIT1_AUTOFACTORY( SvxLineEndListItem, SfxPoolItem );
+TYPEINIT1_FACTORY( SvxColorTableItem, SfxPoolItem , new SvxColorTableItem);
+TYPEINIT1_FACTORY( SvxGradientListItem, SfxPoolItem , new SvxGradientListItem);
+TYPEINIT1_FACTORY( SvxHatchListItem, SfxPoolItem , new SvxHatchListItem);
+TYPEINIT1_FACTORY( SvxBitmapListItem, SfxPoolItem , new SvxBitmapListItem);
+TYPEINIT1_FACTORY( SvxDashListItem, SfxPoolItem , new SvxDashListItem);
+TYPEINIT1_FACTORY( SvxLineEndListItem, SfxPoolItem , new SvxLineEndListItem);
//==================================================================
//