diff options
author | Stef Walter <stef@memberwebs.com> | 2004-07-23 22:01:58 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-07-23 22:01:58 +0000 |
commit | 47d4f141d6a5436e20f10ea62d48a5b3051e3718 (patch) | |
tree | 8761c84be69a34d3ca175293f87f26eb98b02e40 /src/rtfx.cpp | |
parent | 879f4addd4c94492c21c36c0be98122a879907bf (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); |