summaryrefslogtreecommitdiff
path: root/cui/source/inc/cuitabline.hxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-04-26 20:41:07 +0300
committerDavid Tardon <dtardon@redhat.com>2013-04-27 09:28:37 +0000
commitec8617568ff091026b2f17cce3b547b1633fa6c4 (patch)
tree70a54e6853121e2ff178ead66843a2deaa888fa4 /cui/source/inc/cuitabline.hxx
parent4667a55fd47db456d36ad151656b4041a6ded034 (diff)
Bin ugly (ab)use of preprocessor in headers
The time when it made sense to use "clever" #ifdefs to, for performance or compiler reasons, conditionally bypass private parts of a class declaration passed a decade or longer ago. Still more of this in sw and sc. People working on those modules might want to do it too, or not. Change-Id: I1053139ca5e5e2631f7b22d99d3bada54fc337be Reviewed-on: https://gerrit.libreoffice.org/3627 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'cui/source/inc/cuitabline.hxx')
-rw-r--r--cui/source/inc/cuitabline.hxx8
1 files changed, 0 insertions, 8 deletions
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 );