diff options
Diffstat (limited to 'writerperfect')
-rw-r--r-- | writerperfect/source/filter/DocumentCollector.cxx | 6 | ||||
-rw-r--r-- | writerperfect/source/filter/DocumentCollector.hxx | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/writerperfect/source/filter/DocumentCollector.cxx b/writerperfect/source/filter/DocumentCollector.cxx index 8366bf4385d4..0a9710869284 100644 --- a/writerperfect/source/filter/DocumentCollector.cxx +++ b/writerperfect/source/filter/DocumentCollector.cxx @@ -28,7 +28,13 @@ * Corel Corporation or Corel Corporation Limited." */ +#if defined _MSC_VER +#pragma warning( push, 1 ) +#endif #include <libwpd/libwpd.h> +#if defined _MSC_VER +#pragma warning( pop ) +#endif #include <string.h> // for strcmp #include "DocumentCollector.hxx" diff --git a/writerperfect/source/filter/DocumentCollector.hxx b/writerperfect/source/filter/DocumentCollector.hxx index 9c6517ea190a..fc874da724ed 100644 --- a/writerperfect/source/filter/DocumentCollector.hxx +++ b/writerperfect/source/filter/DocumentCollector.hxx @@ -32,7 +32,13 @@ #define _DOCUMENTCOLLECTOR_HXX #include "SectionStyle.hxx" +#if defined _MSC_VER +#pragma warning( push, 1 ) +#endif #include <libwpd/libwpd.h> +#if defined _MSC_VER +#pragma warning( pop ) +#endif #include <vector> #include <map> #include <stack> |