diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-05-01 17:01:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-02 11:03:10 +0100 |
commit | 9daa7d433992f8d0e7ceae158a6af5a0a69e41ea (patch) | |
tree | ab97174a648563826fd87ef43d75b43a0c556c52 /vcl/source | |
parent | 52bd4ffaac9a48e4838f8e06d6b97fb1c1dd4bb2 (diff) |
rather nutso, just drop the XubString variant
Change-Id: Iebff2bc517e3b6422a6b410f44d78cee1b6d971d
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/edit/textview.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/vcl/source/edit/textview.cxx b/vcl/source/edit/textview.cxx index 05ea5f2e16dc..44836161a8de 100644 --- a/vcl/source/edit/textview.cxx +++ b/vcl/source/edit/textview.cxx @@ -1181,7 +1181,7 @@ void TextView::Paste( uno::Reference< datatransfer::clipboard::XClipboard >& rxC bool bWasTruncated = false; if( mpImpl->mpTextEngine->GetMaxTextLen() != 0 ) bWasTruncated = ImplTruncateNewText( aText ); - InsertNewText( aText, sal_False ); + InsertText( aText, sal_False ); mpImpl->mpTextEngine->Broadcast( TextHint( TEXT_HINT_MODIFIED ) ); if( bWasTruncated ) @@ -1337,12 +1337,7 @@ TextSelection TextView::ImpMoveCursor( const KeyEvent& rKeyEvent ) return mpImpl->maSelection; } -void TextView::InsertText( const XubString& rStr, sal_Bool bSelect ) -{ - InsertNewText( rStr, bSelect ); -} - -void TextView::InsertNewText( const OUString& rStr, sal_Bool bSelect ) +void TextView::InsertText( const OUString& rStr, sal_Bool bSelect ) { // HideSelection(); mpImpl->mpTextEngine->UndoActionStart(); |