diff options
103 files changed, 42 insertions, 287 deletions
diff --git a/cui/source/dialogs/postdlg.cxx b/cui/source/dialogs/postdlg.cxx index a459ec725c91..ae786c3c118e 100644 --- a/cui/source/dialogs/postdlg.cxx +++ b/cui/source/dialogs/postdlg.cxx @@ -29,8 +29,6 @@ #include <comphelper/processfactory.hxx> #include <svx/svxids.hrc> // SID_ATTR_... -#define _SVX_POSTDLG_CXX - #include <cuires.hrc> #include <svx/postattr.hxx> #include "postdlg.hxx" diff --git a/cui/source/dialogs/zoom.cxx b/cui/source/dialogs/zoom.cxx index 01a903139bc2..4f2de22cdef3 100644 --- a/cui/source/dialogs/zoom.cxx +++ b/cui/source/dialogs/zoom.cxx @@ -24,8 +24,6 @@ #include <vcl/layout.hxx> #include <vcl/msgbox.hxx> -#define _SVX_ZOOM_CXX - #include <cuires.hrc> #include "zoom.hxx" diff --git a/cui/source/inc/autocdlg.hxx b/cui/source/inc/autocdlg.hxx index b760dca00044..3d518d2b1d01 100644 --- a/cui/source/inc/autocdlg.hxx +++ b/cui/source/inc/autocdlg.hxx @@ -28,6 +28,12 @@ #include <svx/langbox.hxx> #include "svtools/treelistentry.hxx" +#include <vcl/group.hxx> +#include <vcl/button.hxx> +#include <vcl/lstbox.hxx> +#include <svtools/svtabbx.hxx> +#include <svx/simptabl.hxx> + class CharClass; class CollatorWrapper; class SmartTagMgr; @@ -52,13 +58,6 @@ public: void EnableLanguage(bool bEnable); }; -#ifdef _OFA_AUTOCDLG_CXX -#include <vcl/group.hxx> -#include <vcl/button.hxx> -#include <vcl/lstbox.hxx> -#include <svtools/svtabbx.hxx> -#include <svx/simptabl.hxx> - // class OfaACorrCheckListBox ------------------------------------------ class OfaACorrCheckListBox : public SvxSimpleTable @@ -528,8 +527,6 @@ public: virtual void ActivatePage( const SfxItemSet& ); }; -#endif // _OFA_AUTOCDLG_CXX - -#endif // +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/inc/connect.hxx b/cui/source/inc/connect.hxx index 78638efda788..d9cf630a9b04 100644 --- a/cui/source/inc/connect.hxx +++ b/cui/source/inc/connect.hxx @@ -61,11 +61,9 @@ private: const SdrView* pView; SfxMapUnit eUnit; -#ifdef _SVX_CONNECT_CXX void FillTypeLB(); DECL_LINK( ChangeAttrHdl_Impl, void * ); -#endif public: diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx index ece9e683991f..548a9018192c 100644 --- a/cui/source/inc/cuitabarea.hxx +++ b/cui/source/inc/cuitabarea.hxx @@ -63,10 +63,8 @@ private: protected: virtual short Ok(); -#ifdef _SVX_TABAREA_CXX DECL_LINK( CancelHdlImpl, void * ); void SavePalettes(); -#endif public: SvxAreaTabDialog( Window* pParent, @@ -144,14 +142,12 @@ class SvxTransparenceTabPage : public SvxTabPage XFillAttrSetItem aXFillAttr; SfxItemSet& rXFSet; -#ifdef _SVX_TPAREA_CXX DECL_LINK(ClickTransOffHdl_Impl, void * ); DECL_LINK(ClickTransLinearHdl_Impl, void * ); DECL_LINK(ClickTransGradientHdl_Impl, void * ); DECL_LINK(ModifyTransparentHdl_Impl, void*); DECL_LINK(ChangeTrgrTypeHdl_Impl, void*); DECL_LINK(ModifiedTrgrHdl_Impl, void*); -#endif void ActivateLinear(sal_Bool bActivate); void ActivateGradient(sal_Bool bActivate); @@ -250,7 +246,6 @@ private: SfxMapUnit ePoolUnit; FieldUnit eFUnit; -#ifdef _SVX_TPAREA_CXX DECL_LINK(SelectDialogTypeHdl_Impl, void *); DECL_LINK( ModifyColorHdl_Impl, void * ); DECL_LINK( ModifyHatchBckgrdColorHdl_Impl, void * ); @@ -266,7 +261,6 @@ private: void ClickGradientHdl_Impl(); void ClickColorHdl_Impl(); void ClickBitmapHdl_Impl(); -#endif public: SvxAreaTabPage( Window* pParent, const SfxItemSet& rInAttrs ); @@ -335,10 +329,8 @@ private: SfxItemSet& rXFSet; SfxMapUnit ePoolUnit; -#ifdef _SVX_TPSHADOW_CXX DECL_LINK( ClickShadowHdl_Impl, void * ); DECL_LINK( ModifyShadowHdl_Impl, void * ); -#endif public: SvxShadowTabPage( Window* pParent, const SfxItemSet& rInAttrs ); @@ -409,7 +401,6 @@ private: XFillAttrSetItem aXFillAttr; SfxItemSet& rXFSet; -#ifdef _SVX_TPGRADNT_CXX DECL_LINK( ClickAddHdl_Impl, void * ); DECL_LINK( ClickModifyHdl_Impl, void * ); DECL_LINK( ClickDeleteHdl_Impl, void * ); @@ -420,7 +411,6 @@ private: long CheckChanges_Impl(); void SetControlState_Impl( XGradientStyle eXGS ); -#endif public: SvxGradientTabPage( Window* pParent, const SfxItemSet& rInAttrs ); @@ -493,7 +483,6 @@ private: SfxMapUnit ePoolUnit; -#ifdef _SVX_TPHATCH_CXX DECL_LINK( ChangeHatchHdl_Impl, void * ); DECL_LINK( ModifiedHdl_Impl, void * ); DECL_LINK( ClickAddHdl_Impl, void * ); @@ -503,7 +492,6 @@ private: DECL_LINK( ClickSaveHdl_Impl, void * ); long CheckChanges_Impl(); -#endif public: SvxHatchTabPage( Window* pParent, const SfxItemSet& rInAttrs ); @@ -581,7 +569,6 @@ private: XFillAttrSetItem aXFillAttr; SfxItemSet& rXFSet; -#ifdef _SVX_TPBITMAP_CXX DECL_LINK( ClickAddHdl_Impl, void * ); DECL_LINK( ClickImportHdl_Impl, void * ); DECL_LINK( ClickModifyHdl_Impl, void * ); @@ -593,7 +580,6 @@ private: DECL_LINK( ClickSaveHdl_Impl, void * ); long CheckChanges_Impl(); -#endif public: SvxBitmapTabPage( Window* pParent, const SfxItemSet& rInAttrs ); @@ -706,7 +692,6 @@ private: Color aAktuellColor; -#ifdef _SVX_TPCOLOR_CXX void ConvertColorValues (Color& rColor, ColorModel eModell); void RgbToCmyk_Impl( Color& rColor, sal_uInt16& rK ); void CmykToRgb_Impl( Color& rColor, const sal_uInt16 nKey ); @@ -727,7 +712,6 @@ private: DECL_LINK( ModifiedHdl_Impl, void * ); long CheckChanges_Impl(); -#endif void UpdateModified(); public: diff --git a/cui/source/inc/cuitabline.hxx b/cui/source/inc/cuitabline.hxx index a07ff3aca380..5207b7a04611 100644 --- a/cui/source/inc/cuitabline.hxx +++ b/cui/source/inc/cuitabline.hxx @@ -53,10 +53,8 @@ private: protected: virtual short Ok(); -#ifdef _SVX_TABLINE_CXX DECL_LINK( CancelHdlImpl, void * ); void SavePalettes(); -#endif public: SvxLineTabDialog( Window* pParent, const SfxItemSet* pAttr, @@ -182,7 +180,6 @@ private: DECL_LINK( SizeHdl_Impl, MetricField * ); DECL_LINK( RatioHdl_Impl, CheckBox * ); -#ifdef _SVX_TPLINE_CXX DECL_LINK( ClickInvisibleHdl_Impl, void * ); DECL_LINK( ChangeStartHdl_Impl, void * ); DECL_LINK( ChangeEndHdl_Impl, void * ); @@ -196,7 +193,6 @@ private: DECL_LINK ( ChangeCapStyleHdl_Impl, void * ); sal_Bool FillXLSet_Impl(); -#endif void InitSymbols(MenuButton* pButton); void SymbolSelected(MenuButton* pButton); @@ -292,7 +288,6 @@ private: SfxMapUnit ePoolUnit; FieldUnit eFUnit; -#ifdef _SVX_TPLNEDEF_CXX void FillDash_Impl(); void FillDialog_Impl(); @@ -309,7 +304,6 @@ private: DECL_LINK( SelectTypeHdl_Impl, void * ); void CheckChanges_Impl(); -#endif public: SvxLineDefTabPage( Window* pParent, const SfxItemSet& rInAttrs ); @@ -374,7 +368,6 @@ private: sal_uInt16* pDlgType; sal_uInt16* pPosLineEndLb; -#ifdef _SVX_TPLNEEND_CXX DECL_LINK( ClickAddHdl_Impl, void * ); DECL_LINK( ClickModifyHdl_Impl, void * ); DECL_LINK( ClickDeleteHdl_Impl, void * ); @@ -384,7 +377,6 @@ private: long ChangePreviewHdl_Impl( void* p ); void CheckChanges_Impl(); -#endif public: SvxLineEndDefTabPage( Window* pParent, const SfxItemSet& rInAttrs ); diff --git a/cui/source/inc/labdlg.hxx b/cui/source/inc/labdlg.hxx index 44ca18b39430..8b35b8ef416e 100644 --- a/cui/source/inc/labdlg.hxx +++ b/cui/source/inc/labdlg.hxx @@ -68,14 +68,12 @@ private: sal_uInt16 nAnsatzTypePos; sal_uInt16 nWinkelTypePos; -#ifdef _SVX_LABDLG_CXX void SetupAnsatz_Impl( sal_uInt16 nType ); void SetupType_Impl( sal_uInt16 nType ); DECL_LINK( AnsatzSelectHdl_Impl, ListBox * ); DECL_LINK( AnsatzRelSelectHdl_Impl, ListBox * ); DECL_LINK( LineOptHdl_Impl, Button * ); DECL_LINK( SelectCaptTypeHdl_Impl, void * ); -#endif const SfxItemSet& rOutAttrs; const SdrView* pView; diff --git a/cui/source/inc/measure.hxx b/cui/source/inc/measure.hxx index 6606a2e6a418..a05cab446c1a 100644 --- a/cui/source/inc/measure.hxx +++ b/cui/source/inc/measure.hxx @@ -67,12 +67,10 @@ private: sal_Bool bPositionModified; -#ifdef _SVX_MEASURE_CXX void FillUnitLB(); DECL_LINK( ClickAutoPosHdl_Impl, void * ); DECL_LINK( ChangeAttrHdl_Impl, void * ); -#endif public: diff --git a/cui/source/inc/optdict.hxx b/cui/source/inc/optdict.hxx index a8507a6cc2c9..2251a2b7c459 100644 --- a/cui/source/inc/optdict.hxx +++ b/cui/source/inc/optdict.hxx @@ -64,10 +64,8 @@ private: ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XDictionary > xNewDic; -#ifdef _SVX_OPTDICT_CXX DECL_LINK(OKHdl_Impl, void *); DECL_LINK(ModifyHdl_Impl, void *); -#endif public: SvxNewDictionaryDialog( Window* pParent, @@ -137,7 +135,6 @@ private: sal_Bool bDoNothing; sal_Bool bDicIsReadonly; -#ifdef _SVX_OPTDICT_CXX DECL_LINK(SelectBookHdl_Impl, void *); DECL_LINK(SelectLangHdl_Impl, void *); DECL_LINK(SelectHdl, SvTabListBox*); @@ -154,8 +151,6 @@ private: void RemoveDictEntry(SvTreeListEntry* pEntry); sal_uInt16 GetLBInsertPos(const String &rDicWord); -#endif - protected: virtual void Paint( const Rectangle& rRect ); @@ -170,7 +165,6 @@ public: sal_uInt16 GetSelectedDict() {return aAllDictsLB.GetSelectEntryPos();} }; - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/inc/optlingu.hxx b/cui/source/inc/optlingu.hxx index b870f618f17e..abafc3941cff 100644 --- a/cui/source/inc/optlingu.hxx +++ b/cui/source/inc/optlingu.hxx @@ -77,7 +77,6 @@ class SvxEditModulesDlg : public ModalDialog SvTreeListEntry* CreateEntry(String& rTxt, sal_uInt16 nCol); -#ifdef _SVX_OPTLINGU_CXX DECL_LINK( SelectHdl_Impl, SvxCheckListBox * ); DECL_LINK( UpDownHdl_Impl, PushButton * ); DECL_LINK( ClickHdl_Impl, PushButton * ); @@ -86,7 +85,6 @@ class SvxEditModulesDlg : public ModalDialog DECL_LINK( LangSelectHdl_Impl, ListBox* ); DECL_LINK( BoxCheckButtonHdl_Impl, SvTreeListBox * ); DECL_LINK(OpenURLHdl_Impl, void *); -#endif public: SvxEditModulesDlg(Window* pParent, SvxLinguData_Impl& rData); @@ -143,7 +141,6 @@ private: void AddDicBoxEntry( const com::sun::star::uno::Reference< com::sun::star::linguistic2::XDictionary > &rxDic, sal_uInt16 nIdx ); sal_uLong GetDicUserData( const com::sun::star::uno::Reference< com::sun::star::linguistic2::XDictionary > &rxDic, sal_uInt16 nIdx ); -#ifdef _SVX_OPTLINGU_CXX DECL_LINK( SelectHdl_Impl, SvxCheckListBox * ); DECL_LINK( ClickHdl_Impl, PushButton * ); DECL_LINK( BoxDoubleClickHdl_Impl, SvTreeListBox * ); @@ -153,7 +150,6 @@ private: void UpdateModulesBox_Impl(); void UpdateDicBox_Impl(); -#endif public: virtual ~SvxLinguTabPage(); diff --git a/cui/source/inc/optpath.hxx b/cui/source/inc/optpath.hxx index e6b8982a828e..f01c5b17c2e3 100644 --- a/cui/source/inc/optpath.hxx +++ b/cui/source/inc/optpath.hxx @@ -52,7 +52,6 @@ private: ::com::sun::star::uno::Reference< ::svt::DialogClosedListener > xDialogListener; ::com::sun::star::uno::Reference< ::com::sun::star::ui::dialogs::XFolderPicker2 > xFolderPicker; -#ifdef _SVX_OPTPATH_CXX void ChangeCurrentEntry( const String& _rFolder ); DECL_LINK(PathHdl_Impl, void *); @@ -68,7 +67,6 @@ private: String& _rUserPath, String& _rWritablePath, sal_Bool& _rReadOnly ); void SetPathList( sal_uInt16 _nPathHandle, const String& _rUserPath, const String& _rWritablePath ); -#endif public: SvxPathTabPage( Window* pParent, const SfxItemSet& rSet ); diff --git a/cui/source/inc/page.hxx b/cui/source/inc/page.hxx index fa18d962d709..b61c47ae5311 100644 --- a/cui/source/inc/page.hxx +++ b/cui/source/inc/page.hxx @@ -142,7 +142,6 @@ class SvxPageDescPage : public SfxTabPage SvxPage_Impl* pImpl; -#ifdef _SVX_PAGE_CXX void Init_Impl(); DECL_LINK(LayoutHdl_Impl, void *); DECL_LINK(PaperBinHdl_Impl, void *); @@ -173,7 +172,6 @@ class SvxPageDescPage : public SfxTabPage long nLastMargin, MarginPosition nPos ); void CheckMarginEdits( bool _bClear ); bool IsMarginOutOfRange(); -#endif SvxPageDescPage( Window* pParent, const SfxItemSet& rSet ); diff --git a/cui/source/inc/paragrph.hxx b/cui/source/inc/paragrph.hxx index bf78a269742d..c28689c4e9ba 100644 --- a/cui/source/inc/paragrph.hxx +++ b/cui/source/inc/paragrph.hxx @@ -95,7 +95,6 @@ private: sal_Bool bRelativeMode; sal_Bool bNegativeIndents; -#ifdef _SVX_PARAGRPH_CXX void SetLineSpacing_Impl( const SvxLineSpacingItem& rAttr ); void Init_Impl(); void UpdateExample_Impl( sal_Bool bAll = sal_False ); @@ -103,7 +102,6 @@ private: DECL_LINK( LineDistHdl_Impl, ListBox* ); DECL_LINK(ModifyHdl_Impl, void *); DECL_LINK( AutoHdl_Impl, CheckBox* ); -#endif protected: virtual int DeactivatePage( SfxItemSet* pSet = 0 ); @@ -158,13 +156,11 @@ class SvxParaAlignTabPage : public SfxTabPage FixedText aTextDirectionFT; svx::FrameDirectionListBox aTextDirectionLB; -#ifdef _SVX_PARAGRPH_CXX DECL_LINK(AlignHdl_Impl, void *); DECL_LINK(LastLineHdl_Impl, void *); DECL_LINK(TextDirectionHdl_Impl, void *); void UpdateExample_Impl( sal_Bool bAll = sal_False ); -#endif SvxParaAlignTabPage( Window* pParent, const SfxItemSet& rSet ); virtual ~SvxParaAlignTabPage(); @@ -258,7 +254,6 @@ private: sal_Bool bHtmlMode; sal_uInt16 nStdPos; -#ifdef _SVX_PARAGRPH_CXX DECL_LINK(PageBreakHdl_Impl, void *); DECL_LINK(KeepTogetherHdl_Impl, void *); DECL_LINK(WidowHdl_Impl, void *); @@ -267,7 +262,7 @@ private: DECL_LINK(ApplyCollClickHdl_Impl, void *); DECL_LINK( PageBreakPosHdl_Impl, ListBox* ); DECL_LINK( PageBreakTypeHdl_Impl, ListBox* ); -#endif + virtual void PageCreated(SfxAllItemSet aSet); }; @@ -281,9 +276,8 @@ class SvxAsianTabPage : public SfxTabPage SvxAsianTabPage( Window* pParent, const SfxItemSet& rSet ); -#ifdef _SVX_PARAGRPH_CXX DECL_LINK( ClickHdl_Impl, CheckBox* ); -#endif + public: ~SvxAsianTabPage(); diff --git a/cui/source/inc/postdlg.hxx b/cui/source/inc/postdlg.hxx index 74c763bef5d3..592db0d121e1 100644 --- a/cui/source/inc/postdlg.hxx +++ b/cui/source/inc/postdlg.hxx @@ -105,15 +105,12 @@ private: Link aPrevHdlLink; Link aNextHdlLink; -#ifdef _SVX_POSTDLG_CXX DECL_LINK(Stamp, void *); DECL_LINK(OKHdl, void *); DECL_LINK(PrevHdl, void *); DECL_LINK(NextHdl, void *); -#endif }; - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/inc/tabstpge.hxx b/cui/source/inc/tabstpge.hxx index 0e4953a24d41..e34c872b6af9 100644 --- a/cui/source/inc/tabstpge.hxx +++ b/cui/source/inc/tabstpge.hxx @@ -107,7 +107,6 @@ private: FieldUnit eDefUnit; sal_Bool bCheck; -#ifdef _SVX_TABSTPGE_CXX void InitTabPos_Impl( sal_uInt16 nPos = 0 ); void SetFillAndTabType_Impl(); @@ -123,11 +122,10 @@ private: DECL_LINK(ModifyHdl_Impl, void *); DECL_LINK( GetFillCharHdl_Impl, Edit* ); DECL_LINK( GetDezCharHdl_Impl, Edit* ); -#endif + virtual void PageCreated(SfxAllItemSet aSet); }; #endif // #ifndef _SVX_TABSTPGE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/inc/textanim.hxx b/cui/source/inc/textanim.hxx index 45b95bbcc10c..317bf0568b4c 100644 --- a/cui/source/inc/textanim.hxx +++ b/cui/source/inc/textanim.hxx @@ -67,7 +67,6 @@ private: FieldUnit eFUnit; SfxMapUnit eUnit; -#ifdef _SVX_TEXTANIM_CXX DECL_LINK( SelectEffectHdl_Impl, void * ); DECL_LINK( ClickEndlessHdl_Impl, void * ); DECL_LINK( ClickAutoHdl_Impl, void * ); @@ -76,10 +75,8 @@ private: void SelectDirection( SdrTextAniDirection nValue ); sal_uInt16 GetSelectedDirection(); -#endif public: - SvxTextAnimationPage( Window* pWindow, const SfxItemSet& rInAttrs ); ~SvxTextAnimationPage(); diff --git a/cui/source/inc/textattr.hxx b/cui/source/inc/textattr.hxx index 81f3b6fbeedd..3684d72d431b 100644 --- a/cui/source/inc/textattr.hxx +++ b/cui/source/inc/textattr.hxx @@ -72,11 +72,8 @@ private: sal_Bool bWordWrapTextEnabled; sal_Bool bFitToSizeEnabled; - -#ifdef _SVX_TEXTATTR_CXX DECL_LINK( ClickFullWidthHdl_Impl, void * ); DECL_LINK( ClickHdl_Impl, void * ); -#endif /** Return whether the text direction is from left to right (</sal_True>) or top to bottom (</sal_False>). diff --git a/cui/source/inc/zoom.hxx b/cui/source/inc/zoom.hxx index 75588a0e020c..1251c2611e64 100644 --- a/cui/source/inc/zoom.hxx +++ b/cui/source/inc/zoom.hxx @@ -47,14 +47,12 @@ private: SfxItemSet* pOutSet; sal_Bool bModified; -#ifdef _SVX_ZOOM_CXX DECL_LINK( UserHdl, RadioButton* ); DECL_LINK(SpinHdl, void *); DECL_LINK( ViewLayoutUserHdl, RadioButton* ); DECL_LINK( ViewLayoutSpinHdl, NumericField* ); DECL_LINK( ViewLayoutCheckHdl, CheckBox* ); DECL_LINK( OKHdl, Button* ); -#endif public: SvxZoomDialog( Window* pParent, const SfxItemSet& rCoreSet ); diff --git a/cui/source/options/optdict.cxx b/cui/source/options/optdict.cxx index 218b67aec1be..eab99e44fe66 100644 --- a/cui/source/options/optdict.cxx +++ b/cui/source/options/optdict.cxx @@ -30,8 +30,6 @@ #include <vcl/msgbox.hxx> #include <svx/dialogs.hrc> -#define _SVX_OPTDICT_CXX - #include <linguistic/misc.hxx> #include <cuires.hrc> #include "optdict.hrc" diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx index 3039d21d9c85..bc3b03246665 100644 --- a/cui/source/options/optinet2.cxx +++ b/cui/source/options/optinet2.cxx @@ -43,7 +43,6 @@ #include <unotools/extendedsecurityoptions.hxx> #include <com/sun/star/uno/Sequence.hxx> -#define _SVX_OPTINET2_CXX #include <dialmgr.hxx> #include "optinet2.hxx" #include <svx/svxdlg.hxx> diff --git a/cui/source/options/optinet2.hxx b/cui/source/options/optinet2.hxx index 0057351f406c..2ef906b8ac5f 100644 --- a/cui/source/options/optinet2.hxx +++ b/cui/source/options/optinet2.hxx @@ -29,11 +29,7 @@ #include <sfx2/tabdlg.hxx> #include <unotools/configitem.hxx> -#ifdef _SVX_OPTINET2_CXX #include <svtools/headbar.hxx> -#else -class HeaderBar; -#endif #include <readonlyimage.hxx> namespace svx { @@ -101,7 +97,6 @@ private: uno::Reference< uno::XInterface > m_xConfigurationUpdateAccess; -#ifdef _SVX_OPTINET2_CXX void ArrangeControls_Impl(); void EnableControls_Impl(sal_Bool bEnable); void ReadConfigData_Impl(); @@ -110,7 +105,6 @@ private: DECL_LINK( ProxyHdl_Impl, ListBox * ); DECL_LINK( LoseFocusHdl_Impl, Edit * ); -#endif SvxProxyTabPage( Window* pParent, const SfxItemSet& rSet ); virtual ~SvxProxyTabPage(); diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx index 2ef6af4925ba..9ab17cf95674 100644 --- a/cui/source/options/optlingu.cxx +++ b/cui/source/options/optlingu.cxx @@ -55,7 +55,6 @@ #include <svl/intitem.hxx> #include <sfx2/viewfrm.hxx> #include <vcl/svapp.hxx> -#define _SVX_OPTLINGU_CXX #include "optlingu.hrc" #include <svx/svxdlg.hxx> diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx index 93f3c666e9f1..dfc13a1b29ff 100644 --- a/cui/source/options/optpath.cxx +++ b/cui/source/options/optpath.cxx @@ -33,8 +33,6 @@ #include <unotools/moduleoptions.hxx> #include <unotools/viewoptions.hxx> -#define _SVX_OPTPATH_CXX - #include "optpath.hxx" #include <dialmgr.hxx> #include <cuires.hrc> diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx index 9318ba24dd2e..24e8a08166f0 100644 --- a/cui/source/options/optsave.cxx +++ b/cui/source/options/optsave.cxx @@ -20,7 +20,6 @@ #include <tools/shl.hxx> #include <svl/eitem.hxx> #include <svl/intitem.hxx> -#define _SVX_OPTSAVE_CXX #include "optsave.hrc" #include <cuires.hrc> diff --git a/cui/source/options/optsave.hxx b/cui/source/options/optsave.hxx index dcc3a5af5772..111f0d865294 100644 --- a/cui/source/options/optsave.hxx +++ b/cui/source/options/optsave.hxx @@ -66,13 +66,11 @@ private: SvxSaveTabPage_Impl* pImpl; -#ifdef _SVX_OPTSAVE_CXX DECL_LINK( AutoClickHdl_Impl, CheckBox * ); DECL_LINK( FilterHdl_Impl, ListBox * ); DECL_LINK(ODFVersionHdl_Impl, void *); void DetectHiddenControls(); -#endif public: SvxSaveTabPage( Window* pParent, const SfxItemSet& rSet ); diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index bb5db5e62589..2e11890298bb 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -43,7 +43,6 @@ #include <com/sun/star/smarttags/XSmartTagAction.hpp> #include <rtl/strbuf.hxx> -#define _OFA_AUTOCDLG_CXX #include "autocdlg.hxx" #include "autocdlg.hrc" #include "helpid.hrc" diff --git a/cui/source/tabpages/connect.cxx b/cui/source/tabpages/connect.cxx index 64d26c5cac4a..1b691830f0b1 100644 --- a/cui/source/tabpages/connect.cxx +++ b/cui/source/tabpages/connect.cxx @@ -24,8 +24,6 @@ #include <sfx2/request.hxx> #include <svx/dialogs.hrc> -#define _SVX_CONNECT_CXX - #include <svx/svdoedge.hxx> #include <svx/svdattr.hxx> #include <svx/svdattrx.hxx> diff --git a/cui/source/tabpages/labdlg.cxx b/cui/source/tabpages/labdlg.cxx index 1091b4d34835..819dd2a2d1e8 100644 --- a/cui/source/tabpages/labdlg.cxx +++ b/cui/source/tabpages/labdlg.cxx @@ -23,7 +23,6 @@ #include <sfx2/module.hxx> #include <swpossizetabpage.hxx> #include <svx/dialogs.hrc> -#define _SVX_LABDLG_CXX #include <svx/svdattrx.hxx> #include <cuires.hrc> diff --git a/cui/source/tabpages/measure.cxx b/cui/source/tabpages/measure.cxx index 4050e8d85bbb..e5f67e7bd794 100644 --- a/cui/source/tabpages/measure.cxx +++ b/cui/source/tabpages/measure.cxx @@ -23,8 +23,6 @@ #include <cuires.hrc> -#define _SVX_MEASURE_CXX - #include <svx/svdomeas.hxx> #include <svx/svdattr.hxx> #include <svx/svdattrx.hxx> diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx index 9986056bdcac..da2ac1c37dbe 100644 --- a/cui/source/tabpages/page.cxx +++ b/cui/source/tabpages/page.cxx @@ -29,8 +29,6 @@ #include <sfx2/htmlmode.hxx> #include <sal/macros.h> -#define _SVX_PAGE_CXX - #include <cuires.hrc> #include "helpid.hrc" #include "page.hxx" diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx index 6271cc0c67dc..e82ffb3a62bb 100644 --- a/cui/source/tabpages/paragrph.cxx +++ b/cui/source/tabpages/paragrph.cxx @@ -24,8 +24,6 @@ #include <vcl/mnemonic.hxx> #include <svx/dialogs.hrc> -#define _SVX_PARAGRPH_CXX 0 - #include <svl/languageoptions.hxx> #include <svl/cjkoptions.hxx> #include <editeng/pgrditem.hxx> diff --git a/cui/source/tabpages/tabarea.cxx b/cui/source/tabpages/tabarea.cxx index 780a7b67b35a..236333d93e7f 100644 --- a/cui/source/tabpages/tabarea.cxx +++ b/cui/source/tabpages/tabarea.cxx @@ -26,8 +26,6 @@ #include <svx/svdview.hxx> #include <svx/dialogs.hrc> -#define _SVX_TABAREA_CXX - #include <cuires.hrc> #include <svx/xtable.hxx> #include "svx/globl3d.hxx" diff --git a/cui/source/tabpages/tabline.cxx b/cui/source/tabpages/tabline.cxx index 5eac85b15f42..f213077d6296 100644 --- a/cui/source/tabpages/tabline.cxx +++ b/cui/source/tabpages/tabline.cxx @@ -24,7 +24,6 @@ #include <sfx2/objsh.hxx> #include <svx/dialogs.hrc> -#define _SVX_TABLINE_CXX #include <cuires.hrc> #include "tabline.hrc" diff --git a/cui/source/tabpages/tabstpge.cxx b/cui/source/tabpages/tabstpge.cxx index 93ef1298b686..01c6b0e2c098 100644 --- a/cui/source/tabpages/tabstpge.cxx +++ b/cui/source/tabpages/tabstpge.cxx @@ -22,8 +22,6 @@ #include <svtools/ruler.hxx> #include <svx/dialogs.hrc> -#define _SVX_TABSTPGE_CXX - #include <cuires.hrc> #include "tabstpge.hrc" #include <editeng/lrspitem.hxx> diff --git a/cui/source/tabpages/textanim.cxx b/cui/source/tabpages/textanim.cxx index b075c9427014..b678ed33a345 100644 --- a/cui/source/tabpages/textanim.cxx +++ b/cui/source/tabpages/textanim.cxx @@ -24,9 +24,6 @@ #include <cuires.hrc> #include <svx/dialogs.hrc> -#ifndef _SVX_TEXTANIM_CXX -#define _SVX_TEXTANIM_CXX -#endif #include "textanim.hxx" #include "textanim.hrc" #include "textattr.hxx" diff --git a/cui/source/tabpages/textattr.cxx b/cui/source/tabpages/textattr.cxx index 32e0448fc2ba..37a7212412e3 100644 --- a/cui/source/tabpages/textattr.cxx +++ b/cui/source/tabpages/textattr.cxx @@ -33,9 +33,6 @@ #include <svx/svdotext.hxx> #include <svx/dialogs.hrc> -#ifndef _SVX_TEXTATTR_CXX -#define _SVX_TEXTATTR_CXX -#endif #include "textattr.hxx" #include "textattr.hrc" #include <dialmgr.hxx> diff --git a/cui/source/tabpages/tparea.cxx b/cui/source/tabpages/tparea.cxx index 56939ddb7a28..8afcfffb51c0 100644 --- a/cui/source/tabpages/tparea.cxx +++ b/cui/source/tabpages/tparea.cxx @@ -23,8 +23,6 @@ #include <sfx2/module.hxx> #include <svx/dialogs.hrc> -#define _SVX_TPAREA_CXX - #if defined (UNX) || defined (ICC) || defined(WNT) #include <stdlib.h> #endif diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx index be2f50401a93..05c23ef2397d 100644 --- a/cui/source/tabpages/tpbitmap.cxx +++ b/cui/source/tabpages/tpbitmap.cxx @@ -31,8 +31,6 @@ #include <vcl/bmpacc.hxx> #include <svx/dialogs.hrc> -#define _SVX_TPBITMAP_CXX - #include <cuires.hrc> #include "helpid.hrc" #include "svx/xattr.hxx" diff --git a/cui/source/tabpages/tpcolor.cxx b/cui/source/tabpages/tpcolor.cxx index e15bb8475271..371b61ec27ab 100644 --- a/cui/source/tabpages/tpcolor.cxx +++ b/cui/source/tabpages/tpcolor.cxx @@ -32,8 +32,6 @@ #include <svx/ofaitem.hxx> #include "com/sun/star/ui/dialogs/TemplateDescription.hpp" -#define _SVX_TPCOLOR_CXX - #include <cuires.hrc> #include "helpid.hrc" #include "svx/xattr.hxx" diff --git a/cui/source/tabpages/tpgradnt.cxx b/cui/source/tabpages/tpgradnt.cxx index 1772c8a6e00a..a5506b2fb4a4 100644 --- a/cui/source/tabpages/tpgradnt.cxx +++ b/cui/source/tabpages/tpgradnt.cxx @@ -26,8 +26,6 @@ #include <sfx2/filedlghelper.hxx> #include "com/sun/star/ui/dialogs/TemplateDescription.hpp" -#define _SVX_TPGRADNT_CXX - #include <cuires.hrc> #include "helpid.hrc" #include "svx/xattr.hxx" diff --git a/cui/source/tabpages/tphatch.cxx b/cui/source/tabpages/tphatch.cxx index c9ed90062a5f..e73b8e0367e0 100644 --- a/cui/source/tabpages/tphatch.cxx +++ b/cui/source/tabpages/tphatch.cxx @@ -26,8 +26,6 @@ #include <sfx2/filedlghelper.hxx> #include "com/sun/star/ui/dialogs/TemplateDescription.hpp" -#define _SVX_TPHATCH_CXX - #include <cuires.hrc> #include "tabarea.hrc" #include "helpid.hrc" diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx index 303647465959..8f80f9132818 100644 --- a/cui/source/tabpages/tpline.cxx +++ b/cui/source/tabpages/tpline.cxx @@ -23,8 +23,6 @@ #include <sfx2/app.hxx> #include <sfx2/module.hxx> -#define _SVX_TPLINE_CXX - #include <cuires.hrc> #include "tabline.hrc" #include "svx/xattr.hxx" diff --git a/cui/source/tabpages/tplnedef.cxx b/cui/source/tabpages/tplnedef.cxx index 84172dcd12ad..7bf9ad2720fe 100644 --- a/cui/source/tabpages/tplnedef.cxx +++ b/cui/source/tabpages/tplnedef.cxx @@ -26,8 +26,6 @@ #include <sfx2/filedlghelper.hxx> #include "com/sun/star/ui/dialogs/TemplateDescription.hpp" -#define _SVX_TPLNEDEF_CXX - #include <cuires.hrc> #include "tabline.hrc" #include "helpid.hrc" diff --git a/cui/source/tabpages/tplneend.cxx b/cui/source/tabpages/tplneend.cxx index 31ce1116f586..3155b3265585 100644 --- a/cui/source/tabpages/tplneend.cxx +++ b/cui/source/tabpages/tplneend.cxx @@ -25,8 +25,6 @@ #include <sfx2/filedlghelper.hxx> #include "com/sun/star/ui/dialogs/TemplateDescription.hpp" -#define _SVX_TPLNEEND_CXX - #include <cuires.hrc> #include "tabline.hrc" #include "helpid.hrc" diff --git a/cui/source/tabpages/tpshadow.cxx b/cui/source/tabpages/tpshadow.cxx index 66faa424301f..824bb8a76220 100644 --- a/cui/source/tabpages/tpshadow.cxx +++ b/cui/source/tabpages/tpshadow.cxx @@ -22,8 +22,6 @@ #include <sfx2/module.hxx> #include <svx/dialogs.hrc> -#define _SVX_TPSHADOW_CXX - #include "svx/xattr.hxx" #include <svx/xpool.hxx> #include <cuires.hrc> diff --git a/editeng/source/items/bulitem.cxx b/editeng/source/items/bulitem.cxx index 0841f53307be..c8de24a1d3f9 100644 --- a/editeng/source/items/bulitem.cxx +++ b/editeng/source/items/bulitem.cxx @@ -20,8 +20,6 @@ #include <tools/stream.hxx> #include <vcl/outdev.hxx> -#define _SVX_BULITEM_CXX - #include <editeng/bulletitem.hxx> #include <editeng/editrids.hrc> diff --git a/editeng/source/outliner/outleeng.cxx b/editeng/source/outliner/outleeng.cxx index 8393ef9ff049..457a90384469 100644 --- a/editeng/source/outliner/outleeng.cxx +++ b/editeng/source/outliner/outleeng.cxx @@ -25,7 +25,6 @@ #include <editeng/lrspitem.hxx> #include <editeng/fhgtitem.hxx> -#define _OUTLINER_CXX #include <editeng/outliner.hxx> #include <outleeng.hxx> #include <paralist.hxx> diff --git a/editeng/source/outliner/outlin2.cxx b/editeng/source/outliner/outlin2.cxx index 8fea84b80f48..096fff9ca99c 100644 --- a/editeng/source/outliner/outlin2.cxx +++ b/editeng/source/outliner/outlin2.cxx @@ -30,8 +30,6 @@ #include <editeng/forbiddencharacterstable.hxx> -#define _OUTLINER_CXX - #include <editeng/outliner.hxx> #include <paralist.hxx> #include <editeng/outlobj.hxx> diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index d585e728e2dc..8029501ff011 100644 --- a/editeng/source/outliner/outliner.cxx +++ b/editeng/source/outliner/outliner.cxx @@ -29,7 +29,6 @@ #include <math.h> #include <svl/style.hxx> #include <vcl/wrkwin.hxx> -#define _OUTLINER_CXX #include <editeng/outliner.hxx> #include <paralist.hxx> #include <editeng/outlobj.hxx> diff --git a/editeng/source/outliner/outlobj.cxx b/editeng/source/outliner/outlobj.cxx index dc39bd608738..1140e505b00e 100644 --- a/editeng/source/outliner/outlobj.cxx +++ b/editeng/source/outliner/outlobj.cxx @@ -25,7 +25,6 @@ #include <editeng/lrspitem.hxx> #include <editeng/fhgtitem.hxx> -#define _OUTLINER_CXX #include <editeng/outliner.hxx> #include <editeng/outlobj.hxx> #include <outleeng.hxx> diff --git a/editeng/source/outliner/outlundo.cxx b/editeng/source/outliner/outlundo.cxx index 0bf8cfb3e5d1..6ebdf3c6de8e 100644 --- a/editeng/source/outliner/outlundo.cxx +++ b/editeng/source/outliner/outlundo.cxx @@ -26,7 +26,6 @@ #include <editeng/lrspitem.hxx> #include <editeng/fhgtitem.hxx> -#define _OUTLINER_CXX #include <editeng/outliner.hxx> #include <outlundo.hxx> diff --git a/editeng/source/outliner/outlvw.cxx b/editeng/source/outliner/outlvw.cxx index d6c07e38e6e4..a735e0790888 100644 --- a/editeng/source/outliner/outlvw.cxx +++ b/editeng/source/outliner/outlvw.cxx @@ -30,7 +30,6 @@ #include <svl/style.hxx> #include <i18nlangtag/languagetag.hxx> -#define _OUTLINER_CXX #include <editeng/outliner.hxx> #include <outleeng.hxx> #include <paralist.hxx> diff --git a/include/editeng/bulletitem.hxx b/include/editeng/bulletitem.hxx index 345cf3ff7639..deb122f556d4 100644 --- a/include/editeng/bulletitem.hxx +++ b/include/editeng/bulletitem.hxx @@ -74,10 +74,8 @@ class EDITENG_DLLPUBLIC SvxBulletItem : public SfxPoolItem sal_uInt16 nValidMask; // Only temporary for GetAttribs / setAttribs, // because of the large Bullets -#ifdef _SVX_BULITEM_CXX void SetDefaultFont_Impl(); void SetDefaults_Impl(); -#endif public: TYPEINFO(); diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index 925ee1a8b71e..659f6fbb3e2d 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -216,8 +216,6 @@ private: }; MouseTarget OLD_ePrevMouseTarget; -#ifdef _OUTLINER_CXX - EDITENG_DLLPRIVATE void ImplExpandOrCollaps( sal_uInt16 nStartPara, sal_uInt16 nEndPara, sal_Bool bExpand ); EDITENG_DLLPRIVATE sal_uLong ImpCheckMousePos( const Point& rPosPixel, MouseTarget& reTarget); @@ -230,8 +228,6 @@ private: EDITENG_DLLPRIVATE sal_uInt16 ImpCalcSelectedPages( sal_Bool bIncludeFirstSelected ); EDITENG_DLLPRIVATE sal_Bool ImpIsIndentingPages(); -#endif - public: OutlinerView( Outliner* pOut, Window* pWindow ); virtual ~OutlinerView(); @@ -603,8 +599,6 @@ class EDITENG_DLLPUBLIC Outliner : public SfxBroadcaster sal_uLong nDummy; -#ifdef _OUTLINER_CXX - DECL_LINK( ParaVisibleStateChangedHdl, Paragraph* ); DECL_LINK( BeginMovingParagraphsHdl, void* ); DECL_LINK( EndMovingParagraphsHdl, MoveParagraphsInfo* ); @@ -641,7 +635,6 @@ class EDITENG_DLLPUBLIC Outliner : public SfxBroadcaster sal_uInt16 ImplGetOutlinerMode() const { return nOutlinerMode & OUTLINERMODE_USERMASK; } void ImplCheckDepth( sal_Int16& rnDepth ) const; -#endif protected: void ParagraphInserted( sal_uInt16 nParagraph ); diff --git a/include/svl/zforlist.hxx b/include/svl/zforlist.hxx index d5c84235a4f9..e4810e6492c6 100644 --- a/include/svl/zforlist.hxx +++ b/include/svl/zforlist.hxx @@ -28,6 +28,7 @@ #include <com/sun/star/lang/Locale.hpp> #include <com/sun/star/i18n/NumberFormatCode.hpp> #include <unotools/localedatawrapper.hxx> +#include <unotools/numberformatcodewrapper.hxx> #include <tools/link.hxx> #include <svl/ondemand.hxx> #include <svl/nfkeytab.hxx> @@ -815,8 +816,6 @@ private: OUString aThousandSep; OUString aDateSep; -#ifdef _ZFORLIST_CXX // ----- private Methoden ----- - SVL_DLLPRIVATE static bool bCurrencyTableInitialized; SVL_DLLPRIVATE static sal_uInt16 nSystemCurrencyPosition; SVL_DLLPRIVATE static SvNumberFormatterRegistry_Impl* pFormatterRegistry; @@ -916,8 +915,6 @@ private: // link to be set at <method>SvtSysLocaleOptions::SetCurrencyChangeLink()</method> DECL_DLLPRIVATE_STATIC_LINK( SvNumberFormatter, CurrencyChangeLink, void* ); -#endif // _ZFORLIST_CXX - public: // own static mutex, may also be used by internal class SvNumberFormatterRegistry_Impl diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx index 20cc4d110c24..fce623d58569 100644 --- a/include/svl/zformat.hxx +++ b/include/svl/zformat.hxx @@ -25,11 +25,6 @@ #include <svl/nfversi.hxx> #include <svl/nfkeytab.hxx> -// We need ImpSvNumberformatScan for the private SvNumberformat definitions. -#ifdef _ZFORMAT_CXX -#include "zforscan.hxx" -#endif - namespace utl { class DigitGroupingIterator; } @@ -531,12 +526,10 @@ private: /// Whether it's a (YY)YY-M(M)-D(D) format. SVL_DLLPRIVATE bool ImpIsIso8601( const ImpSvNumFor& rNumFor ); -#ifdef _ZFORMAT_CXX // ----- private implementation methods ----- - - const CharClass& rChrCls() const { return rScan.GetChrCls(); } - const LocaleDataWrapper& rLoc() const { return rScan.GetLoc(); } - CalendarWrapper& GetCal() const { return rScan.GetCal(); } - const SvNumberFormatter& GetFormatter() const { return *rScan.GetNumberformatter(); } + const CharClass& rChrCls() const; + const LocaleDataWrapper& rLoc() const; + CalendarWrapper& GetCal() const; + const SvNumberFormatter& GetFormatter() const; // divide in substrings and color conditions SVL_DLLPRIVATE short ImpNextSymbol( OUStringBuffer& rString, @@ -702,9 +695,6 @@ private: impTransliterateImpl(rStr, rNum); } } - -#endif // _ZFORMAT_CXX - }; #endif // _ZFORMAT_HXX diff --git a/include/svtools/calendar.hxx b/include/svtools/calendar.hxx index 2c41ae7ed929..0fa8a949455b 100644 --- a/include/svtools/calendar.hxx +++ b/include/svtools/calendar.hxx @@ -224,7 +224,6 @@ private: Timer maDragScrollTimer; sal_uInt16 mnDragScrollHitTest; -#ifdef _SV_CALENDAR_CXX using Control::ImplInitSettings; using Window::ImplInit; SVT_DLLPRIVATE void ImplInit( WinBits nWinStyle ); @@ -252,7 +251,6 @@ private: SVT_DLLPRIVATE void ImplTracking( const Point& rPos, sal_Bool bRepeat ); SVT_DLLPRIVATE void ImplEndTracking( sal_Bool bCancel ); SVT_DLLPRIVATE DayOfWeek ImplGetWeekStart() const; -#endif protected: @@ -412,11 +410,9 @@ private: sal_Bool mbNone; Link maSelectHdl; -#ifdef _SV_CALENDAR_CXX DECL_DLLPRIVATE_LINK( ImplSelectHdl, Calendar* ); DECL_DLLPRIVATE_LINK( ImplClickHdl, PushButton* ); DECL_DLLPRIVATE_LINK( ImplPopupModeEndHdl, void* ); -#endif public: CalendarField( Window* pParent, WinBits nWinStyle ); diff --git a/include/svtools/ctrlbox.hxx b/include/svtools/ctrlbox.hxx index 39e5bb02bcc0..d2c933b8c0a1 100644 --- a/include/svtools/ctrlbox.hxx +++ b/include/svtools/ctrlbox.hxx @@ -164,11 +164,10 @@ class SVT_DLLPUBLIC ColorListBox : public ListBox ImpColorList* pColorList; // separate liste, in case of user data are required from outside Size aImageSize; -#ifdef _CTRLBOX_CXX using Window::ImplInit; SVT_DLLPRIVATE void ImplInit(); SVT_DLLPRIVATE void ImplDestroyColorEntries(); -#endif + public: ColorListBox( Window* pParent, WinBits nWinStyle = WB_BORDER ); @@ -424,10 +423,8 @@ private: sal_Bool mbWYSIWYG; String maFontMRUEntriesFile; -#ifdef _CTRLBOX_CXX SVT_DLLPRIVATE void ImplCalcUserItemSize(); SVT_DLLPRIVATE void ImplDestroyFontList(); -#endif protected: void LoadMRUEntries( const String& aFontMRUEntriesFile, sal_Unicode cSep = ';' ); @@ -506,10 +503,8 @@ class SVT_DLLPUBLIC FontSizeBox : public MetricBox bPtRelative:1, bStdSize:1; -#ifdef _CTRLBOX_CXX using Window::ImplInit; SVT_DLLPRIVATE void ImplInit(); -#endif protected: virtual OUString CreateFieldText( sal_Int64 nValue ) const; diff --git a/include/svtools/ctrltool.hxx b/include/svtools/ctrltool.hxx index b90f1b67a532..efe7b53b7cb3 100644 --- a/include/svtools/ctrltool.hxx +++ b/include/svtools/ctrltool.hxx @@ -162,12 +162,11 @@ private: OutputDevice* mpDev; OutputDevice* mpDev2; boost::ptr_vector<ImplFontListNameInfo> maEntries; -#ifdef CTRLTOOL_CXX + SVT_DLLPRIVATE ImplFontListNameInfo* ImplFind( const OUString& rSearchName, sal_uLong* pIndex ) const; SVT_DLLPRIVATE ImplFontListNameInfo* ImplFindByName( const OUString& rStr ) const; SVT_DLLPRIVATE void ImplInsertFonts( OutputDevice* pDev, sal_Bool bAll, sal_Bool bInsertData ); -#endif public: FontList( OutputDevice* pDevice, diff --git a/include/svtools/headbar.hxx b/include/svtools/headbar.hxx index 9be63ce3229d..29bd35fe2804 100644 --- a/include/svtools/headbar.hxx +++ b/include/svtools/headbar.hxx @@ -263,7 +263,6 @@ private: ::com::sun::star::accessibility::XAccessible > mxAccessible; -#ifdef _SV_HEADBAR_CXX using Window::ImplInit; SVT_DLLPRIVATE void ImplInit( WinBits nWinStyle ); SVT_DLLPRIVATE void ImplInitSettings( sal_Bool bFont, sal_Bool bForeground, sal_Bool bBackground ); @@ -285,7 +284,6 @@ private: SVT_DLLPRIVATE void ImplStartDrag( const Point& rPos, sal_Bool bCommand ); SVT_DLLPRIVATE void ImplDrag( const Point& rPos ); SVT_DLLPRIVATE void ImplEndDrag( sal_Bool bCancel ); -#endif public: HeaderBar( Window* pParent, WinBits nWinBits = WB_STDHEADERBAR ); diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx index a06109bca6a0..5a457103cea0 100644 --- a/include/svtools/ruler.hxx +++ b/include/svtools/ruler.hxx @@ -644,7 +644,6 @@ private: Link maDoubleClickHdl; Link maExtraDownHdl; -#ifdef _SV_RULER_CXX SVT_DLLPRIVATE void ImplVDrawLine( long nX1, long nY1, long nX2, long nY2 ); SVT_DLLPRIVATE void ImplVDrawRect( long nX1, long nY1, long nX2, long nY2 ); SVT_DLLPRIVATE void ImplVDrawText( long nX, long nY, const String& rText, long nMin = LONG_MIN, long nMax = LONG_MAX ); @@ -675,7 +674,6 @@ private: SVT_DLLPRIVATE void ImplDrag( const Point& rPos ); SVT_DLLPRIVATE void ImplEndDrag(); DECL_DLLPRIVATE_LINK( ImplUpdateHdl, void* ); -#endif // Forbidden and not implemented. Ruler (const Ruler &); diff --git a/include/svtools/scrwin.hxx b/include/svtools/scrwin.hxx index f9af5b9aa620..3980954e5dab 100644 --- a/include/svtools/scrwin.hxx +++ b/include/svtools/scrwin.hxx @@ -57,11 +57,9 @@ private: bHCenter:1, bVCenter:1; -#ifdef _SVT_SCRWIN_CXX SVT_DLLPRIVATE void ImpInitialize( ScrollableWindowFlags nFlags ); DECL_DLLPRIVATE_LINK( ScrollHdl, ScrollBar * ); DECL_DLLPRIVATE_LINK( EndScrollHdl, ScrollBar * ); -#endif public: ScrollableWindow( Window* pParent, WinBits nBits = 0, diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx index ff032fd3baa4..70fcd008c363 100644 --- a/include/svtools/valueset.hxx +++ b/include/svtools/valueset.hxx @@ -37,10 +37,8 @@ class ScrollBar; struct ValueSetItem; typedef ::std::vector< ValueSetItem* > ValueItemList; -#ifdef _SV_VALUESET_CXX class ValueSetAcc; class ValueItemAcc; -#endif /************************************************************************* @@ -241,7 +239,6 @@ private: Link maSelectHdl; Link maHighlightHdl; -#ifdef _SV_VALUESET_CXX friend class ValueSetAcc; friend class ValueItemAcc; using Control::ImplInitSettings; @@ -272,7 +269,6 @@ private: SVT_DLLPRIVATE void ImplEndTracking( const Point& rPos, bool bCancel ); DECL_DLLPRIVATE_LINK( ImplScrollHdl, ScrollBar* ); DECL_DLLPRIVATE_LINK( ImplTimerHdl, void* ); -#endif // Forbidden and not implemented. ValueSet (const ValueSet &); diff --git a/include/svtools/wizdlg.hxx b/include/svtools/wizdlg.hxx index f161b7339ff7..765d2fac6dd7 100644 --- a/include/svtools/wizdlg.hxx +++ b/include/svtools/wizdlg.hxx @@ -239,7 +239,6 @@ protected: */ void SetEmptyViewMargin(); -#ifdef _SVT_WIZDLG_CXX private: SVT_DLLPRIVATE void ImplInitData(); SVT_DLLPRIVATE void ImplCalcSize( Size& rSize ); @@ -247,7 +246,6 @@ private: SVT_DLLPRIVATE void ImplPosTabPage(); SVT_DLLPRIVATE void ImplShowTabPage( TabPage* pPage ); SVT_DLLPRIVATE TabPage* ImplGetPage( sal_uInt16 nLevel ) const; -#endif public: WizardDialog( Window* pParent, WinBits nStyle = WB_STDTABDIALOG ); diff --git a/include/svx/charmap.hxx b/include/svx/charmap.hxx index 8f1ff765f78d..0c41d63020c0 100644 --- a/include/svx/charmap.hxx +++ b/include/svx/charmap.hxx @@ -62,7 +62,6 @@ public: void SetPreSelectHdl( const Link& rHdl ) { aPreSelectHdl = rHdl; } static sal_uInt32& getSelectedChar(); -#ifdef _SVX_CHARMAP_CXX_ ::svx::SvxShowCharSetItem* ImplGetItem( int _nPos ); int FirstInView( void) const; int LastInView( void) const; @@ -77,7 +76,6 @@ public: ScrollBar* getScrollBar(); void ReleaseAccessible(); sal_Int32 getMaxCharCount() const; -#endif // _SVX_CHARMAP_CXX_ virtual void Resize(); diff --git a/include/svx/checklbx.hxx b/include/svx/checklbx.hxx index 8a9b3558d272..324de12150b2 100644 --- a/include/svx/checklbx.hxx +++ b/include/svx/checklbx.hxx @@ -34,9 +34,7 @@ class SVX_DLLPUBLIC SvxCheckListBox : public SvTreeListBox private: SvLBoxButtonData* pCheckButton; -#ifdef _SVX_CHECKLBX_CXX SVX_DLLPRIVATE void Init_Impl(); -#endif using SvTreeListBox::InsertEntry; // Avoid ambiguity with new InsertEntry: diff --git a/include/svx/fontwork.hxx b/include/svx/fontwork.hxx index 4d2c4a0f6558..4e24257aed9b 100644 --- a/include/svx/fontwork.hxx +++ b/include/svx/fontwork.hxx @@ -26,7 +26,8 @@ #include <sfx2/ctrlitem.hxx> #include <svx/xenum.hxx> #include <svx/dlgctrl.hxx> -#include "svx/svxdllapi.h" +#include <svx/svxdllapi.h> +#include <svx/xtextit0.hxx> // forward --------------------------------------------------------------- @@ -125,7 +126,6 @@ class SVX_DLLPUBLIC SvxFontWorkDialog : public SfxDockingWindow XColorListRef pColorList; -#ifdef _SVX_FONTWORK_CXX friend class SvxFontWorkChildWindow; friend class SvxFontWorkControllerItem; @@ -152,7 +152,6 @@ class SVX_DLLPUBLIC SvxFontWorkDialog : public SfxDockingWindow void SetShadowColor_Impl(const XFormTextShadowColorItem*); void SetShadowXVal_Impl(const XFormTextShadowXValItem*); void SetShadowYVal_Impl(const XFormTextShadowYValItem*); -#endif virtual void DataChanged( const DataChangedEvent& rDCEvt ); void ApplyImageList(); diff --git a/include/svx/hdft.hxx b/include/svx/hdft.hxx index bb1d2f507d3d..3af1316aba10 100644 --- a/include/svx/hdft.hxx +++ b/include/svx/hdft.hxx @@ -93,9 +93,7 @@ protected: DECL_LINK(RangeHdl, void *); private: -#ifdef _SVX_HDFT_CXX SVX_DLLPRIVATE void ResetBackground_Impl( const SfxItemSet& rSet ); -#endif }; // class SvxHeaderPage --------------------------------------------------- diff --git a/include/svx/insctrl.hxx b/include/svx/insctrl.hxx index 9fbcd4e0e490..91e6966e7a35 100644 --- a/include/svx/insctrl.hxx +++ b/include/svx/insctrl.hxx @@ -40,12 +40,9 @@ public: private: sal_Bool bInsert; -#ifdef _SVX_INSCTRL_CXX SVX_DLLPRIVATE void DrawItemText_Impl(); -#endif }; - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/itemwin.hxx b/include/svx/itemwin.hxx index d2a1b25997e0..92daba38023a 100644 --- a/include/svx/itemwin.hxx +++ b/include/svx/itemwin.hxx @@ -41,11 +41,10 @@ class SvxLineBox : public LineLB SfxObjectShell* mpSh; ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > mxFrame; -#ifdef _SVX_ITEMWIN_CXX DECL_LINK(DelayHdl_Impl, void *); void ReleaseFocus_Impl(); -#endif + public: SvxLineBox( Window* pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, @@ -75,9 +74,7 @@ class SvxColorBox : public ColorLB OUString maCommand; ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > mxFrame; -#ifdef _SVX_ITEMWIN_CXX void ReleaseFocus_Impl(); -#endif public: SvxColorBox( Window* pParent, @@ -108,9 +105,7 @@ class SVX_DLLPUBLIC SvxMetricField : public MetricField Size aLogicalSize; ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > mxFrame; -#ifdef _SVX_ITEMWIN_CXX void ReleaseFocus_Impl(); -#endif protected: virtual void Modify(); @@ -152,9 +147,7 @@ private: sal_Bool bSelect; sal_Bool bRelease; -#ifdef _SVX_ITEMWIN_CXX void ReleaseFocus_Impl(); -#endif }; // class SvxFillAttrBox -------------------------------------------------- @@ -176,9 +169,7 @@ private: sal_uInt16 nCurPos; sal_Bool bRelease; -#ifdef _SVX_ITEMWIN_CXX void ReleaseFocus_Impl(); -#endif }; #endif // #ifndef _SVX_ITEMWIN_HXX diff --git a/include/svx/numfmtsh.hxx b/include/svx/numfmtsh.hxx index 2a8607c13b42..cba55594d6a6 100644 --- a/include/svx/numfmtsh.hxx +++ b/include/svx/numfmtsh.hxx @@ -199,7 +199,7 @@ private: sal_uInt16 nCurCurrencyEntryPos; std::vector<String*> aCurrencyFormatList; bool bUseStarFormat; -#ifdef _SVX_NUMFMTSH_CXX + SVX_DLLPRIVATE short FillEntryList_Impl( std::vector<String*>& rList ); SVX_DLLPRIVATE void FillEListWithStd_Impl( std::vector<String*>& rList,sal_uInt16 aPrivCat, short &Pos); SVX_DLLPRIVATE short FillEListWithFormats_Impl( std::vector<String*>& rList,short nSelPos, @@ -220,10 +220,8 @@ private: Color*& rpColor ); SVX_DLLPRIVATE void PosToCategory_Impl( sal_uInt16 nPos, short& rCategory ); SVX_DLLPRIVATE void CategoryToPos_Impl( short nCategory, sal_uInt16& rPos ); -#endif }; - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/optgrid.hxx b/include/svx/optgrid.hxx index 300dfaabcd4a..777a61a1fde4 100644 --- a/include/svx/optgrid.hxx +++ b/include/svx/optgrid.hxx @@ -155,16 +155,12 @@ protected: private: sal_Bool bAttrModified; -#ifdef _SVX_OPTGRID_CXX DECL_LINK( ClickRotateHdl_Impl, void * ); DECL_LINK( ChangeDrawHdl_Impl, MetricField * ); DECL_LINK( ChangeGridsnapHdl_Impl, void * ); DECL_LINK( ChangeDivisionHdl_Impl, NumericField * ); - -#endif }; - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svx/srchdlg.hxx b/include/svx/srchdlg.hxx index 9282e3e8cc7e..f9c44fa683db 100644 --- a/include/svx/srchdlg.hxx +++ b/include/svx/srchdlg.hxx @@ -223,7 +223,6 @@ private: mutable sal_Int32 nTransliterationFlags; -#ifdef _SVX_SRCHDLG_CXX DECL_LINK( ModifyHdl_Impl, ComboBox* pEdit ); DECL_LINK( FlagHdl_Impl, Control* pCtrl ); DECL_LINK( CommandHdl_Impl, Button* pBtn ); @@ -254,7 +253,6 @@ private: void SaveToModule_Impl(); void ApplyTransliterationFlags_Impl( sal_Int32 nSettings ); -#endif }; inline sal_Bool SvxSearchDialog::HasSearchAttributes() const diff --git a/include/tools/config.hxx b/include/tools/config.hxx index 1e73d32b5a33..64b690fda742 100644 --- a/include/tools/config.hxx +++ b/include/tools/config.hxx @@ -37,10 +37,8 @@ private: sal_Bool mbPersistence; sal_Bool mbDummy1; -#ifdef _CONFIG_CXX TOOLS_DLLPRIVATE sal_Bool ImplUpdateConfig() const; TOOLS_DLLPRIVATE ImplGroupData* ImplGetGroup() const; -#endif public: Config( const OUString& rFileName ); diff --git a/include/tools/multisel.hxx b/include/tools/multisel.hxx index 678fc94a998a..8b5d434130fa 100644 --- a/include/tools/multisel.hxx +++ b/include/tools/multisel.hxx @@ -42,12 +42,10 @@ private: sal_Bool bCurValid; // are nCurIndex and nCurSubSel valid sal_Bool bSelectNew; // auto-select newly inserted indexes -#ifdef _SV_MULTISEL_CXX TOOLS_DLLPRIVATE void ImplClear(); TOOLS_DLLPRIVATE size_t ImplFindSubSelection( long nIndex ) const; TOOLS_DLLPRIVATE sal_Bool ImplMergeSubSelections( size_t nPos1, size_t nPos2 ); TOOLS_DLLPRIVATE long ImplFwdUnselected(); -#endif public: MultiSelection(); diff --git a/svl/source/numbers/zforfind.cxx b/svl/source/numbers/zforfind.cxx index f80d7291e9eb..bd68ab4d3f3f 100644 --- a/svl/source/numbers/zforfind.cxx +++ b/svl/source/numbers/zforfind.cxx @@ -37,10 +37,7 @@ #include "zforscan.hxx" #include <svl/zformat.hxx> -#define _ZFORFIND_CXX #include "zforfind.hxx" -#undef _ZFORFIND_CXX - #ifndef DBG_UTIL #define NF_TEST_CALENDAR 0 diff --git a/svl/source/numbers/zforfind.hxx b/svl/source/numbers/zforfind.hxx index dadde5cc1a46..de864122a8a7 100644 --- a/svl/source/numbers/zforfind.hxx +++ b/svl/source/numbers/zforfind.hxx @@ -183,7 +183,6 @@ private: */ sal_uInt16 nDatePatternNumbers; -#ifdef _ZFORFIND_CXX // methods private to implementation void Reset(); // Reset all variables before start of analysis void InitText(); // Init of months and days of week @@ -414,12 +413,8 @@ private: @see nMayBeMonthDate */ bool MayBeMonthDate(); - -#endif // _ZFORFIND_CXX }; - - #endif // _ZFORFIND_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index 6b42aaa64561..ae0a1635f5a5 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -30,10 +30,8 @@ #include <unotools/misccfg.hxx> -#define _ZFORLIST_CXX #include <osl/mutex.hxx> #include <svl/zforlist.hxx> -#undef _ZFORLIST_CXX #include "zforscan.hxx" #include "zforfind.hxx" diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 8bc6dc24ff89..fc9254be53ea 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -36,7 +36,6 @@ #include <com/sun/star/i18n/CalendarDisplayCode.hpp> #include <com/sun/star/i18n/AmPmValue.hpp> -#define _ZFORMAT_CXX #include <svl/zformat.hxx> #include <zforscan.hxx> @@ -5479,4 +5478,24 @@ sal_uInt16 SvNumberformat::ImpGetNumForStringElementCount( sal_uInt16 nNumFor ) return nCnt; } +const CharClass& SvNumberformat::rChrCls() const +{ + return rScan.GetChrCls(); +} + +const LocaleDataWrapper& SvNumberformat::rLoc() const +{ + return rScan.GetLoc(); +} + +CalendarWrapper& SvNumberformat::GetCal() const +{ + return rScan.GetCal(); +} + +const SvNumberFormatter& SvNumberformat::GetFormatter() const +{ + return *rScan.GetNumberformatter(); +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx index a0d44dbb6472..43a354f7a13c 100644 --- a/svl/source/numbers/zforscan.cxx +++ b/svl/source/numbers/zforscan.cxx @@ -31,9 +31,8 @@ #include <svl/zformat.hxx> #include <unotools/digitgroupingiterator.hxx> -#define _ZFORSCAN_CXX #include "zforscan.hxx" -#undef _ZFORSCAN_CXX + #include <svl/nfsymbol.hxx> using namespace svt; diff --git a/svl/source/numbers/zforscan.hxx b/svl/source/numbers/zforscan.hxx index a93ef9660e28..7872b07e9dfa 100644 --- a/svl/source/numbers/zforscan.hxx +++ b/svl/source/numbers/zforscan.hxx @@ -218,7 +218,6 @@ private: // ---- privater Teil void InitSpecialKeyword( NfKeywordIndex eIdx ) const; void InitCompatCur() const; -#ifdef _ZFORSCAN_CXX // ----- private Methoden ----- void SetDependentKeywords(); // Setzt die Sprachabh. Keyw. void SkipStrings(sal_uInt16& i, sal_Int32& nPos);// Ueberspringt StringSymbole @@ -270,12 +269,8 @@ private: // ---- privater Teil // remove "..." and \... quotes from rStr, return how many chars removed static sal_Int32 RemoveQuotes( OUString& rStr ); - -#endif //_ZFORSCAN_CXX }; - - #endif // _ZFORSCAN_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx index 8ef2de24ef0c..a37cda3b3016 100644 --- a/svtools/source/control/calendar.cxx +++ b/svtools/source/control/calendar.cxx @@ -33,7 +33,6 @@ #include <com/sun/star/i18n/CalendarDisplayIndex.hpp> #include <com/sun/star/i18n/CalendarFieldIndex.hpp> -#define _SV_CALENDAR_CXX #include <svtools/svtools.hrc> #include <svtools/svtresid.hxx> #include <svtools/calendar.hxx> diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index 663d24735e89..10ec0f1f5b0d 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - -#define _CTRLBOX_CXX #include <tools/stream.hxx> #include <vcl/builder.hxx> #include <vcl/svapp.hxx> diff --git a/svtools/source/control/ctrltool.cxx b/svtools/source/control/ctrltool.cxx index e225bc3c50e2..e4e6dd24bf29 100644 --- a/svtools/source/control/ctrltool.cxx +++ b/svtools/source/control/ctrltool.cxx @@ -17,9 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - -#define CTRLTOOL_CXX - #include <string.h> #include <comphelper/string.hxx> diff --git a/svtools/source/control/headbar.cxx b/svtools/source/control/headbar.cxx index 6e7f88e4b8b3..0cf073032f56 100644 --- a/svtools/source/control/headbar.cxx +++ b/svtools/source/control/headbar.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - -#define _SV_HEADBAR_CXX #include <svtools/headbar.hxx> #include <tools/debug.hxx> diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx index bd999746c007..7e5e2f17585d 100644 --- a/svtools/source/control/ruler.cxx +++ b/svtools/source/control/ruler.cxx @@ -17,14 +17,12 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include <string.h> #include <tools/debug.hxx> #include <vcl/svapp.hxx> #include <tools/poly.hxx> #include <vcl/i18nhelp.hxx> -#define _SV_RULER_CXX #include <svtools/ruler.hxx> // ======================================================================= @@ -101,12 +99,10 @@ private: sal_Bool bAutoPageWidth; sal_Bool bTextRTL; -#ifdef _SV_RULER_CXX public: ImplRulerData(); ~ImplRulerData(); ImplRulerData& operator=( const ImplRulerData& rData ); -#endif }; diff --git a/svtools/source/control/scrwin.cxx b/svtools/source/control/scrwin.cxx index c66a31eba5f6..5535e4c0df1a 100644 --- a/svtools/source/control/scrwin.cxx +++ b/svtools/source/control/scrwin.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - -#define _SVT_SCRWIN_CXX #include <svtools/scrwin.hxx> //=================================================================== diff --git a/svtools/source/control/valueacc.cxx b/svtools/source/control/valueacc.cxx index 53c443266bfe..1bef13a9a1ef 100644 --- a/svtools/source/control/valueacc.cxx +++ b/svtools/source/control/valueacc.cxx @@ -17,9 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - -#define _SV_VALUESET_CXX - #include <unotools/accessiblestatesethelper.hxx> #include <vcl/svapp.hxx> #include <svtools/valueset.hxx> diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index 1e349b474382..9eb212488195 100644 --- a/svtools/source/control/valueset.cxx +++ b/svtools/source/control/valueset.cxx @@ -31,7 +31,6 @@ #include "valueimp.hxx" -#define _SV_VALUESET_CXX #include <svtools/valueset.hxx> namespace diff --git a/svtools/source/dialogs/wizdlg.cxx b/svtools/source/dialogs/wizdlg.cxx index 8112b5864813..1a9191af5855 100644 --- a/svtools/source/dialogs/wizdlg.cxx +++ b/svtools/source/dialogs/wizdlg.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - -#define _SVT_WIZDLG_CXX #include <vcl/fixed.hxx> #include <vcl/button.hxx> #include <vcl/tabpage.hxx> diff --git a/svx/source/accessibility/charmapacc.cxx b/svx/source/accessibility/charmapacc.cxx index fe67018aa039..772832918726 100644 --- a/svx/source/accessibility/charmapacc.cxx +++ b/svx/source/accessibility/charmapacc.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - -#define _SVX_CHARMAP_CXX_ #include <unotools/accessiblestatesethelper.hxx> #include <vcl/svapp.hxx> #include <stdio.h> diff --git a/svx/source/dialog/charmap.cxx b/svx/source/dialog/charmap.cxx index f8434defeeac..23494a87e396 100644 --- a/svx/source/dialog/charmap.cxx +++ b/svx/source/dialog/charmap.cxx @@ -19,7 +19,6 @@ #include <stdio.h> -#define _SVX_CHARMAP_CXX_ #include <vcl/svapp.hxx> #include <svtools/colorcfg.hxx> diff --git a/svx/source/dialog/checklbx.cxx b/svx/source/dialog/checklbx.cxx index 266eac6b2638..d3145bc14b87 100644 --- a/svx/source/dialog/checklbx.cxx +++ b/svx/source/dialog/checklbx.cxx @@ -21,8 +21,6 @@ #include <svtools/treelistentry.hxx> -#define _SVX_CHECKLBX_CXX - #include <svx/checklbx.hxx> #include <svx/dialmgr.hxx> diff --git a/svx/source/dialog/fontwork.cxx b/svx/source/dialog/fontwork.cxx index 5efd33ad151e..32aab9e8a89c 100644 --- a/svx/source/dialog/fontwork.cxx +++ b/svx/source/dialog/fontwork.cxx @@ -21,7 +21,6 @@ #include <sfx2/dispatch.hxx> #include <tools/shl.hxx> -#define _SVX_FONTWORK_CXX #include <svx/svdobj.hxx> #include <svx/svdopath.hxx> #include <svx/svdview.hxx> diff --git a/svx/source/dialog/hdft.cxx b/svx/source/dialog/hdft.cxx index 639afffea6a9..b987f439f904 100644 --- a/svx/source/dialog/hdft.cxx +++ b/svx/source/dialog/hdft.cxx @@ -31,8 +31,6 @@ #include <svl/intitem.hxx> -#define _SVX_HDFT_CXX - #include <svx/hdft.hxx> #include <svx/pageitem.hxx> diff --git a/svx/source/dialog/optgrid.cxx b/svx/source/dialog/optgrid.cxx index f6ceeae7f3bc..664c70eb1f1b 100644 --- a/svx/source/dialog/optgrid.cxx +++ b/svx/source/dialog/optgrid.cxx @@ -22,8 +22,6 @@ #include <sfx2/module.hxx> #include <svl/intitem.hxx> -#define _SVX_OPTGRID_CXX - #include <svx/svxids.hrc> #include <svx/dialmgr.hxx> #include "svx/optgrid.hxx" diff --git a/svx/source/dialog/srchctrl.cxx b/svx/source/dialog/srchctrl.cxx index a766d0506b4c..2e4254136841 100644 --- a/svx/source/dialog/srchctrl.cxx +++ b/svx/source/dialog/srchctrl.cxx @@ -22,8 +22,6 @@ #include <svx/svxids.hrc> -#define _SVX_SRCHDLG_CXX // so that private methods from SrchDlgare known - #include "srchctrl.hxx" #include "svx/srchdlg.hxx" #include <svl/srchitem.hxx> diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index 26dd195c3ece..ae395a0859e7 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -47,7 +47,6 @@ #include <sfx2/app.hxx> #include <toolkit/unohlp.hxx> -#define _SVX_SRCHDLG_CXX #include "svx/srchdlg.hxx" #include <svx/dialogs.hrc> diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx index 2616f7391ff2..ae6fbe7358d6 100644 --- a/svx/source/items/numfmtsh.cxx +++ b/svx/source/items/numfmtsh.cxx @@ -19,7 +19,6 @@ #include <tools/color.hxx> -#define _SVX_NUMFMTSH_CXX #include <tools/debug.hxx> #include <i18nlangtag/mslangid.hxx> diff --git a/svx/source/stbctrls/insctrl.cxx b/svx/source/stbctrls/insctrl.cxx index 1e931a98ae38..f992882b8168 100644 --- a/svx/source/stbctrls/insctrl.cxx +++ b/svx/source/stbctrls/insctrl.cxx @@ -23,8 +23,6 @@ #include <sfx2/app.hxx> #include <sfx2/dispatch.hxx> -#define _SVX_INSCTRL_CXX - #include <svx/dialogs.hrc> #include "svx/insctrl.hxx" diff --git a/svx/source/tbxctrls/itemwin.cxx b/svx/source/tbxctrls/itemwin.cxx index 8043a54024df..da87d2314622 100644 --- a/svx/source/tbxctrls/itemwin.cxx +++ b/svx/source/tbxctrls/itemwin.cxx @@ -24,8 +24,6 @@ #include <sfx2/module.hxx> #include <tools/urlobj.hxx> -#define _SVX_ITEMWIN_CXX - #include <vcl/svapp.hxx> #include <svx/dialogs.hrc> diff --git a/tools/source/generic/config.cxx b/tools/source/generic/config.cxx index 64c0fdf23f06..854136ef284f 100644 --- a/tools/source/generic/config.cxx +++ b/tools/source/generic/config.cxx @@ -16,7 +16,6 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#define _CONFIG_CXX #include <cstddef> #include <cstdlib> diff --git a/tools/source/memtools/multisel.cxx b/tools/source/memtools/multisel.cxx index 1219dd5da3a7..d91c49983426 100644 --- a/tools/source/memtools/multisel.cxx +++ b/tools/source/memtools/multisel.cxx @@ -16,7 +16,6 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#define _SV_MULTISEL_CXX #ifdef MI_DEBUG #define private public |