summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/dialogs/postdlg.cxx2
-rw-r--r--cui/source/dialogs/zoom.cxx2
-rw-r--r--cui/source/inc/autocdlg.hxx17
-rw-r--r--cui/source/inc/connect.hxx2
-rw-r--r--cui/source/inc/cuitabarea.hxx16
-rw-r--r--cui/source/inc/cuitabline.hxx8
-rw-r--r--cui/source/inc/labdlg.hxx2
-rw-r--r--cui/source/inc/measure.hxx2
-rw-r--r--cui/source/inc/optdict.hxx6
-rw-r--r--cui/source/inc/optlingu.hxx4
-rw-r--r--cui/source/inc/optpath.hxx2
-rw-r--r--cui/source/inc/page.hxx2
-rw-r--r--cui/source/inc/paragrph.hxx10
-rw-r--r--cui/source/inc/postdlg.hxx3
-rw-r--r--cui/source/inc/tabstpge.hxx4
-rw-r--r--cui/source/inc/textanim.hxx3
-rw-r--r--cui/source/inc/textattr.hxx3
-rw-r--r--cui/source/inc/zoom.hxx2
-rw-r--r--cui/source/options/optdict.cxx2
-rw-r--r--cui/source/options/optinet2.cxx1
-rw-r--r--cui/source/options/optinet2.hxx6
-rw-r--r--cui/source/options/optlingu.cxx1
-rw-r--r--cui/source/options/optpath.cxx2
-rw-r--r--cui/source/options/optsave.cxx1
-rw-r--r--cui/source/options/optsave.hxx2
-rw-r--r--cui/source/tabpages/autocdlg.cxx1
-rw-r--r--cui/source/tabpages/connect.cxx2
-rw-r--r--cui/source/tabpages/labdlg.cxx1
-rw-r--r--cui/source/tabpages/measure.cxx2
-rw-r--r--cui/source/tabpages/page.cxx2
-rw-r--r--cui/source/tabpages/paragrph.cxx2
-rw-r--r--cui/source/tabpages/tabarea.cxx2
-rw-r--r--cui/source/tabpages/tabline.cxx1
-rw-r--r--cui/source/tabpages/tabstpge.cxx2
-rw-r--r--cui/source/tabpages/textanim.cxx3
-rw-r--r--cui/source/tabpages/textattr.cxx3
-rw-r--r--cui/source/tabpages/tparea.cxx2
-rw-r--r--cui/source/tabpages/tpbitmap.cxx2
-rw-r--r--cui/source/tabpages/tpcolor.cxx2
-rw-r--r--cui/source/tabpages/tpgradnt.cxx2
-rw-r--r--cui/source/tabpages/tphatch.cxx2
-rw-r--r--cui/source/tabpages/tpline.cxx2
-rw-r--r--cui/source/tabpages/tplnedef.cxx2
-rw-r--r--cui/source/tabpages/tplneend.cxx2
-rw-r--r--cui/source/tabpages/tpshadow.cxx2
45 files changed, 10 insertions, 134 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>