diff options
author | Noel Grandin <noel@peralex.com> | 2013-08-07 11:00:17 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-08-12 11:56:46 +0200 |
commit | 81386316c55f781ffd115bbae5d8d439a358bfcc (patch) | |
tree | 72682200b5f3ce2196642bbf7dea2b0bd1fce06a /vcl/source/edit/textdoc.hxx | |
parent | b417e5b5b8e6ca375082975f44aa70702d57e9bd (diff) |
convert vcl/source/edit/textdoc.hxx from String to OUString
Change-Id: Ie53f89d3112edb75d69d04777df1406ea4f980fa
Diffstat (limited to 'vcl/source/edit/textdoc.hxx')
-rw-r--r-- | vcl/source/edit/textdoc.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vcl/source/edit/textdoc.hxx b/vcl/source/edit/textdoc.hxx index bced05ddf613..d5aaadc5962e 100644 --- a/vcl/source/edit/textdoc.hxx +++ b/vcl/source/edit/textdoc.hxx @@ -71,7 +71,7 @@ public: class TextNode { private: - String maText; + OUString maText; TextCharAttribList maCharAttribs; TextNode( const TextNode& ) {;} @@ -80,15 +80,15 @@ protected: void CollapsAttribs( sal_uInt16 nIndex, sal_uInt16 nDelChars ); public: - TextNode( const String& rText ); + TextNode( const OUString& rText ); - const String& GetText() const { return maText; } + const OUString& GetText() const { return maText; } const TextCharAttribList& GetCharAttribs() const { return maCharAttribs; } TextCharAttribList& GetCharAttribs() { return maCharAttribs; } - void InsertText( sal_uInt16 nPos, const String& rText ); + void InsertText( sal_uInt16 nPos, const OUString& rText ); void InsertText( sal_uInt16 nPos, sal_Unicode c ); void RemoveText( sal_uInt16 nPos, sal_uInt16 nChars ); @@ -121,14 +121,14 @@ public: TextPaM InsertParaBreak( const TextPaM& rPaM, sal_Bool bKeepEndingAttribs ); TextPaM ConnectParagraphs( TextNode* pLeft, TextNode* pRight ); - sal_uLong GetTextLen( const sal_Unicode* pSep, const TextSelection* pSel = NULL ) const; + sal_uLong GetTextLen( const sal_Unicode* pSep, const TextSelection* pSel = NULL ) const; OUString GetText( const sal_Unicode* pSep ) const; OUString GetText( sal_uLong nPara ) const; void SetLeftMargin( sal_uInt16 n ) { mnLeftMargin = n; } - sal_uInt16 GetLeftMargin() const { return mnLeftMargin; } + sal_uInt16 GetLeftMargin() const { return mnLeftMargin; } - sal_Bool IsValidPaM( const TextPaM& rPaM ); + sal_Bool IsValidPaM( const TextPaM& rPaM ); }; #endif // _TEXTDOC_HXX |