summaryrefslogtreecommitdiff
path: root/cui/source/options/optinet2.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/options/optinet2.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/options/optinet2.hxx')
-rw-r--r--cui/source/options/optinet2.hxx6
1 files changed, 0 insertions, 6 deletions
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();