diff options
author | Oliver Specht <oliver.specht@cib.de> | 2015-11-07 14:43:19 +0100 |
---|---|---|
committer | Oliver Specht <oliver.specht@cib.de> | 2015-11-11 10:49:30 +0000 |
commit | fa91dd31f39a24329d288d4e1cda28db3a16af0d (patch) | |
tree | 603d7c206ac0ec1f1a08cc9f3bf8835bd8d2fb2f /include/editeng | |
parent | tdf#93243 replace boost::bind with c++11 lambdas in vcl/source tree (diff) | |
download | core-fa91dd31f39a24329d288d4e1cda28db3a16af0d.tar.gz core-fa91dd31f39a24329d288d4e1cda28db3a16af0d.zip |
5th step to remove tools/rtti.hxx
tools/rtti.hxx removed
completed the interface of some Sdr.* Items
and removed pseudo items
Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a
Reviewed-on: https://gerrit.libreoffice.org/19837
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Diffstat (limited to 'include/editeng')
67 files changed, 68 insertions, 74 deletions
diff --git a/include/editeng/adjustitem.hxx b/include/editeng/adjustitem.hxx index d7e46488cbac..b55e52af21dc 100644 --- a/include/editeng/adjustitem.hxx +++ b/include/editeng/adjustitem.hxx @@ -47,7 +47,7 @@ class EDITENG_DLLPUBLIC SvxAdjustItem : public SfxEnumItemInterface bool bLastBlock : 1; public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxAdjustItem( const SvxAdjust eAdjst /*= SVX_ADJUST_LEFT*/, const sal_uInt16 nId ); diff --git a/include/editeng/autokernitem.hxx b/include/editeng/autokernitem.hxx index 67830a704d26..26231e7b58a2 100644 --- a/include/editeng/autokernitem.hxx +++ b/include/editeng/autokernitem.hxx @@ -34,7 +34,7 @@ class SvXMLUnitConverter; class EDITENG_DLLPUBLIC SvxAutoKernItem : public SfxBoolItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxAutoKernItem( const bool bAutoKern /*= false*/, const sal_uInt16 nId ); diff --git a/include/editeng/blinkitem.hxx b/include/editeng/blinkitem.hxx index 8bd272377ded..2df566fa293f 100644 --- a/include/editeng/blinkitem.hxx +++ b/include/editeng/blinkitem.hxx @@ -35,7 +35,7 @@ class SvXMLUnitConverter; class EDITENG_DLLPUBLIC SvxBlinkItem : public SfxBoolItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxBlinkItem( const bool bBlink /*= false*/, const sal_uInt16 nId ); diff --git a/include/editeng/boxitem.hxx b/include/editeng/boxitem.hxx index 763ed0899745..7b1efd8de332 100644 --- a/include/editeng/boxitem.hxx +++ b/include/editeng/boxitem.hxx @@ -62,7 +62,7 @@ class EDITENG_DLLPUBLIC SvxBoxItem : public SfxPoolItem nRightDist; public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit SvxBoxItem( const sal_uInt16 nId ); SvxBoxItem( const SvxBoxItem &rCpy ); @@ -174,7 +174,7 @@ class EDITENG_DLLPUBLIC SvxBoxInfoItem : public SfxPoolItem sal_uInt16 nDefDist; // The default or minimum distance. public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit SvxBoxInfoItem( const sal_uInt16 nId ); SvxBoxInfoItem( const SvxBoxInfoItem &rCpy ); diff --git a/include/editeng/brushitem.hxx b/include/editeng/brushitem.hxx index a6909f546cc2..85ca68af1f56 100644 --- a/include/editeng/brushitem.hxx +++ b/include/editeng/brushitem.hxx @@ -58,7 +58,7 @@ class EDITENG_DLLPUBLIC SvxBrushItem : public SfxPoolItem sal_uInt16 nVersion, sal_uInt16 nWhich ); public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit SvxBrushItem( sal_uInt16 nWhich ); SvxBrushItem( const Color& rColor, sal_uInt16 nWhich ); diff --git a/include/editeng/bulletitem.hxx b/include/editeng/bulletitem.hxx index 79929d402c40..31abbc91e2fb 100644 --- a/include/editeng/bulletitem.hxx +++ b/include/editeng/bulletitem.hxx @@ -56,7 +56,7 @@ class EDITENG_DLLPUBLIC SvxBulletItem : public SfxPoolItem void SetDefaults_Impl(); public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit SvxBulletItem( sal_uInt16 nWhich = 0 ); explicit SvxBulletItem( SvStream& rStrm, sal_uInt16 nWhich = 0 ); diff --git a/include/editeng/charhiddenitem.hxx b/include/editeng/charhiddenitem.hxx index a735aea3641a..728c0faf20aa 100644 --- a/include/editeng/charhiddenitem.hxx +++ b/include/editeng/charhiddenitem.hxx @@ -32,7 +32,7 @@ class EDITENG_DLLPUBLIC SvxCharHiddenItem : public SfxBoolItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxCharHiddenItem( const bool bHidden /*= false*/, const sal_uInt16 nId ); diff --git a/include/editeng/charreliefitem.hxx b/include/editeng/charreliefitem.hxx index 34f39caa4f65..6a01f71326bb 100644 --- a/include/editeng/charreliefitem.hxx +++ b/include/editeng/charreliefitem.hxx @@ -34,7 +34,7 @@ class EDITENG_DLLPUBLIC SvxCharReliefItem : public SfxEnumItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxCharReliefItem( FontRelief eValue /*= RELIEF_NONE*/, const sal_uInt16 nId ); diff --git a/include/editeng/charrotateitem.hxx b/include/editeng/charrotateitem.hxx index 74a90b50dae5..eaea31871891 100644 --- a/include/editeng/charrotateitem.hxx +++ b/include/editeng/charrotateitem.hxx @@ -37,7 +37,7 @@ class EDITENG_DLLPUBLIC SvxCharRotateItem : public SfxUInt16Item { bool bFitToLine; public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxCharRotateItem( sal_uInt16 nValue /*= 0*/, bool bFitIntoLine /*= false*/, diff --git a/include/editeng/charscaleitem.hxx b/include/editeng/charscaleitem.hxx index 289d4d63ed4e..1cbaf684862a 100644 --- a/include/editeng/charscaleitem.hxx +++ b/include/editeng/charscaleitem.hxx @@ -35,7 +35,7 @@ class EDITENG_DLLPUBLIC SvxCharScaleWidthItem : public SfxUInt16Item { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxCharScaleWidthItem( sal_uInt16 nValue /*= 100*/, const sal_uInt16 nId ); diff --git a/include/editeng/charsetcoloritem.hxx b/include/editeng/charsetcoloritem.hxx index ebb8994378b4..f949c1324830 100644 --- a/include/editeng/charsetcoloritem.hxx +++ b/include/editeng/charsetcoloritem.hxx @@ -34,7 +34,7 @@ class EDITENG_DLLPUBLIC SvxCharSetColorItem : public SvxColorItem { rtl_TextEncoding eFrom; public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit SvxCharSetColorItem( const sal_uInt16 nId ); SvxCharSetColorItem( const Color& aColor, const rtl_TextEncoding eFrom, diff --git a/include/editeng/cmapitem.hxx b/include/editeng/cmapitem.hxx index 942cb2586c9a..3d8087419524 100644 --- a/include/editeng/cmapitem.hxx +++ b/include/editeng/cmapitem.hxx @@ -35,7 +35,7 @@ class SvXMLUnitConverter; class EDITENG_DLLPUBLIC SvxCaseMapItem : public SfxEnumItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxCaseMapItem( const SvxCaseMap eMap /*= SVX_CASEMAP_NOT_MAPPED*/, const sal_uInt16 nId ); diff --git a/include/editeng/colritem.hxx b/include/editeng/colritem.hxx index 828c58ea589b..c91429ea49b1 100644 --- a/include/editeng/colritem.hxx +++ b/include/editeng/colritem.hxx @@ -35,7 +35,7 @@ private: Color mColor; public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit SvxColorItem(const sal_uInt16 nId); SvxColorItem(const Color& aColor, const sal_uInt16 nId); @@ -74,7 +74,7 @@ public: class EDITENG_DLLPUBLIC SvxBackgroundColorItem : public SvxColorItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxBackgroundColorItem(const sal_uInt16 nId); SvxBackgroundColorItem(const Color& rCol, const sal_uInt16 nId); diff --git a/include/editeng/contouritem.hxx b/include/editeng/contouritem.hxx index 4837c7023251..6ea0d5cc9d98 100644 --- a/include/editeng/contouritem.hxx +++ b/include/editeng/contouritem.hxx @@ -31,7 +31,7 @@ class EDITENG_DLLPUBLIC SvxContourItem : public SfxBoolItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxContourItem( const bool bContoured /*= false*/, const sal_uInt16 nId ); diff --git a/include/editeng/crossedoutitem.hxx b/include/editeng/crossedoutitem.hxx index fc1737932acf..07ab74ce65d5 100644 --- a/include/editeng/crossedoutitem.hxx +++ b/include/editeng/crossedoutitem.hxx @@ -34,7 +34,7 @@ class SvXMLUnitConverter; class EDITENG_DLLPUBLIC SvxCrossedOutItem : public SfxEnumItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxCrossedOutItem( const FontStrikeout eSt /*= STRIKEOUT_NONE*/, const sal_uInt16 nId ); diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx index f60f826a19d5..11e120317576 100644 --- a/include/editeng/editeng.hxx +++ b/include/editeng/editeng.hxx @@ -34,7 +34,6 @@ #include <tools/lineend.hxx> #include <tools/link.hxx> -#include <tools/rtti.hxx> #include <editeng/eedata.hxx> #include <o3tl/typed_flags_set.hxx> diff --git a/include/editeng/emphasismarkitem.hxx b/include/editeng/emphasismarkitem.hxx index da936d7def91..2384aa4e688d 100644 --- a/include/editeng/emphasismarkitem.hxx +++ b/include/editeng/emphasismarkitem.hxx @@ -35,7 +35,7 @@ class SvXMLUnitConverter; class EDITENG_DLLPUBLIC SvxEmphasisMarkItem : public SfxUInt16Item { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxEmphasisMarkItem( const FontEmphasisMark eVal /*= EMPHASISMARK_NONE*/, const sal_uInt16 nId ); diff --git a/include/editeng/escapementitem.hxx b/include/editeng/escapementitem.hxx index 767af0af05c5..291a63d42e48 100644 --- a/include/editeng/escapementitem.hxx +++ b/include/editeng/escapementitem.hxx @@ -43,7 +43,7 @@ class EDITENG_DLLPUBLIC SvxEscapementItem : public SfxEnumItemInterface short nEsc; sal_uInt8 nProp; public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit SvxEscapementItem( const sal_uInt16 nId ); SvxEscapementItem( const SvxEscapement eEscape, diff --git a/include/editeng/fhgtitem.hxx b/include/editeng/fhgtitem.hxx index 7325fa02a156..cbd2a5fa0b09 100644 --- a/include/editeng/fhgtitem.hxx +++ b/include/editeng/fhgtitem.hxx @@ -42,7 +42,7 @@ class EDITENG_DLLPUBLIC SvxFontHeightItem : public SfxPoolItem sal_uInt16 nProp; // default 100% SfxMapUnit ePropUnit; // Percent, Twip, ... public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxFontHeightItem( const sal_uLong nSz /*= 240*/, const sal_uInt16 nPropHeight /*= 100*/, const sal_uInt16 nId ); diff --git a/include/editeng/flditem.hxx b/include/editeng/flditem.hxx index 25a59321176a..2dcaa0631043 100644 --- a/include/editeng/flditem.hxx +++ b/include/editeng/flditem.hxx @@ -73,7 +73,7 @@ private: EDITENG_DLLPRIVATE SvxFieldItem( SvxFieldData* pField, const sal_uInt16 nId ); public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxFieldItem( const SvxFieldData& rField, const sal_uInt16 nId ); SvxFieldItem( const SvxFieldItem& rItem ); diff --git a/include/editeng/flstitem.hxx b/include/editeng/flstitem.hxx index 6afb9aaba87c..f651e9bbb960 100644 --- a/include/editeng/flstitem.hxx +++ b/include/editeng/flstitem.hxx @@ -42,7 +42,7 @@ private: css::uno::Sequence< OUString > aFontNameSeq; public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxFontListItem( const FontList* pFontLst, const sal_uInt16 nId ); diff --git a/include/editeng/fontitem.hxx b/include/editeng/fontitem.hxx index e12c2b3d83ee..173a7b7747ac 100644 --- a/include/editeng/fontitem.hxx +++ b/include/editeng/fontitem.hxx @@ -39,7 +39,7 @@ class EDITENG_DLLPUBLIC SvxFontItem : public SfxPoolItem static bool bEnableStoreUnicodeNames; public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit SvxFontItem(const sal_uInt16 nId); SvxFontItem(const FontFamily eFam, const OUString& rFamilyName, diff --git a/include/editeng/forbiddenruleitem.hxx b/include/editeng/forbiddenruleitem.hxx index 9dedc00be0c0..00596ca2d06a 100644 --- a/include/editeng/forbiddenruleitem.hxx +++ b/include/editeng/forbiddenruleitem.hxx @@ -32,7 +32,7 @@ class EDITENG_DLLPUBLIC SvxForbiddenRuleItem : public SfxBoolItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxForbiddenRuleItem( bool bOn /*= false*/, const sal_uInt16 nId ); diff --git a/include/editeng/formatbreakitem.hxx b/include/editeng/formatbreakitem.hxx index b8ca73d63185..23f412c7b021 100644 --- a/include/editeng/formatbreakitem.hxx +++ b/include/editeng/formatbreakitem.hxx @@ -36,7 +36,7 @@ class EDITENG_DLLPUBLIC SvxFormatBreakItem : public SfxEnumItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); inline SvxFormatBreakItem( const SvxBreak eBrk /*= SVX_BREAK_NONE*/, const sal_uInt16 nWhich ); diff --git a/include/editeng/frmdiritem.hxx b/include/editeng/frmdiritem.hxx index a4917b31d079..c9a0d61848bb 100644 --- a/include/editeng/frmdiritem.hxx +++ b/include/editeng/frmdiritem.hxx @@ -35,7 +35,7 @@ class EDITENG_DLLPUBLIC SvxFrameDirectionItem : public SfxUInt16Item { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxFrameDirectionItem( SvxFrameDirection nValue /*= FRMDIR_HORI_LEFT_TOP*/, sal_uInt16 nWhich ); diff --git a/include/editeng/fwdtitem.hxx b/include/editeng/fwdtitem.hxx index 494662ae55ec..24525a869382 100644 --- a/include/editeng/fwdtitem.hxx +++ b/include/editeng/fwdtitem.hxx @@ -35,7 +35,7 @@ class SvxFontWidthItem : public SfxPoolItem sal_uInt16 nWidth; // 0 = default sal_uInt16 nProp; // default 100% public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxFontWidthItem( const sal_uInt16 nSz /*= 0*/, const sal_uInt16 nPropWidth /*= 100*/, diff --git a/include/editeng/hngpnctitem.hxx b/include/editeng/hngpnctitem.hxx index c03a29a4cd5c..608c4641723d 100644 --- a/include/editeng/hngpnctitem.hxx +++ b/include/editeng/hngpnctitem.hxx @@ -32,7 +32,7 @@ class EDITENG_DLLPUBLIC SvxHangingPunctuationItem : public SfxBoolItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxHangingPunctuationItem( bool bOn /*= false*/, const sal_uInt16 nId ); diff --git a/include/editeng/hyphenzoneitem.hxx b/include/editeng/hyphenzoneitem.hxx index 7f968f72a2e0..3be73a7cc3e4 100644 --- a/include/editeng/hyphenzoneitem.hxx +++ b/include/editeng/hyphenzoneitem.hxx @@ -41,7 +41,7 @@ class EDITENG_DLLPUBLIC SvxHyphenZoneItem : public SfxPoolItem sal_uInt8 nMaxHyphens; public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxHyphenZoneItem( const bool bHyph /*= false*/, const sal_uInt16 nId ); diff --git a/include/editeng/justifyitem.hxx b/include/editeng/justifyitem.hxx index 484df51ca67e..bbb5a702f633 100644 --- a/include/editeng/justifyitem.hxx +++ b/include/editeng/justifyitem.hxx @@ -28,7 +28,7 @@ class EDITENG_DLLPUBLIC SvxHorJustifyItem: public SfxEnumItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit SvxHorJustifyItem( const sal_uInt16 nId ); @@ -61,7 +61,7 @@ public: class EDITENG_DLLPUBLIC SvxVerJustifyItem: public SfxEnumItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit SvxVerJustifyItem( const sal_uInt16 nId ); diff --git a/include/editeng/keepitem.hxx b/include/editeng/keepitem.hxx index cdba89bc3523..257bfdd7b543 100644 --- a/include/editeng/keepitem.hxx +++ b/include/editeng/keepitem.hxx @@ -33,7 +33,7 @@ class EDITENG_DLLPUBLIC SvxFormatKeepItem : public SfxBoolItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); inline SvxFormatKeepItem( const bool bKeep /*= false*/, const sal_uInt16 _nWhich ); diff --git a/include/editeng/kernitem.hxx b/include/editeng/kernitem.hxx index e11cb7db8ab2..46581c67c2d3 100644 --- a/include/editeng/kernitem.hxx +++ b/include/editeng/kernitem.hxx @@ -37,7 +37,7 @@ class SvXMLUnitConverter; class EDITENG_DLLPUBLIC SvxKerningItem : public SfxInt16Item { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxKerningItem( const short nKern /*= 0*/, const sal_uInt16 nId ); diff --git a/include/editeng/langitem.hxx b/include/editeng/langitem.hxx index 192639be8581..61645937881d 100644 --- a/include/editeng/langitem.hxx +++ b/include/editeng/langitem.hxx @@ -35,7 +35,7 @@ class SvXMLUnitConverter; class EDITENG_DLLPUBLIC SvxLanguageItem : public SfxEnumItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxLanguageItem( const LanguageType eLang /*= LANGUAGE_GERMAN*/, const sal_uInt16 nId ); diff --git a/include/editeng/lcolitem.hxx b/include/editeng/lcolitem.hxx index e331e91ca7c7..968b85d070f0 100644 --- a/include/editeng/lcolitem.hxx +++ b/include/editeng/lcolitem.hxx @@ -30,7 +30,7 @@ class EDITENG_DLLPUBLIC SvxLineColorItem : public SvxColorItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit SvxLineColorItem( const sal_uInt16 nId ); SvxLineColorItem( const SvxLineColorItem& rCopy ); diff --git a/include/editeng/lineitem.hxx b/include/editeng/lineitem.hxx index 84b32282d436..70ebf75515fb 100644 --- a/include/editeng/lineitem.hxx +++ b/include/editeng/lineitem.hxx @@ -39,7 +39,7 @@ namespace editeng { class EDITENG_DLLPUBLIC SvxLineItem : public SfxPoolItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit SvxLineItem( const sal_uInt16 nId ); SvxLineItem( const SvxLineItem& rCpy ); diff --git a/include/editeng/lrspitem.hxx b/include/editeng/lrspitem.hxx index 0d39a7ef25ee..6dd5cc0d53b7 100644 --- a/include/editeng/lrspitem.hxx +++ b/include/editeng/lrspitem.hxx @@ -64,7 +64,7 @@ class EDITENG_DLLPUBLIC SvxLRSpaceItem : public SfxPoolItem public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit SvxLRSpaceItem( const sal_uInt16 nId ); SvxLRSpaceItem( const long nLeft, const long nRight, diff --git a/include/editeng/lspcitem.hxx b/include/editeng/lspcitem.hxx index dc09423254dd..da1fb3df6dc1 100644 --- a/include/editeng/lspcitem.hxx +++ b/include/editeng/lspcitem.hxx @@ -41,7 +41,7 @@ class EDITENG_DLLPUBLIC SvxLineSpacingItem : public SfxEnumItemInterface SvxInterLineSpace eInterLineSpace; public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); // The writer relies on a default height of 200! Actually, I would // initialize all values to 0, but who can ignore the consequences in diff --git a/include/editeng/nhypitem.hxx b/include/editeng/nhypitem.hxx index 5172c65e5b0e..ba67dcdc9a1a 100644 --- a/include/editeng/nhypitem.hxx +++ b/include/editeng/nhypitem.hxx @@ -26,7 +26,7 @@ class EDITENG_DLLPUBLIC SvxNoHyphenItem : public SfxBoolItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxNoHyphenItem( const bool bHyphen /*= true*/, const sal_uInt16 nId ); diff --git a/include/editeng/nlbkitem.hxx b/include/editeng/nlbkitem.hxx index 769df9863803..749874010c77 100644 --- a/include/editeng/nlbkitem.hxx +++ b/include/editeng/nlbkitem.hxx @@ -26,7 +26,7 @@ class EDITENG_DLLPUBLIC SvxNoLinebreakItem : public SfxBoolItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxNoLinebreakItem( const bool bBreak /*= true*/, const sal_uInt16 nId ); diff --git a/include/editeng/opaqitem.hxx b/include/editeng/opaqitem.hxx index a8b2de3ea2a0..986c77652dd6 100644 --- a/include/editeng/opaqitem.hxx +++ b/include/editeng/opaqitem.hxx @@ -35,7 +35,7 @@ class SvXMLUnitConverter; class EDITENG_DLLPUBLIC SvxOpaqueItem : public SfxBoolItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit SvxOpaqueItem( const sal_uInt16 nId , const bool bOpa = true ); inline SvxOpaqueItem &operator=( const SvxOpaqueItem &rCpy ); diff --git a/include/editeng/optitems.hxx b/include/editeng/optitems.hxx index 81a74bea7f8b..480b7782b9eb 100644 --- a/include/editeng/optitems.hxx +++ b/include/editeng/optitems.hxx @@ -35,7 +35,6 @@ namespace linguistic2{ class EDITENG_DLLPUBLIC SfxSpellCheckItem: public SfxPoolItem { public: - TYPEINFO_OVERRIDE(); SfxSpellCheckItem( css::uno::Reference< css::linguistic2::XSpellChecker1 > &xChecker, @@ -66,7 +65,6 @@ class EDITENG_DLLPUBLIC SfxHyphenRegionItem: public SfxPoolItem sal_uInt8 nMinTrail; public: - TYPEINFO_OVERRIDE(); SfxHyphenRegionItem( const sal_uInt16 nId ); SfxHyphenRegionItem( const SfxHyphenRegionItem& rItem ); diff --git a/include/editeng/orphitem.hxx b/include/editeng/orphitem.hxx index 0642a47722d6..ed6b0541f177 100644 --- a/include/editeng/orphitem.hxx +++ b/include/editeng/orphitem.hxx @@ -34,7 +34,7 @@ class SvXMLUnitConverter; class EDITENG_DLLPUBLIC SvxOrphansItem: public SfxByteItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxOrphansItem( const sal_uInt8 nL /*= 0*/, const sal_uInt16 nId ); diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index 632f60d46309..19ae9178d2e4 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -38,7 +38,6 @@ #include <svtools/grfmgr.hxx> -#include <tools/rtti.hxx> #define LOK_USE_UNSTABLE_API #include <LibreOfficeKit/LibreOfficeKitTypes.h> #include <vector> diff --git a/include/editeng/paravertalignitem.hxx b/include/editeng/paravertalignitem.hxx index f66dfeb3a982..2a8b25cdbbde 100644 --- a/include/editeng/paravertalignitem.hxx +++ b/include/editeng/paravertalignitem.hxx @@ -35,7 +35,7 @@ class EDITENG_DLLPUBLIC SvxParaVertAlignItem : public SfxUInt16Item { public: enum { AUTOMATIC, BASELINE, TOP, CENTER, BOTTOM }; - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxParaVertAlignItem( sal_uInt16 nValue /*= 0*/, const sal_uInt16 nId ); diff --git a/include/editeng/pbinitem.hxx b/include/editeng/pbinitem.hxx index 79a4105693fa..b439c99b5441 100644 --- a/include/editeng/pbinitem.hxx +++ b/include/editeng/pbinitem.hxx @@ -36,7 +36,7 @@ class EDITENG_DLLPUBLIC SvxPaperBinItem : public SfxByteItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit inline SvxPaperBinItem( const sal_uInt16 nId , const sal_uInt8 nTray = PAPERBIN_PRINTER_SETTINGS ); diff --git a/include/editeng/pgrditem.hxx b/include/editeng/pgrditem.hxx index 34089de2625f..4080532bab00 100644 --- a/include/editeng/pgrditem.hxx +++ b/include/editeng/pgrditem.hxx @@ -33,7 +33,7 @@ class EDITENG_DLLPUBLIC SvxParaGridItem : public SfxBoolItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxParaGridItem( const bool bSnapToGrid /*= true*/, const sal_uInt16 nId ); diff --git a/include/editeng/pmdlitem.hxx b/include/editeng/pmdlitem.hxx index 458ce78c09db..4a0e4ee69c80 100644 --- a/include/editeng/pmdlitem.hxx +++ b/include/editeng/pmdlitem.hxx @@ -35,7 +35,7 @@ private: bool bAuto; public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit inline SvxPageModelItem( sal_uInt16 nWh ); inline SvxPageModelItem( const OUString& rModel, bool bA /*= false*/, diff --git a/include/editeng/postitem.hxx b/include/editeng/postitem.hxx index 758df3b9a949..065aed5617f8 100644 --- a/include/editeng/postitem.hxx +++ b/include/editeng/postitem.hxx @@ -35,7 +35,7 @@ class SvXMLUnitConverter; class EDITENG_DLLPUBLIC SvxPostureItem : public SfxEnumItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxPostureItem( const FontItalic ePost /*= ITALIC_NONE*/, const sal_uInt16 nId ); diff --git a/include/editeng/prntitem.hxx b/include/editeng/prntitem.hxx index 9bd45c0b55c6..3e5447e111cd 100644 --- a/include/editeng/prntitem.hxx +++ b/include/editeng/prntitem.hxx @@ -36,7 +36,7 @@ class EDITENG_DLLPUBLIC SvxPrintItem : public SfxBoolItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit SvxPrintItem( const sal_uInt16 nId , const bool bPrt = true ); inline SvxPrintItem &operator=( const SvxPrintItem &rCpy ); diff --git a/include/editeng/protitem.hxx b/include/editeng/protitem.hxx index 7ce0b1c77aa0..da2772cce8f2 100644 --- a/include/editeng/protitem.hxx +++ b/include/editeng/protitem.hxx @@ -39,7 +39,7 @@ class EDITENG_DLLPUBLIC SvxProtectItem : public SfxPoolItem bool bPos :1; // Position protected public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit inline SvxProtectItem( const sal_uInt16 nId ); inline SvxProtectItem &operator=( const SvxProtectItem &rCpy ); diff --git a/include/editeng/prszitem.hxx b/include/editeng/prszitem.hxx index d825d5b40c94..c0a16f1bdd90 100644 --- a/include/editeng/prszitem.hxx +++ b/include/editeng/prszitem.hxx @@ -32,7 +32,7 @@ class EDITENG_DLLPUBLIC SvxPropSizeItem : public SfxUInt16Item { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxPropSizeItem( const sal_uInt16 nPercent /*= 100*/, const sal_uInt16 nID ); diff --git a/include/editeng/rsiditem.hxx b/include/editeng/rsiditem.hxx index 67f09aceab4b..ee21b7e9cd4f 100644 --- a/include/editeng/rsiditem.hxx +++ b/include/editeng/rsiditem.hxx @@ -19,7 +19,7 @@ class EDITENG_DLLPUBLIC SvxRsidItem : public SfxUInt32Item { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxRsidItem( sal_uInt32 nRsid, sal_uInt16 nId ) : SfxUInt32Item( nId, nRsid ) {} SvxRsidItem( SvStream& rIn, sal_uInt16 nId ) : SfxUInt32Item( nId, rIn ) {} diff --git a/include/editeng/scriptspaceitem.hxx b/include/editeng/scriptspaceitem.hxx index 21264ec5216d..0b6b6e00bc69 100644 --- a/include/editeng/scriptspaceitem.hxx +++ b/include/editeng/scriptspaceitem.hxx @@ -33,7 +33,7 @@ class EDITENG_DLLPUBLIC SvxScriptSpaceItem : public SfxBoolItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxScriptSpaceItem( bool bOn /*= false*/, const sal_uInt16 nId ); diff --git a/include/editeng/scripttypeitem.hxx b/include/editeng/scripttypeitem.hxx index 5e2bfcf7a0ae..c9e72a7efe0f 100644 --- a/include/editeng/scripttypeitem.hxx +++ b/include/editeng/scripttypeitem.hxx @@ -34,7 +34,7 @@ class EDITENG_DLLPUBLIC SvxScriptTypeItem : public SfxUInt16Item { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit SvxScriptTypeItem( SvtScriptType nType = SvtScriptType::LATIN ); virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; @@ -44,7 +44,7 @@ public: class EDITENG_DLLPUBLIC SvxScriptSetItem : public SfxSetItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxScriptSetItem( sal_uInt16 nSlotId, SfxItemPool& rPool ); diff --git a/include/editeng/shaditem.hxx b/include/editeng/shaditem.hxx index 1fde4bb53f8d..a4b6ff363960 100644 --- a/include/editeng/shaditem.hxx +++ b/include/editeng/shaditem.hxx @@ -39,7 +39,7 @@ class EDITENG_DLLPUBLIC SvxShadowItem : public SfxEnumItemInterface sal_uInt16 nWidth; SvxShadowLocation eLocation; public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit SvxShadowItem( const sal_uInt16 nId , const Color *pColor = nullptr, const sal_uInt16 nWidth = 100 /*5pt*/, diff --git a/include/editeng/shdditem.hxx b/include/editeng/shdditem.hxx index 01c649f756b1..b0ab85ec2ea7 100644 --- a/include/editeng/shdditem.hxx +++ b/include/editeng/shdditem.hxx @@ -34,7 +34,7 @@ class SvXMLUnitConverter; class EDITENG_DLLPUBLIC SvxShadowedItem : public SfxBoolItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxShadowedItem( const bool bShadowed /*= false*/, const sal_uInt16 nId ); diff --git a/include/editeng/sizeitem.hxx b/include/editeng/sizeitem.hxx index d4b4a0a17c85..1cd8a328660c 100644 --- a/include/editeng/sizeitem.hxx +++ b/include/editeng/sizeitem.hxx @@ -36,7 +36,7 @@ class EDITENG_DLLPUBLIC SvxSizeItem : public SfxPoolItem Size aSize; public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit SvxSizeItem( const sal_uInt16 nId ); SvxSizeItem( const sal_uInt16 nId, const Size& rSize); diff --git a/include/editeng/spltitem.hxx b/include/editeng/spltitem.hxx index 8726207bf418..02779c37e0d0 100644 --- a/include/editeng/spltitem.hxx +++ b/include/editeng/spltitem.hxx @@ -34,7 +34,7 @@ class SvXMLUnitConverter; class EDITENG_DLLPUBLIC SvxFormatSplitItem : public SfxBoolItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); virtual ~SvxFormatSplitItem(); inline SvxFormatSplitItem( const bool bSplit /*= true*/, diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx index 1a43725de8e0..9b0f05fe69c6 100644 --- a/include/editeng/svxacorr.hxx +++ b/include/editeng/svxacorr.hxx @@ -24,7 +24,6 @@ #include <o3tl/sorted_vector.hxx> #include <tools/ref.hxx> -#include <tools/rtti.hxx> #include <i18nlangtag/languagetag.hxx> #include <tools/time.hxx> #include <tools/date.hxx> diff --git a/include/editeng/tstpitem.hxx b/include/editeng/tstpitem.hxx index ad87a3d5eb27..d11b20f59ab6 100644 --- a/include/editeng/tstpitem.hxx +++ b/include/editeng/tstpitem.hxx @@ -101,7 +101,7 @@ class EDITENG_DLLPUBLIC SvxTabStopItem : public SfxPoolItem SvxTabStopArr maTabStops; public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit SvxTabStopItem( sal_uInt16 nWhich ); SvxTabStopItem( const sal_uInt16 nTabs, diff --git a/include/editeng/twolinesitem.hxx b/include/editeng/twolinesitem.hxx index a5ebd4b2a823..d0a3ebfacdb8 100644 --- a/include/editeng/twolinesitem.hxx +++ b/include/editeng/twolinesitem.hxx @@ -30,7 +30,7 @@ class EDITENG_DLLPUBLIC SvxTwoLinesItem : public SfxPoolItem sal_Unicode cStartBracket, cEndBracket; bool bOn; public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxTwoLinesItem( bool bOn /*= true*/, sal_Unicode nStartBracket /*= 0*/, sal_Unicode nEndBracket /*= 0*/, diff --git a/include/editeng/udlnitem.hxx b/include/editeng/udlnitem.hxx index 87e602517b72..9306aba7635c 100644 --- a/include/editeng/udlnitem.hxx +++ b/include/editeng/udlnitem.hxx @@ -34,7 +34,7 @@ class EDITENG_DLLPUBLIC SvxTextLineItem : public SfxEnumItem { Color mColor; public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxTextLineItem( const FontUnderline eSt, const sal_uInt16 nId ); @@ -87,7 +87,7 @@ public: class EDITENG_DLLPUBLIC SvxUnderlineItem : public SvxTextLineItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxUnderlineItem( const FontUnderline eSt, const sal_uInt16 nId ); @@ -104,7 +104,7 @@ public: class EDITENG_DLLPUBLIC SvxOverlineItem : public SvxTextLineItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxOverlineItem( const FontUnderline eSt, const sal_uInt16 nId ); diff --git a/include/editeng/ulspitem.hxx b/include/editeng/ulspitem.hxx index e3573073cfea..40f5b7eeb924 100644 --- a/include/editeng/ulspitem.hxx +++ b/include/editeng/ulspitem.hxx @@ -39,7 +39,7 @@ class EDITENG_DLLPUBLIC SvxULSpaceItem : public SfxPoolItem bool bContext; // Contextual spacing? sal_uInt16 nPropUpper, nPropLower; // relative or absolute (=100%) public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); explicit SvxULSpaceItem( const sal_uInt16 nId ); SvxULSpaceItem( const sal_uInt16 nUp, const sal_uInt16 nLow, diff --git a/include/editeng/wghtitem.hxx b/include/editeng/wghtitem.hxx index 51a347c3bbcb..2426051d8a5b 100644 --- a/include/editeng/wghtitem.hxx +++ b/include/editeng/wghtitem.hxx @@ -35,7 +35,7 @@ class SvXMLUnitConverter; class EDITENG_DLLPUBLIC SvxWeightItem : public SfxEnumItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxWeightItem( const FontWeight eWght /*= WEIGHT_NORMAL*/, const sal_uInt16 nId ); diff --git a/include/editeng/widwitem.hxx b/include/editeng/widwitem.hxx index ed1fedcfad9a..1708c9c5a394 100644 --- a/include/editeng/widwitem.hxx +++ b/include/editeng/widwitem.hxx @@ -34,7 +34,7 @@ class SvXMLUnitConverter; class EDITENG_DLLPUBLIC SvxWidowsItem: public SfxByteItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxWidowsItem( const sal_uInt8 nL /*= 0*/, const sal_uInt16 nId ); diff --git a/include/editeng/writingmodeitem.hxx b/include/editeng/writingmodeitem.hxx index 7f5aabc58ede..28bbf44e77e9 100644 --- a/include/editeng/writingmodeitem.hxx +++ b/include/editeng/writingmodeitem.hxx @@ -28,7 +28,7 @@ class EDITENG_DLLPUBLIC SvxWritingModeItem : public SfxUInt16Item { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxWritingModeItem( css::text::WritingMode eValue /*= css::text::WritingMode_LR_TB*/, sal_uInt16 nWhich /*= SDRATTR_TEXTDIRECTION*/ ); diff --git a/include/editeng/wrlmitem.hxx b/include/editeng/wrlmitem.hxx index 68e4dac20feb..22f403f1c788 100644 --- a/include/editeng/wrlmitem.hxx +++ b/include/editeng/wrlmitem.hxx @@ -35,7 +35,7 @@ class SvXMLUnitConverter; class EDITENG_DLLPUBLIC SvxWordLineModeItem : public SfxBoolItem { public: - TYPEINFO_OVERRIDE(); + static SfxPoolItem* CreateDefault(); SvxWordLineModeItem( const bool bWordLineMode /*= false*/, const sal_uInt16 nId ); diff --git a/include/editeng/xmlcnitm.hxx b/include/editeng/xmlcnitm.hxx index f1c5bac5a275..14b6e3c65e88 100644 --- a/include/editeng/xmlcnitm.hxx +++ b/include/editeng/xmlcnitm.hxx @@ -34,7 +34,6 @@ class EDITENG_DLLPUBLIC SvXMLAttrContainerItem: public SfxPoolItem SvXMLAttrContainerData *pImpl; public: - TYPEINFO_OVERRIDE(); SvXMLAttrContainerItem( sal_uInt16 nWhich = 0 ); SvXMLAttrContainerItem( const SvXMLAttrContainerItem& ); |