From ec8617568ff091026b2f17cce3b547b1633fa6c4 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 26 Apr 2013 20:41:07 +0300 Subject: 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 Reviewed-by: David Tardon Tested-by: David Tardon --- tools/source/generic/config.cxx | 1 - tools/source/memtools/multisel.cxx | 1 - 2 files changed, 2 deletions(-) (limited to 'tools') diff --git a/tools/source/generic/config.cxx b/tools/source/generic/config.cxx index 64c0fdf23f06..854136ef284f 100644 --- a/tools/source/generic/config.cxx +++ b/tools/source/generic/config.cxx @@ -16,7 +16,6 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#define _CONFIG_CXX #include #include diff --git a/tools/source/memtools/multisel.cxx b/tools/source/memtools/multisel.cxx index 1219dd5da3a7..d91c49983426 100644 --- a/tools/source/memtools/multisel.cxx +++ b/tools/source/memtools/multisel.cxx @@ -16,7 +16,6 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#define _SV_MULTISEL_CXX #ifdef MI_DEBUG #define private public -- cgit