diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-03 20:59:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-03 20:59:48 +0100 |
commit | 848c78ff19e18dfc4e3a97f7d66fb6c6e50673a9 (patch) | |
tree | a5aba53eaf81216a469627da80c3d7410ff8b09f /editeng | |
parent | 2b03336d18bf2137a318c959617a2beb4f68e02c (diff) |
drop useless temp debugging strings
Change-Id: I9adc765654cf15633a53576e620c13eddcdc3b82
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/textconv.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
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 |