diff options
Diffstat (limited to 'src/rtfx.cpp')
-rw-r--r-- | src/rtfx.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/rtfx.cpp b/src/rtfx.cpp index a620498..cbecdb9 100644 --- a/src/rtfx.cpp +++ b/src/rtfx.cpp @@ -41,8 +41,8 @@ #include <stdio.h> #include <errno.h> -#include "rtfreader.h" -#include "rtfanalyser.h" +#include "rtfparser.h" +#include "xmlcomposer.h" int usage() { @@ -66,14 +66,12 @@ int main(int argc, char* argv[]) return 1; } - // Default options - RtfParserOptions options; - // Reads RTF tags and blocks RtfParser rtf; // Interprets tags and blocks from RTFParser - XMLComposer composer(options); + XmlComposerOptions options; + XmlComposer composer(options); rtf.setHandler(&composer); bool ret = rtf.parse(file); |