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

Eike Rathke erack at redhat.com
Wed Jul 4 22:37:47 UTC 2018


 sc/source/core/data/table1.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4bfa5d08c6ef94706e340f78ea1052e94a8c5915
Author: Eike Rathke <erack at redhat.com>
Date:   Thu Jul 5 00:31:34 2018 +0200

    Turn SAL_WARN into assert
    
    ... as it indicates a programming error.
    
    Change-Id: I526846fe695fc7ed28336ea20cdba0c0db2e922a

diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx
index 9af3ad511c45..ff58624e5743 100644
--- a/sc/source/core/data/table1.cxx
+++ b/sc/source/core/data/table1.cxx
@@ -1419,7 +1419,7 @@ void ScTable::GetNextPos( SCCOL& rCol, SCROW& rRow, SCCOL nMovX, SCROW nMovY,
         }
         else
         {
-            SAL_WARN("sc.core","ScTable::GetNextPos - bMarked but not marked");
+            assert(!"ScTable::GetNextPos - bMarked but not marked");
             nStartCol = 0;
             nStartRow = 0;
             nEndCol = MAXCOL;


More information about the Libreoffice-commits mailing list