diff options
author | Stef Walter <stef@memberwebs.com> | 2004-07-29 22:52:30 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-07-29 22:52:30 +0000 |
commit | 740d8a6bcb6521e188361befa7f5636c880bf63b (patch) | |
tree | f269a5d492d712be73d840fdefeb6ad247ee03db /src/rtfparser.h | |
parent | 0105af34f6977c51619bf1060e74e3c249932c68 (diff) |
- Moved to DOMC
Diffstat (limited to 'src/rtfparser.h')
-rw-r--r-- | src/rtfparser.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rtfparser.h b/src/rtfparser.h index 9509a35..0090648 100644 --- a/src/rtfparser.h +++ b/src/rtfparser.h @@ -87,7 +87,7 @@ protected: int m_uniEat; FILE* m_file; // The file we're currently parsing - wstring m_dataBuffer; // The block of data we're caching to send + string m_dataBuffer; // The block of data we're caching to send private: @@ -96,9 +96,9 @@ private: bool parseHexChar(int num); // Convenience functions for calling the handler - void sendControlWord(string cw, int flags, int param); + void sendControlWord(const string& cw, int flags, int param); void sendData(wchar_t ch); - void sendData(wstring data); + void sendData(const wstring& data); void flushData(); }; @@ -129,7 +129,7 @@ public: virtual void groupEnd() = 0; // A block of character data encountered - virtual void charData(wstring data) = 0; + virtual void charData(const string& data) = 0; // Flags for controlWord enum |