[Libreoffice-commits] .: editeng/source

Thomas Arnhold tarnhold at kemper.freedesktop.org
Tue Jul 26 15:55:41 PDT 2011


 editeng/source/editeng/impedit5.cxx |   20 --------------------
 1 file changed, 20 deletions(-)

New commits:
commit 20ce3b0e4d90f755f69fa8f6dd8e92a15d64e579
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Wed Jul 27 00:55:32 2011 +0200

    remove dead code

diff --git a/editeng/source/editeng/impedit5.cxx b/editeng/source/editeng/impedit5.cxx
index 80b6e2d..835ee12 100644
--- a/editeng/source/editeng/impedit5.cxx
+++ b/editeng/source/editeng/impedit5.cxx
@@ -552,16 +552,6 @@ void ImpEditEngine::SetAttribs( EditSelection aSel, const SfxItemSet& rSet, sal_
             nEndPos = aSel.Max().GetIndex();
 
         // Iterate over the Items...
-#ifdef EDITDEBUG
-//		FILE* fp = fopen( "d:\\debug.log", "a" );
-//		if ( fp )
-//		{
-//			fprintf( fp, "\n\n=> Character-Attribute: Paragraph %i, %i-%i\n", nNode, nStartPos, nEndPos );
-//			DbgOutItemSet( fp, rSet, sal_True, sal_False );
-//			fclose( fp );
-//		}
-#endif
-
         for ( sal_uInt16 nWhich = EE_ITEMS_START; nWhich <= EE_CHAR_END; nWhich++)
         {
             if ( rSet.GetItemState( nWhich ) == SFX_ITEM_ON )
@@ -718,16 +708,6 @@ void ImpEditEngine::SetParaAttribs( sal_uInt16 nPara, const SfxItemSet& rSet )
     if ( !pNode )
         return;
 
-#ifdef EDITDEBUG
-//		FILE* fp = fopen( "d:\\debug.log", "a" );
-//		if ( fp )
-//		{
-//			fprintf( fp, "\n\n=> Paragraph-Attribute: Paragraph %i\n", nPara );
-//			DbgOutItemSet( fp, rSet, sal_True, sal_False );
-//			fclose( fp );
-//		}
-#endif
-
     if ( !( pNode->GetContentAttribs().GetItems() == rSet ) )
     {
         if ( IsUndoEnabled() && !IsInUndo() && aStatus.DoUndoAttribs() )


More information about the Libreoffice-commits mailing list