diff options
author | Joseph Powers <jpowers27@cox.net> | 2011-09-08 22:39:54 -0700 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2011-09-08 22:39:54 -0700 |
commit | e19ef0dff2b4288073deb95269bfe7dbf2eb3a8a (patch) | |
tree | 3d8eb8cd1aeb03e37a1e73573bc7e61b4b287619 /binfilter/bf_sc/source/core/data | |
parent | Hopefully this is the last of the cleanups for class ScDocument for now. (diff) | |
download | binfilter-e19ef0dff2b4288073deb95269bfe7dbf2eb3a8a.tar.gz binfilter-e19ef0dff2b4288073deb95269bfe7dbf2eb3a8a.zip |
Minor cleanup of the ScFormulaCell & ScBaseCell classes
Diffstat (limited to 'binfilter/bf_sc/source/core/data')
-rw-r--r-- | binfilter/bf_sc/source/core/data/sc_cell.cxx | 24 | ||||
-rw-r--r-- | binfilter/bf_sc/source/core/data/sc_cell2.cxx | 2 |
2 files changed, 1 insertions, 25 deletions
diff --git a/binfilter/bf_sc/source/core/data/sc_cell.cxx b/binfilter/bf_sc/source/core/data/sc_cell.cxx index 0bb732d86..3bf2d93da 100644 --- a/binfilter/bf_sc/source/core/data/sc_cell.cxx +++ b/binfilter/bf_sc/source/core/data/sc_cell.cxx @@ -706,7 +706,6 @@ static const sal_Char msgDbgInfinity[] = /*N*/ bTableOpDirty( FALSE ), /*N*/ aPos( rPos ) /*N*/ { -/*N*/ // ScReadHeader aHdr( rStream ); /*N*/ rHdr.StartEntry(); /*N*/ /*N*/ USHORT nVer = (USHORT) pDoc->GetSrcVersion(); @@ -715,14 +714,6 @@ static const sal_Char msgDbgInfinity[] = /*N*/ { /*N*/ BYTE cData; /*N*/ rStream >> cData; -/*N*/ #ifdef DBG_UTIL -/*N*/ // static BOOL bShown = 0; -/*N*/ // if ( !bShown && SOFFICE_FILEFORMAT_NOW > SOFFICE_FILEFORMAT_50 ) -/*N*/ // { -/*N*/ // bShown = 1; -/*N*/ // DBG_ERRORFILE( "bei inkompatiblem FileFormat den FormatIndex umheben!" ); -/*N*/ // } -/*N*/ #endif /*N*/ if( cData & 0x0F ) /*N*/ { /*N*/ BYTE nSkip = cData & 0x0F; @@ -866,10 +857,6 @@ static const sal_Char msgDbgInfinity[] = /*N*/ delete pCodeOld; /*N*/ if( !pCode->GetError() ) /*N*/ { -/*N*/ if ( !pCode->GetLen() && aErgString.Len() && rFormula == aErgString ) -/*N*/ { // #65994# nicht rekursiv CompileTokenArray/Compile/CompileTokenArray -/*?*/ DBG_BF_ASSERT(0, "STRIP"); -/*N*/ } /*N*/ bCompile = TRUE; /*N*/ CompileTokenArray( bNoListening ); /*N*/ } @@ -945,10 +932,6 @@ static const sal_Char msgDbgInfinity[] = /*N*/ delete pCodeOld; /*N*/ if( !pCode->GetError() ) /*N*/ { -/*N*/ if ( !pCode->GetLen() ) -/*N*/ { -/*?*/ DBG_BF_ASSERT(0, "STRIP"); -/*N*/ } /*N*/ bSubTotal = aComp.CompileTokenArray(); /*N*/ if( !pCode->GetError() ) /*N*/ { @@ -1287,13 +1270,6 @@ static const sal_Char msgDbgInfinity[] = /*N*/ } /*N*/ #endif /*N*/ -/*N*/ // FORCED Zellen auch sofort auf Gueltigkeit testen (evtl. Makro starten) -/*N*/ -/*N*/ if ( pCode->IsRecalcModeForced() ) -/*N*/ { -DBG_BF_ASSERT(0, "STRIP"); -/*N*/ } -/*N*/ /*N*/ // Reschedule verlangsamt das ganze erheblich, nur bei Prozentaenderung ausfuehren /*N*/ ScProgress::GetInterpretProgress()->SetStateCountDownOnPercent( /*N*/ pDocument->GetFormulaCodeInTree() ); diff --git a/binfilter/bf_sc/source/core/data/sc_cell2.cxx b/binfilter/bf_sc/source/core/data/sc_cell2.cxx index b963c16d3..9d8f620e9 100644 --- a/binfilter/bf_sc/source/core/data/sc_cell2.cxx +++ b/binfilter/bf_sc/source/core/data/sc_cell2.cxx @@ -582,7 +582,7 @@ const USHORT nMemPoolEditCell = (0x1000 - 64) / sizeof(ScNoteCell); /*N*/ BOOL ScFormulaCell::TestTabRefAbs(USHORT nTable) /*N*/ { /*N*/ BOOL bRet = FALSE; -DBG_BF_ASSERT(0, "STRIP"); /*N*/ if( !pDocument->IsClipOrUndo() ) +/*N*/ if( !pDocument->IsClipOrUndo() ) /*N*/ { /*N*/ pCode->Reset(); /*N*/ ScToken* p = pCode->GetNextReferenceRPN(); |