diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-07 09:09:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-08 08:33:46 +0200 |
commit | e61b20dc1aeb271fab1f143e336cdc5b886b3d17 (patch) | |
tree | de24306dbc7ce5a0c12b2bbaca654ca69cd2af47 /vcl | |
parent | 17b1bbb548cd193cde68a35b84d1ace6452e7036 (diff) |
rename CollapsAttribs -> CollapseAttribs
Change-Id: Ic70f67fb7e0e557a3a726f44aef25931def49835
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/edit/textdoc.cxx | 4 | ||||
-rw-r--r-- | vcl/source/edit/textdoc.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/edit/textdoc.cxx b/vcl/source/edit/textdoc.cxx index 0e935a90b2f5..c54e1358c1b8 100644 --- a/vcl/source/edit/textdoc.cxx +++ b/vcl/source/edit/textdoc.cxx @@ -229,7 +229,7 @@ void TextNode::ExpandAttribs( sal_Int32 nIndex, sal_Int32 nNew ) maCharAttribs.ResortAttribs(); } -void TextNode::CollapsAttribs( sal_Int32 nIndex, sal_Int32 nDeleted ) +void TextNode::CollapseAttribs( sal_Int32 nIndex, sal_Int32 nDeleted ) { if ( !nDeleted ) return; @@ -306,7 +306,7 @@ void TextNode::InsertText( sal_Int32 nPos, sal_Unicode c ) void TextNode::RemoveText( sal_Int32 nPos, sal_Int32 nChars ) { maText = maText.replaceAt( nPos, nChars, "" ); - CollapsAttribs( nPos, nChars ); + CollapseAttribs( nPos, nChars ); } TextNode* TextNode::Split( sal_Int32 nPos ) diff --git a/vcl/source/edit/textdoc.hxx b/vcl/source/edit/textdoc.hxx index 9f0929f89fe7..dce060d713be 100644 --- a/vcl/source/edit/textdoc.hxx +++ b/vcl/source/edit/textdoc.hxx @@ -68,7 +68,7 @@ private: protected: void ExpandAttribs( sal_Int32 nIndex, sal_Int32 nNewChars ); - void CollapsAttribs( sal_Int32 nIndex, sal_Int32 nDelChars ); + void CollapseAttribs( sal_Int32 nIndex, sal_Int32 nDelChars ); public: TextNode( const OUString& rText ); |