diff options
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 |