summaryrefslogtreecommitdiff
path: root/svx
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 /svx
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 'svx')
-rw-r--r--svx/source/accessibility/charmapacc.cxx2
-rw-r--r--svx/source/dialog/charmap.cxx1
-rw-r--r--svx/source/dialog/checklbx.cxx2
-rw-r--r--svx/source/dialog/fontwork.cxx1
-rw-r--r--svx/source/dialog/hdft.cxx2
-rw-r--r--svx/source/dialog/optgrid.cxx2
-rw-r--r--svx/source/dialog/srchctrl.cxx2
-rw-r--r--svx/source/dialog/srchdlg.cxx1
-rw-r--r--svx/source/items/numfmtsh.cxx1
-rw-r--r--svx/source/stbctrls/insctrl.cxx2
-rw-r--r--svx/source/tbxctrls/itemwin.cxx2
11 files changed, 0 insertions, 18 deletions
diff --git a/svx/source/accessibility/charmapacc.cxx b/svx/source/accessibility/charmapacc.cxx
index fe67018aa039..772832918726 100644
--- a/svx/source/accessibility/charmapacc.cxx
+++ b/svx/source/accessibility/charmapacc.cxx
@@ -17,8 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
-#define _SVX_CHARMAP_CXX_
#include <unotools/accessiblestatesethelper.hxx>
#include <vcl/svapp.hxx>
#include <stdio.h>
diff --git a/svx/source/dialog/charmap.cxx b/svx/source/dialog/charmap.cxx
index f8434defeeac..23494a87e396 100644
--- a/svx/source/dialog/charmap.cxx
+++ b/svx/source/dialog/charmap.cxx
@@ -19,7 +19,6 @@
#include <stdio.h>
-#define _SVX_CHARMAP_CXX_
#include <vcl/svapp.hxx>
#include <svtools/colorcfg.hxx>
diff --git a/svx/source/dialog/checklbx.cxx b/svx/source/dialog/checklbx.cxx
index 266eac6b2638..d3145bc14b87 100644
--- a/svx/source/dialog/checklbx.cxx
+++ b/svx/source/dialog/checklbx.cxx
@@ -21,8 +21,6 @@
#include <svtools/treelistentry.hxx>
-#define _SVX_CHECKLBX_CXX
-
#include <svx/checklbx.hxx>
#include <svx/dialmgr.hxx>
diff --git a/svx/source/dialog/fontwork.cxx b/svx/source/dialog/fontwork.cxx
index 5efd33ad151e..32aab9e8a89c 100644
--- a/svx/source/dialog/fontwork.cxx
+++ b/svx/source/dialog/fontwork.cxx
@@ -21,7 +21,6 @@
#include <sfx2/dispatch.hxx>
#include <tools/shl.hxx>
-#define _SVX_FONTWORK_CXX
#include <svx/svdobj.hxx>
#include <svx/svdopath.hxx>
#include <svx/svdview.hxx>
diff --git a/svx/source/dialog/hdft.cxx b/svx/source/dialog/hdft.cxx
index 639afffea6a9..b987f439f904 100644
--- a/svx/source/dialog/hdft.cxx
+++ b/svx/source/dialog/hdft.cxx
@@ -31,8 +31,6 @@
#include <svl/intitem.hxx>
-#define _SVX_HDFT_CXX
-
#include <svx/hdft.hxx>
#include <svx/pageitem.hxx>
diff --git a/svx/source/dialog/optgrid.cxx b/svx/source/dialog/optgrid.cxx
index f6ceeae7f3bc..664c70eb1f1b 100644
--- a/svx/source/dialog/optgrid.cxx
+++ b/svx/source/dialog/optgrid.cxx
@@ -22,8 +22,6 @@
#include <sfx2/module.hxx>
#include <svl/intitem.hxx>
-#define _SVX_OPTGRID_CXX
-
#include <svx/svxids.hrc>
#include <svx/dialmgr.hxx>
#include "svx/optgrid.hxx"
diff --git a/svx/source/dialog/srchctrl.cxx b/svx/source/dialog/srchctrl.cxx
index a766d0506b4c..2e4254136841 100644
--- a/svx/source/dialog/srchctrl.cxx
+++ b/svx/source/dialog/srchctrl.cxx
@@ -22,8 +22,6 @@
#include <svx/svxids.hrc>
-#define _SVX_SRCHDLG_CXX // so that private methods from SrchDlgare known
-
#include "srchctrl.hxx"
#include "svx/srchdlg.hxx"
#include <svl/srchitem.hxx>
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index 26dd195c3ece..ae395a0859e7 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -47,7 +47,6 @@
#include <sfx2/app.hxx>
#include <toolkit/unohlp.hxx>
-#define _SVX_SRCHDLG_CXX
#include "svx/srchdlg.hxx"
#include <svx/dialogs.hrc>
diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx
index 2616f7391ff2..ae6fbe7358d6 100644
--- a/svx/source/items/numfmtsh.cxx
+++ b/svx/source/items/numfmtsh.cxx
@@ -19,7 +19,6 @@
#include <tools/color.hxx>
-#define _SVX_NUMFMTSH_CXX
#include <tools/debug.hxx>
#include <i18nlangtag/mslangid.hxx>
diff --git a/svx/source/stbctrls/insctrl.cxx b/svx/source/stbctrls/insctrl.cxx
index 1e931a98ae38..f992882b8168 100644
--- a/svx/source/stbctrls/insctrl.cxx
+++ b/svx/source/stbctrls/insctrl.cxx
@@ -23,8 +23,6 @@
#include <sfx2/app.hxx>
#include <sfx2/dispatch.hxx>
-#define _SVX_INSCTRL_CXX
-
#include <svx/dialogs.hrc>
#include "svx/insctrl.hxx"
diff --git a/svx/source/tbxctrls/itemwin.cxx b/svx/source/tbxctrls/itemwin.cxx
index 8043a54024df..da87d2314622 100644
--- a/svx/source/tbxctrls/itemwin.cxx
+++ b/svx/source/tbxctrls/itemwin.cxx
@@ -24,8 +24,6 @@
#include <sfx2/module.hxx>
#include <tools/urlobj.hxx>
-#define _SVX_ITEMWIN_CXX
-
#include <vcl/svapp.hxx>
#include <svx/dialogs.hrc>