summaryrefslogtreecommitdiffstats
path: root/writerperfect/source/draw/WPGImportFilter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect/source/draw/WPGImportFilter.cxx')
-rw-r--r--writerperfect/source/draw/WPGImportFilter.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/writerperfect/source/draw/WPGImportFilter.cxx b/writerperfect/source/draw/WPGImportFilter.cxx
index 4341af2c36a3..6c0eac03f8d0 100644
--- a/writerperfect/source/draw/WPGImportFilter.cxx
+++ b/writerperfect/source/draw/WPGImportFilter.cxx
@@ -19,6 +19,8 @@
#include <libodfgen/libodfgen.hxx>
+#include <libwpg/libwpg.h>
+
#include "WPGImportFilter.hxx"
using com::sun::star::uno::Reference;
@@ -28,12 +30,12 @@ using com::sun::star::uno::Sequence;
using com::sun::star::uno::XComponentContext;
using com::sun::star::uno::XInterface;
-bool WPGImportFilter::doImportDocument( WPXInputStream &rInput, libwpg::WPGPaintInterface &rGenerator )
+bool WPGImportFilter::doImportDocument( librevenge::RVNGInputStream &rInput, librevenge::RVNGDrawingInterface &rGenerator )
{
return libwpg::WPGraphics::parse(&rInput, &rGenerator);
}
-bool WPGImportFilter::doDetectFormat( WPXInputStream &rInput, OUString &rTypeName )
+bool WPGImportFilter::doDetectFormat( librevenge::RVNGInputStream &rInput, OUString &rTypeName )
{
if (libwpg::WPGraphics::isSupported(&rInput))
{