summaryrefslogtreecommitdiff
path: root/src/rtfparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rtfparser.cpp')
-rw-r--r--src/rtfparser.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/rtfparser.cpp b/src/rtfparser.cpp
index f2379b3..336847f 100644
--- a/src/rtfparser.cpp
+++ b/src/rtfparser.cpp
@@ -1,16 +1,10 @@
-// RtfReader.cpp: implementation of the RtfReader class.
-//
-//////////////////////////////////////////////////////////////////////
-#include "stdafx.h"
+#include "usuals.h"
#include <stdlib.h>
#include <stdio.h>
-#include "RtfReader.h"
+#include "rtfreader.h"
-//////////////////////////////////////////////////////////////////////
-// Construction/Destruction
-//////////////////////////////////////////////////////////////////////
const int RtfHandler::kAsterisk = 0x00000001;
const int RtfHandler::kHasParam = 0x00000002;
@@ -33,7 +27,7 @@ RtfReader::~RtfReader()
bool RtfReader::parse(string fileName)
{
- FILE* file = fopen(fileName, "r");
+ FILE* file = fopen(fileName.c_str(), "r");
if(!file)
return false;