summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--writerperfect/source/filter/DocumentHandler.hxx6
-rw-r--r--writerperfect/source/stream/WPXSvStream.h12
2 files changed, 1 insertions, 17 deletions
diff --git a/writerperfect/source/filter/DocumentHandler.hxx b/writerperfect/source/filter/DocumentHandler.hxx
index 13dac59802ee..d781f30d56f1 100644
--- a/writerperfect/source/filter/DocumentHandler.hxx
+++ b/writerperfect/source/filter/DocumentHandler.hxx
@@ -22,13 +22,7 @@
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
-#if defined _MSC_VER
-#pragma warning( push, 1 )
-#endif
#include <libwpd/libwpd.h>
-#if defined _MSC_VER
-#pragma warning( pop )
-#endif
#include "OdfDocumentHandler.hxx"
diff --git a/writerperfect/source/stream/WPXSvStream.h b/writerperfect/source/stream/WPXSvStream.h
index 6206a00d5172..248e081821d3 100644
--- a/writerperfect/source/stream/WPXSvStream.h
+++ b/writerperfect/source/stream/WPXSvStream.h
@@ -4,19 +4,9 @@
#include <sot/storage.hxx>
#include <com/sun/star/io/XInputStream.hpp>
-
-#ifndef _COM_SUN_STAR_IO_XINPUTSTREAM_H_
#include <com/sun/star/io/XSeekable.hpp>
-#endif
-
-#if defined _MSC_VER
-#pragma warning( push, 1 )
-#endif
-#include <libwpd-stream/WPXStream.h>
-#if defined _MSC_VER
-#pragma warning( pop )
-#endif
+#include <libwpd-stream/libwpd-stream.h>
typedef struct
{