diff options
| author | Ted Gould <ted@gould.cx> | 2007-10-31 13:29:03 +0000 |
|---|---|---|
| committer | gouldtj <gouldtj@users.sourceforge.net> | 2007-10-31 13:29:03 +0000 |
| commit | 104e290f32609d4ced29fb2ff12686e2cbcb6439 (patch) | |
| tree | 33d6912f4343cead8d14554b9970be4f947fee96 /src/extension/internal/wpg-input.cpp | |
| parent | r16913@shi: ted | 2007-10-30 21:32:09 -0700 (diff) | |
| download | inkscape-104e290f32609d4ced29fb2ff12686e2cbcb6439.tar.gz inkscape-104e290f32609d4ced29fb2ff12686e2cbcb6439.zip | |
r16914@shi: ted | 2007-10-30 21:58:05 -0700
Switching everything over to a linked in libwpg
(bzr r3992)
Diffstat (limited to 'src/extension/internal/wpg-input.cpp')
| -rw-r--r-- | src/extension/internal/wpg-input.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/extension/internal/wpg-input.cpp b/src/extension/internal/wpg-input.cpp index fd0cdff39..c385a9f14 100644 --- a/src/extension/internal/wpg-input.cpp +++ b/src/extension/internal/wpg-input.cpp @@ -46,7 +46,7 @@ #include "document.h" #include "libwpg/libwpg.h" -#include "libwpg/WPGSVGGenerator.h" +#include "libwpg/WPGStreamImplementation.h" using namespace libwpg; @@ -57,9 +57,9 @@ namespace Internal { SPDocument * WpgInput::open(Inkscape::Extension::Input * mod, const gchar * uri) { - WPGInputStream* input = new WPGFileStream(uri); - if (input->isOle()) { - WPGInputStream* olestream = input->getWPGOleStream(); + WPXInputStream* input = new libwpg::WPGFileStream(uri); + if (input->isOLEStream()) { + WPXInputStream* olestream = input->getDocumentOLEStream(); if (olestream) { delete input; input = olestream; |
