summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-12-27 13:07:11 +0200
committerTor Lillqvist <tml@iki.fi>2012-12-27 13:18:24 +0200
commitc318f3b0224a57102614be0efec4b49c80a3aa82 (patch)
treea79ef6e3fc20c2323084a8a845ba32619427f26d /sw
parent90649a207822e1fb402599987b1ac3d4705b1330 (diff)
Check for _MSC_VER instead of MSC in sources
Change-Id: Ibaf2501e6b655913963a53c1cd63668f1c4cccb2
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/html/css1atr.cxx4
-rw-r--r--sw/source/filter/html/htmlatr.cxx4
-rw-r--r--sw/source/filter/ww8/ww8atr.cxx4
3 files changed, 9 insertions, 3 deletions
diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx
index 46c1ddb09dbc..796ac3c70309 100644
--- a/sw/source/filter/html/css1atr.cxx
+++ b/sw/source/filter/html/css1atr.cxx
@@ -103,7 +103,9 @@ using ::editeng::SvxBorderLine;
* diese Section und die dazugeherigen Tabellen muessen in folgenden Files
* gepflegt werden: rtf\rtfatr.cxx, sw6\sw6atr.cxx, w4w\w4watr.cxx
*/
-#if !defined(UNX) && !defined(MSC) && !defined(PPC) && !defined(__MINGW32__)
+#if !defined(UNX) && !defined(_MSC_VER) && !defined(PPC) && !defined(__MINGW32__)
+
+#error Interesting, I though this ifdef block would never be compiled. So remove this line and please tell me --tml@iki.fi
#define ATTRFNTAB_SIZE 130
#if ATTRFNTAB_SIZE != POOLATTR_END - POOLATTR_BEGIN
diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx
index 7bd1af697919..d48202e065d3 100644
--- a/sw/source/filter/html/htmlatr.cxx
+++ b/sw/source/filter/html/htmlatr.cxx
@@ -86,7 +86,9 @@ using namespace ::com::sun::star;
* diese Section und die dazugeherigen Tabellen muessen in folgenden Files
* gepflegt werden: rtf\rtfatr.cxx, sw6\sw6atr.cxx, w4w\w4watr.cxx
*/
-#if !defined(UNX) && !defined(MSC) && !defined(PPC) && !defined(__MINGW32__)
+#if !defined(UNX) && !defined(_MSC_VER) && !defined(PPC) && !defined(__MINGW32__)
+
+#error Interesting, I though this ifdef block would never be compiled. So remove this line and please tell me --tml@iki.fi
#define ATTRFNTAB_SIZE 130
#if ATTRFNTAB_SIZE != POOLATTR_END - POOLATTR_BEGIN
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index b45ee1a76b02..2c9c3e90b38d 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -140,7 +140,9 @@ using namespace nsSwDocInfoSubType;
* gepflegt werden: rtf\rtfatr.cxx, sw6\sw6atr.cxx, w4w\w4watr.cxx
*/
-#if !defined(MSC) && !defined(UNX) && !defined(PPC) && !defined(__MINGW32__)
+#if !defined(_MSC_VER) && !defined(UNX) && !defined(PPC) && !defined(__MINGW32__)
+
+#error Interesting, I though this ifdef block would never be compiled. So remove this line and please tell me --tml@iki.fi
#define ATTRFNTAB_SIZE 130
#if ATTRFNTAB_SIZE != POOLATTR_END - POOLATTR_BEGIN