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

Miklos Vajna vmiklos at collabora.co.uk
Thu Oct 5 10:41:01 UTC 2017


 sw/source/core/docnode/ndtbl.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit 4aa3a0b20f6140c716ac933fc575b202209881f9
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Thu Oct 5 08:20:43 2017 +0200

    sw: drop temporary debug code in ndtbl
    
    Change-Id: I985ec0f2107d9c0f0dede163e64a2de902102334
    Reviewed-on: https://gerrit.libreoffice.org/43154
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
    Tested-by: Jenkins <ci at libreoffice.org>

diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx
index 1cb60f6e6572..4ffb751df908 100644
--- a/sw/source/core/docnode/ndtbl.cxx
+++ b/sw/source/core/docnode/ndtbl.cxx
@@ -1376,13 +1376,6 @@ SwTableNode* SwNodes::TextToTable( const SwNodes::TableRanges_t & rTableNodes,
     //!! Thus no real problem here...
     new SwEndNode( aInsertIndex, *pTableNd );
 
-#if OSL_DEBUG_LEVEL > 1
-    const SwNodeRange& rStartRange = *rTableNodes.begin()->begin();
-    const SwNodeRange& rEndRange = *rTableNodes.rbegin()->rbegin();
-    (void) rStartRange;
-    (void) rEndRange;
-#endif
-
     SwDoc* pDoc = GetDoc();
     SwTable& rTable = pTableNd->GetTable();
     SwTableBox* pBox;


More information about the Libreoffice-commits mailing list