summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-07-04 20:56:08 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-07-04 21:01:15 +0200
commit7989bba5b65b6fd27fb99197087456da0b2eee17 (patch)
tree88a80f71473b8b7b6fc6d17a141dfa39c745f75b /writerperfect
parentb8c2ade611f1fc8025aaa8715df9d11dd1d1d631 (diff)
No need to suppress warnings anymore
The corresponding classes in libwpd-0.9.x have virtual destructor if they have virtual functions. Change-Id: Ibf97b45e7ce7d5949ac8bea0a8c204b548f567e4
Diffstat (limited to 'writerperfect')
-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
{