diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-10-26 12:49:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-10-27 09:57:07 +0200 |
commit | bdd7c74a499ea550a10e47d159c2d2d80c940fc0 (patch) | |
tree | f54a6a5e767f2c2aafc88ae7ce566fb81da86e6c /sw | |
parent | 75c642dae3ded5bcf6d48f81363ad918d101d2e5 (diff) |
Resolves: tdf#113455 Impossible to clear width/height in pages
Change-Id: I88f80d417108822ceeb73c07cb49892925a2e57f
Reviewed-on: https://gerrit.libreoffice.org/43891
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/DocumentRedlineManager.cxx | 5 | ||||
-rw-r--r-- | sw/source/core/doc/docredln.cxx | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/sw/source/core/doc/DocumentRedlineManager.cxx b/sw/source/core/doc/DocumentRedlineManager.cxx index 92557481bd8d..672412edfeba 100644 --- a/sw/source/core/doc/DocumentRedlineManager.cxx +++ b/sw/source/core/doc/DocumentRedlineManager.cxx @@ -759,6 +759,8 @@ 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 ) @@ -1248,7 +1250,10 @@ 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 71072603c730..ce038afec36a 100644 --- a/sw/source/core/doc/docredln.cxx +++ b/sw/source/core/doc/docredln.cxx @@ -1043,6 +1043,7 @@ SwRangeRedline::SwRangeRedline( const SwRangeRedline& rCpy ) SwRangeRedline::~SwRangeRedline() { + fprintf(stderr, "start death of %p\n", this); if( pContentSect ) { // delete the ContentSection @@ -1051,6 +1052,7 @@ SwRangeRedline::~SwRangeRedline() delete pContentSect; } delete pRedlineData; + fprintf(stderr, "end death of %p\n", this); } void SwRangeRedline::MaybeNotifyModification() |