diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-01-29 14:19:52 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-01-29 14:19:52 +0000 |
commit | bd9cfb74d18921e870aa7b8f93062b62ced070a7 (patch) | |
tree | ca5a55de1258985d3f5a048785097dd4828939f9 /sc/source/core | |
parent | 601db232f337265e2d64d430b090a1f68149949e (diff) |
INTEGRATION: CWS dr58_SRC680 (1.10.28); FILE MERGED
2007/12/14 10:50:56 nn 1.10.28.1: #i84560# braces for gcc 4.2.1 warnings (patch fom hub)
Diffstat (limited to 'sc/source/core')
-rw-r--r-- | sc/source/core/data/pivot.cxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sc/source/core/data/pivot.cxx b/sc/source/core/data/pivot.cxx index fc4e98e97bab..83a63e72e8eb 100644 --- a/sc/source/core/data/pivot.cxx +++ b/sc/source/core/data/pivot.cxx @@ -4,9 +4,9 @@ * * $RCSfile: pivot.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: rt $ $Date: 2007-11-13 15:26:28 $ + * last change: $Author: rt $ $Date: 2008-01-29 15:19:52 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1693,7 +1693,9 @@ void ScPivot::SetFuncLine(SCCOL nCol, SCROW nRow, SCTAB /* nTab */, USHORT nFunc if (nIndex<nDataCount) nThisFunc = aDataArr[nIndex].nFuncMask; else + { DBG_ERROR("wat fuer'n Index ???"); + } } else nThisFunc = aDataArr[nCIndex/nDataMult%nDataCount].nFuncMask; @@ -1738,7 +1740,9 @@ void ScPivot::SetFuncLine(SCCOL nCol, SCROW nRow, SCTAB /* nTab */, USHORT nFunc if (nEffIndex<nDataCount) nThisFunc = aDataArr[nEffIndex].nFuncMask; else + { DBG_ERROR("wat fuer'n Index ???"); + } } SetValue( sal::static_int_cast<SCCOL>(nCol+i), nRow, aTotal, nThisFunc ); // Kategorie 23 @@ -1758,7 +1762,9 @@ void ScPivot::SetFuncLine(SCCOL nCol, SCROW nRow, SCTAB /* nTab */, USHORT nFunc if (nIndex<nDataCount) nThisFunc = aDataArr[nIndex].nFuncMask; else + { DBG_ERROR("wat fuer'n Index ???"); + } } SetValue( nDestCol2, nRow, aGrandTotal[0], nThisFunc ); // Kategorie 24 |