From 848c78ff19e18dfc4e3a97f7d66fb6c6e50673a9 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 3 May 2015 20:59:26 +0100 Subject: drop useless temp debugging strings Change-Id: I9adc765654cf15633a53576e620c13eddcdc3b82 --- editeng/source/editeng/textconv.cxx | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'editeng') diff --git a/editeng/source/editeng/textconv.cxx b/editeng/source/editeng/textconv.cxx index 62c9a29ca6d9..060fd80c76c1 100644 --- a/editeng/source/editeng/textconv.cxx +++ b/editeng/source/editeng/textconv.cxx @@ -477,9 +477,6 @@ void TextConvWrapper::ChangeText( const OUString &rNewText, { const sal_Int32 nChgLen = nIndex - nChgPos; const sal_Int32 nConvChgLen = nPos - nConvChgPos; -#ifdef DEBUG - OUString aInOrig( rOrigText.copy( nChgPos, nChgLen ) ); -#endif OUString aInNew( rNewText.copy( nConvChgPos, nConvChgLen ) ); // set selection to sub string to be replaced in original text @@ -488,9 +485,6 @@ void TextConvWrapper::ChangeText( const OUString &rNewText, aSel.nStartPos = nChgInNodeStartIndex; aSel.nEndPos = nChgInNodeStartIndex + nChgLen; m_pEditView->SetSelection( aSel ); -#ifdef DEBUG - OUString aSelTxt1( m_pEditView->GetSelected() ); -#endif // replace selected sub string with the corresponding // sub string from the new text while keeping as @@ -536,14 +530,8 @@ void TextConvWrapper::ChangeText_impl( const OUString &rNewText, bool bKeepAttri // save attributes to be restored SfxItemSet aSet( m_pEditView->GetAttribs() ); -#ifdef DEBUG - OUString aSelTxt1( m_pEditView->GetSelected() ); -#endif // replace old text and select new text m_pEditView->InsertText( rNewText, true ); -#ifdef DEBUG - OUString aSelTxt2( m_pEditView->GetSelected() ); -#endif // since 'SetAttribs' below function like merging with the attributes // from the itemset with any existing ones we have to get rid of all -- cgit