diff options
author | Stef <stef@ws.local> | 2004-07-23 22:01:58 +0000 |
---|---|---|
committer | Stef <stef@ws.local> | 2004-07-23 22:01:58 +0000 |
commit | 44d34e022dbcda08908c298b5328e0b0bdda6f09 (patch) | |
tree | 8761c84be69a34d3ca175293f87f26eb98b02e40 /src/rtfx.cpp | |
parent | ae28df20927567f2d62b575ed4aef2d127569265 (diff) |
- Code cleanup.
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); |