summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-09-15 11:55:35 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-09-15 12:02:59 +0300
commit6b457882d011d218ab4764e71fc8d5edfb1d8a87 (patch)
treec9c45818703538a9408e882771e7a5f3f519578c /sw
parentc95d90199397b529de1a9979c065a7f35e52a188 (diff)
We can't #define _HAS_ITERATOR_DEBUGGING 0 in just some of the source files
It seems that _HAS_ITERATOR_DEBUGGING affects the layout of some classes, which of course means horrible breakage if some of the source files are compiled with it, the rest not. http://msdn.microsoft.com/en-us/library/aa985939%28v=vs.80%29.aspx http://connect.microsoft.com/VisualStudio/feedback/details/334315/has-iterator-debugging-0-causes-crash I will just have to fix the code in this handful of source files so that it compiles with _DEBUG defined. If I can be bothered.
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/crsr/crbm.cxx4
-rw-r--r--sw/source/core/doc/docbm.cxx4
-rw-r--r--sw/source/core/unocore/unoportenum.cxx4
-rw-r--r--sw/source/filter/writer/writer.cxx4
4 files changed, 0 insertions, 16 deletions
diff --git a/sw/source/core/crsr/crbm.cxx b/sw/source/core/crsr/crbm.cxx
index e5ce3347b2c7..33a2c686ebaa 100644
--- a/sw/source/core/crsr/crbm.cxx
+++ b/sw/source/core/crsr/crbm.cxx
@@ -26,10 +26,6 @@
*
************************************************************************/
-#ifdef _MSC_VER
-#define _HAS_ITERATOR_DEBUGGING 0
-#endif
-
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx
index 2e3b850da72f..a190c68a42ac 100644
--- a/sw/source/core/doc/docbm.cxx
+++ b/sw/source/core/doc/docbm.cxx
@@ -26,10 +26,6 @@
*
************************************************************************/
-#ifdef _MSC_VER
-#define _HAS_ITERATOR_DEBUGGING 0
-#endif
-
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx
index 42e6c9681934..75ec0c841f5e 100644
--- a/sw/source/core/unocore/unoportenum.cxx
+++ b/sw/source/core/unocore/unoportenum.cxx
@@ -26,10 +26,6 @@
*
************************************************************************/
-#ifdef _MSC_VER
-#define _HAS_ITERATOR_DEBUGGING 0
-#endif
-
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
diff --git a/sw/source/filter/writer/writer.cxx b/sw/source/filter/writer/writer.cxx
index 47dc806c66b7..bbda865358aa 100644
--- a/sw/source/filter/writer/writer.cxx
+++ b/sw/source/filter/writer/writer.cxx
@@ -26,10 +26,6 @@
*
************************************************************************/
-#ifdef _MSC_VER
-#define _HAS_ITERATOR_DEBUGGING 0
-#endif
-
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"