summaryrefslogtreecommitdiff
path: root/editeng
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 /editeng
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 'editeng')
-rw-r--r--editeng/source/items/bulitem.cxx2
-rw-r--r--editeng/source/outliner/outleeng.cxx1
-rw-r--r--editeng/source/outliner/outlin2.cxx2
-rw-r--r--editeng/source/outliner/outliner.cxx1
-rw-r--r--editeng/source/outliner/outlobj.cxx1
-rw-r--r--editeng/source/outliner/outlundo.cxx1
-rw-r--r--editeng/source/outliner/outlvw.cxx1
7 files changed, 0 insertions, 9 deletions
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>