summaryrefslogtreecommitdiffstats
path: root/include/svtools/valueset.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 /include/svtools/valueset.hxx
parentremove now unused src Dialog resources (diff)
downloadcore-ec8617568ff091026b2f17cce3b547b1633fa6c4.tar.gz
core-ec8617568ff091026b2f17cce3b547b1633fa6c4.zip
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 'include/svtools/valueset.hxx')
-rw-r--r--include/svtools/valueset.hxx4
1 files changed, 0 insertions, 4 deletions
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 &);