diff options
Diffstat (limited to 'connectivity/source/inc/file/quotedstring.hxx')
-rw-r--r-- | connectivity/source/inc/file/quotedstring.hxx | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/connectivity/source/inc/file/quotedstring.hxx b/connectivity/source/inc/file/quotedstring.hxx index b7b13d7d8bcc..6c39e7cdda9b 100644 --- a/connectivity/source/inc/file/quotedstring.hxx +++ b/connectivity/source/inc/file/quotedstring.hxx @@ -31,16 +31,17 @@ namespace connectivity //================================================================== class OOO_DLLPUBLIC_FILE QuotedTokenizedString { - String m_sString; + OUString m_sString; public: QuotedTokenizedString() {} - QuotedTokenizedString(const String& _sString) : m_sString(_sString){} + QuotedTokenizedString(const OUString& _sString) : m_sString(_sString){} - xub_StrLen GetTokenCount( sal_Unicode cTok , sal_Unicode cStrDel ) const; - String GetTokenSpecial(xub_StrLen& nStartPos, sal_Unicode cTok = ';', sal_Unicode cStrDel = '\0') const; - inline String& GetString() { return m_sString; } - inline xub_StrLen Len() const { return m_sString.Len(); } - inline operator String&() { return m_sString; } + sal_Int32 GetTokenCount( sal_Unicode cTok , sal_Unicode cStrDel ) const; + OUString GetTokenSpecial(sal_Int32& nStartPos, sal_Unicode cTok = ';', sal_Unicode cStrDel = '\0') const; + inline OUString& GetString() { return m_sString; } + inline void SetString(OUString aStr) { m_sString = aStr;} + inline sal_Int32 Len() const { return m_sString.getLength(); } + inline operator OUString&() { return m_sString; } }; } |