From 9daa7d433992f8d0e7ceae158a6af5a0a69e41ea Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 1 May 2013 17:01:24 +0100 Subject: rather nutso, just drop the XubString variant Change-Id: Iebff2bc517e3b6422a6b410f44d78cee1b6d971d --- vcl/source/edit/textview.cxx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'vcl/source') 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(); -- cgit