summaryrefslogtreecommitdiff
path: root/src/conv/html/sw6022html.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/conv/html/sw6022html.cpp')
-rw-r--r--src/conv/html/sw6022html.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/conv/html/sw6022html.cpp b/src/conv/html/sw6022html.cpp
index 1c08d76..7356ef9 100644
--- a/src/conv/html/sw6022html.cpp
+++ b/src/conv/html/sw6022html.cpp
@@ -52,7 +52,7 @@ int printVersion()
} // anonymous namespace
-using libsw602::Software602Document;
+using libsw602::SW602Document;
int main(int argc, char *argv[])
{
@@ -76,16 +76,16 @@ int main(int argc, char *argv[])
librevenge::RVNGFileStream input(file);
- Software602Document::Kind kind = Software602Document::KIND_UNKNOWN;
- const Software602Document::Confidence confidence = Software602Document::isSupported(&input, kind);
- if ((kind != Software602Document::KIND_TEXT) || (confidence != Software602Document::CONFIDENCE_EXCELLENT))
+ SW602Document::Kind kind = SW602Document::KIND_UNKNOWN;
+ const SW602Document::Confidence confidence = SW602Document::isSupported(&input, kind);
+ if ((kind != SW602Document::KIND_TEXT) || (confidence != SW602Document::CONFIDENCE_EXCELLENT))
fprintf(stderr, "unsupported file format\n");
return 1;
librevenge::RVNGString document;
librevenge::RVNGHTMLTextGenerator documentGenerator(document);
- if (Software602Document::parse(&input, &documentGenerator) != Software602Document::RESULT_OK)
+ if (SW602Document::parse(&input, &documentGenerator) != SW602Document::RESULT_OK)
{
fprintf(stderr, "parsing failed\n");
return 1;