[Libreoffice-commits] core.git: sw/source

Caolán McNamara caolanm at redhat.com
Fri Oct 27 14:04:03 UTC 2017


 sw/source/core/doc/DocumentRedlineManager.cxx |    5 -----
 sw/source/core/doc/docredln.cxx               |    2 --
 2 files changed, 7 deletions(-)

New commits:
commit b492ee19978bcb99d767f7808fa1d3692486f6f7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Oct 27 15:01:56 2017 +0100

    drop stray debugging remnants
    
    Change-Id: I2684583643716103995c34de10b9eade91d8263b

diff --git a/sw/source/core/doc/DocumentRedlineManager.cxx b/sw/source/core/doc/DocumentRedlineManager.cxx
index 47482eb2f5bc..08e81dbe8fc1 100644
--- a/sw/source/core/doc/DocumentRedlineManager.cxx
+++ b/sw/source/core/doc/DocumentRedlineManager.cxx
@@ -759,8 +759,6 @@ Behaviour of Delete-Redline:
 IDocumentRedlineAccess::AppendResult
 DocumentRedlineManager::AppendRedline(SwRangeRedline* pNewRedl, bool const bCallDelete)
 {
-    fprintf(stderr, "AppendRedline %p\n", pNewRedl);
-
     bool bMerged = false;
     CHECK_REDLINE( *this )
 
@@ -1250,10 +1248,7 @@ DocumentRedlineManager::AppendRedline(SwRangeRedline* pNewRedl, bool const bCall
                             delete pNewRedl;
                             pNewRedl = nullptr;
                             if (eCmpPos == SwComparePosition::Inside)
-                            {
-                                fprintf(stderr, "pRedl is %p\n", pRedl);
                                 pRedl->MaybeNotifyModification();
-                            }
                             break;
 
                         case SwComparePosition::Outside:
diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx
index ce038afec36a..71072603c730 100644
--- a/sw/source/core/doc/docredln.cxx
+++ b/sw/source/core/doc/docredln.cxx
@@ -1043,7 +1043,6 @@ SwRangeRedline::SwRangeRedline( const SwRangeRedline& rCpy )
 
 SwRangeRedline::~SwRangeRedline()
 {
-    fprintf(stderr, "start death of %p\n", this);
     if( pContentSect )
     {
         // delete the ContentSection
@@ -1052,7 +1051,6 @@ SwRangeRedline::~SwRangeRedline()
         delete pContentSect;
     }
     delete pRedlineData;
-    fprintf(stderr, "end death of %p\n", this);
 }
 
 void SwRangeRedline::MaybeNotifyModification()


More information about the Libreoffice-commits mailing list