[Libreoffice-commits] .: 3 commits - binfilter/bf_sc binfilter/inc
Joseph Powers
jpowers at kemper.freedesktop.org
Thu Sep 8 07:22:59 PDT 2011
binfilter/bf_sc/source/core/data/sc_attarray.cxx | 16 ---
binfilter/bf_sc/source/core/data/sc_cell.cxx | 19 ----
binfilter/bf_sc/source/core/data/sc_cell2.cxx | 22 +---
binfilter/bf_sc/source/core/data/sc_column.cxx | 12 --
binfilter/bf_sc/source/core/data/sc_column2.cxx | 9 -
binfilter/bf_sc/source/core/data/sc_column3.cxx | 11 --
binfilter/bf_sc/source/core/data/sc_conditio.cxx | 4
binfilter/bf_sc/source/core/data/sc_dociter.cxx | 6 -
binfilter/bf_sc/source/core/data/sc_documen2.cxx | 23 ----
binfilter/bf_sc/source/core/data/sc_documen3.cxx | 27 -----
binfilter/bf_sc/source/core/data/sc_documen4.cxx | 25 -----
binfilter/bf_sc/source/core/tool/sc_chartarr.cxx | 6 -
binfilter/bf_sc/source/core/tool/sc_chgtrack.cxx | 6 -
binfilter/bf_sc/source/core/tool/sc_interpr4.cxx | 11 +-
binfilter/bf_sc/source/ui/docshell/sc_dbdocfun.cxx | 99 ---------------------
binfilter/bf_sc/source/ui/docshell/sc_dbdocimp.cxx | 2
binfilter/bf_sc/source/ui/docshell/sc_docfunc.cxx | 2
binfilter/bf_sc/source/ui/docshell/sc_docsh5.cxx | 2
binfilter/inc/bf_sc/attarray.hxx | 4
binfilter/inc/bf_sc/cell.hxx | 5 -
binfilter/inc/bf_sc/document.hxx | 17 ---
21 files changed, 30 insertions(+), 298 deletions(-)
New commits:
commit 872889fa2910c35bb71b3dc5fef8c2e7eb371d5b
Author: Joseph Powers <jpowers27 at cox.net>
Date: Thu Sep 8 07:09:32 2011 -0700
More cleanup for class ScDocument
diff --git a/binfilter/bf_sc/source/core/data/sc_cell.cxx b/binfilter/bf_sc/source/core/data/sc_cell.cxx
index c925195..705ce9c 100644
--- a/binfilter/bf_sc/source/core/data/sc_cell.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_cell.cxx
@@ -1249,7 +1249,7 @@ static const sal_Char msgDbgInfinity[] =
/*?*/ if ( (nFormat % SV_COUNTRY_LANGUAGE_OFFSET) == 0 )
/*?*/ nFormat = ScGlobal::GetStandardFormat(
/*?*/ *pDocument->GetFormatTable(), nFormat, nFormatType );
-/*?*/ nErgValue = pDocument->RoundValueAsShown( nErgValue, nFormat );
+/*?*/ nErgValue = 0.0;
/*N*/ }
/*N*/ if ( nIterMode == 0 )
/*N*/ {
diff --git a/binfilter/bf_sc/source/core/data/sc_dociter.cxx b/binfilter/bf_sc/source/core/data/sc_dociter.cxx
index 81d652c..95db46b 100644
--- a/binfilter/bf_sc/source/core/data/sc_dociter.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_dociter.cxx
@@ -127,7 +127,7 @@ namespace binfilter {
/*N*/ --nRow;
/*N*/ if ( bCalcAsShown )
/*N*/ {
-/*?*/ rValue = pDoc->RoundValueAsShown( rValue, nNumFormat );
+/*?*/ rValue = 0.0;
/*N*/ }
/*N*/ //
/*N*/ // wenn in der selben Spalte gleich noch eine Value-Cell folgt, die
@@ -143,7 +143,7 @@ namespace binfilter {
/*N*/ bNextValid = TRUE;
/*N*/ if ( bCalcAsShown )
/*N*/ {
-/*?*/ fNextValue = pDoc->RoundValueAsShown( fNextValue, nNumFormat );
+/*?*/ fNextValue = 0.0;
/*N*/ }
/*N*/ }
/*N*/
@@ -318,7 +318,7 @@ BOOL ScValueIterator::GetNext(double& rValue, USHORT& rErr)
/*N*/ rValue = ((ScValueCell*)pCell)->GetValue();
/*N*/ if ( bCalcAsShown )
/*N*/ {
-/*N*/ rValue = pDoc->RoundValueAsShown( rValue, nNumFormat );
+/*N*/ rValue = 0.0;
/*N*/ }
/*N*/ nNumFmtType = NUMBERFORMAT_NUMBER;
/*N*/ nNumFmtIndex = 0;
diff --git a/binfilter/bf_sc/source/core/data/sc_documen4.cxx b/binfilter/bf_sc/source/core/data/sc_documen4.cxx
index 70a27db..af7e272 100644
--- a/binfilter/bf_sc/source/core/data/sc_documen4.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_documen4.cxx
@@ -142,8 +142,6 @@ namespace binfilter {
/*N*/ {
/*N*/ if (i == nTab1)
/*N*/ pTab[i]->PutCell(nCol1, nRow1, pCell);
-/*N*/ else
-DBG_BF_ASSERT(0, "STRIP");
/*N*/ }
/*N*/ }
/*N*/
@@ -204,11 +202,6 @@ DBG_BF_ASSERT(0, "STRIP");
/*N*/ }
-/*N*/ void ScDocument::CompileDBFormula()
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-
/*N*/ void ScDocument::CompileDBFormula( BOOL bCreateFormulaString )
/*N*/ {
/*N*/ for (USHORT i=0; i<=MAXTAB; i++)
@@ -219,9 +212,6 @@ DBG_BF_ASSERT(0, "STRIP");
/*N*/ void ScDocument::CompileNameFormula( BOOL bCreateFormulaString )
/*N*/ {
-/*N*/ if ( pCondFormList )
-DBG_BF_ASSERT(0, "STRIP");
-/*N*/
/*N*/ for (USHORT i=0; i<=MAXTAB; i++)
/*N*/ {
/*N*/ if (pTab[i]) pTab[i]->CompileNameFormula( bCreateFormulaString );
@@ -311,12 +301,6 @@ DBG_BF_ASSERT(0, "STRIP");
/*N*/ return !aData.bError;
/*N*/ }
-/*N*/ double ScDocument::RoundValueAsShown( double , ULONG )
-/*N*/ {
-DBG_BF_ASSERT(0, "STRIP");
- return 0;
-}
-
//
// bedingte Formate und Gueltigkeitsbereiche
//
@@ -467,15 +451,6 @@ DBG_BF_ASSERT(0, "STRIP");
#define SC_DOCCOMP_COLUMNS 10
#define SC_DOCCOMP_ROWS 100
-
-
-
-
-
-
-
-
-
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/binfilter/bf_sc/source/core/tool/sc_chartarr.cxx b/binfilter/bf_sc/source/core/tool/sc_chartarr.cxx
index 2ca9591..d19b646 100644
--- a/binfilter/bf_sc/source/core/tool/sc_chartarr.cxx
+++ b/binfilter/bf_sc/source/core/tool/sc_chartarr.cxx
@@ -561,7 +561,7 @@ namespace binfilter {
/*?*/ sal_uInt32 nFormat;
/*?*/ pDocument->GetNumberFormat( pCols[nCol],
/*?*/ pRows[nRow], nTab1, nFormat );
-/*?*/ nVal = pDocument->RoundValueAsShown( nVal, nFormat );
+/*?*/ nVal = 0.0;
/*?*/ }
/*N*/ }
/*N*/ else if (eType == CELLTYPE_FORMULA)
@@ -704,8 +704,8 @@ namespace binfilter {
/*?*/ nVal = ((ScValueCell*)pCell)->GetValue();
/*?*/ if ( bCalcAsShown && nVal != 0.0 )
/*?*/ {
-/*?*/ ULONG nFormat = pDocument->GetNumberFormat( *pPos );
-/*?*/ nVal = pDocument->RoundValueAsShown( nVal, nFormat );
+/*?*/ /* ULONG nFormat = */ pDocument->GetNumberFormat( *pPos );
+/*?*/ nVal = 0.0;
/*?*/ }
/*N*/ }
/*N*/ else if (eType == CELLTYPE_FORMULA)
diff --git a/binfilter/bf_sc/source/core/tool/sc_interpr4.cxx b/binfilter/bf_sc/source/core/tool/sc_interpr4.cxx
index 10522fc..1683f5d 100644
--- a/binfilter/bf_sc/source/core/tool/sc_interpr4.cxx
+++ b/binfilter/bf_sc/source/core/tool/sc_interpr4.cxx
@@ -196,8 +196,8 @@ ULONG ScInterpreter::GetCellNumberFormat( const ScAddress& rPos, const ScBaseCel
/*N*/ double fVal = pCell->GetValue();
/*N*/ if ( bCalcAsShown && fVal != 0.0 )
/*N*/ {
-/*?*/ ULONG nFormat = pDok->GetNumberFormat( rPos );
-/*?*/ fVal = pDok->RoundValueAsShown( fVal, nFormat );
+/*?*/ /* ULONG nFormat = */ pDok->GetNumberFormat( rPos );
+/*?*/ fVal = 0.0;
/*N*/ }
/*N*/ return fVal;
/*N*/ }
@@ -253,7 +253,7 @@ ULONG ScInterpreter::GetCellNumberFormat( const ScAddress& rPos, const ScBaseCel
/*N*/ nCurFmtIndex = pDok->GetNumberFormat( rPos );
/*N*/ nCurFmtType = pFormatter->GetType( nCurFmtIndex );
/*N*/ if ( bCalcAsShown && fValue != 0.0 )
-/*?*/ fValue = pDok->RoundValueAsShown( fValue, nCurFmtIndex );
+/*?*/ fValue = 0.0;
/*N*/ }
/*N*/ break;
/*N*/ case CELLTYPE_STRING:
@@ -1366,9 +1366,8 @@ BOOL ScInterpreter::DoubleRefToPosSingleRef( const ScRange& rRange, ScAddress& r
/*N*/ double rValue = ((ScValueCell*)pCell)->GetValue();
/*N*/ if ( bCalcAsShown )
/*N*/ {
-/*N*/ ULONG nFormat;
-/*N*/ nFormat = aCellIter.GetNumberFormat();
-/*N*/ rValue = pDok->RoundValueAsShown( rValue, nFormat );
+/*N*/ /* ULONG nFormat = */ aCellIter.GetNumberFormat();
+/*N*/ rValue = 0.0;
/*N*/ }
/*N*/ PushDouble(rValue);
/*N*/ }
diff --git a/binfilter/bf_sc/source/ui/docshell/sc_dbdocfun.cxx b/binfilter/bf_sc/source/ui/docshell/sc_dbdocfun.cxx
index 8a89fd6..5ea816b 100644
--- a/binfilter/bf_sc/source/ui/docshell/sc_dbdocfun.cxx
+++ b/binfilter/bf_sc/source/ui/docshell/sc_dbdocfun.cxx
@@ -123,10 +123,6 @@ namespace binfilter {
/*N*/ pDoc->CompileDBFormula( TRUE ); // CreateFormulaString
/*N*/ pDocColl->AtFree( nPos );
/*N*/ BOOL bInserted = pDocColl->Insert( pNewData );
-/*N*/ if (!bInserted) // Fehler -> alten Zustand wiederherstellen
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
/*N*/ pDoc->CompileDBFormula( FALSE ); // CompileFormulaString
/*N*/
/*N*/ if (bInserted) // Einfuegen hat geklappt
@@ -158,12 +154,8 @@ namespace binfilter {
/*N*/ ScRange aOldRange, aNewRange;
/*N*/ pData->GetArea(aOldRange);
/*N*/ rNewData.GetArea(aNewRange);
-/*N*/ BOOL bAreaChanged = ( aOldRange != aNewRange ); // dann muss neu compiliert werden
-/*N*/
/*N*/
/*N*/ *pData = rNewData;
-/*N*/ if (bAreaChanged)
-/*N*/ pDoc->CompileDBFormula();
/*N*/
/*N*/ aModificator.SetDocumentModified();
/*N*/ bDone = TRUE;
@@ -225,11 +217,7 @@ namespace binfilter {
/*N*/ USHORT nTabCount = pDoc->GetTableCount();
/*N*/ pUndoDoc = new ScDocument( SCDOCMODE_UNDO );
/*N*/ ScOutlineTable* pTable = pDoc->GetOutlineTable( nTab );
-/*N*/ if (pTable)
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-/*N*/ else
+/*N*/ if (!pTable)
/*N*/ pUndoDoc->InitUndo( pDoc, nTab, nTab, FALSE, TRUE );
/*N*/
/*N*/ // Datenbereich sichern - incl. Filter-Ergebnis
@@ -272,11 +260,6 @@ namespace binfilter {
/*N*/ DoSubTotals( nTab, aSubTotalParam, NULL, FALSE, bApi );
/*N*/ }
/*N*/
-/*N*/ if (bRecord)
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-/*N*/
/*N*/ rDocShell.PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab,
/*N*/ PAINT_GRID | PAINT_LEFT | PAINT_TOP | PAINT_SIZE );
/*N*/ bDone = TRUE;
@@ -313,10 +296,6 @@ namespace binfilter {
/*N*/ rSortParam.nDestRow == rSortParam.nRow1 && rSortParam.nDestTab == nTab )
/*N*/ bCopy = FALSE;
/*N*/ ScSortParam aLocalParam( rSortParam );
-/*N*/ if ( bCopy )
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
/*N*/
/*N*/ ScEditableTester aTester( pDoc, nTab, aLocalParam.nCol1,aLocalParam.nRow1,
/*N*/ aLocalParam.nCol2,aLocalParam.nRow2 );
@@ -493,10 +472,6 @@ namespace binfilter {
/*N*/ rQueryParam.nDestRow == rQueryParam.nRow1 && rQueryParam.nDestTab == nTab )
/*N*/ bCopy = FALSE;
/*N*/ USHORT nDestTab = nTab;
-/*N*/ if ( bCopy )
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
/*N*/
/*N*/ // ausfuehren
/*N*/
@@ -512,11 +487,6 @@ namespace binfilter {
/*N*/ bKeepSub = TRUE;
/*N*/ }
/*N*/
-/*N*/ if ( bRecord )
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-/*N*/
/*N*/ ScDocument* pAttribDoc = NULL;
/*N*/ ScRange aAttribRange;
/*N*/ if (pDestData) // Zielbereich loeschen
@@ -714,8 +684,6 @@ namespace binfilter {
/*N*/ }
/*N*/
/*N*/ BOOL bOk = TRUE;
-/*N*/ if (rParam.bReplace)
-/*?*/ {DBG_BF_ASSERT(0, "STRIP"); }
/*N*/
/*N*/ if (bOk)
/*N*/ {
@@ -733,11 +701,7 @@ namespace binfilter {
/*N*/ nTabCount = pDoc->GetTableCount();
/*N*/ pUndoDoc = new ScDocument( SCDOCMODE_UNDO );
/*N*/ ScOutlineTable* pTable = pDoc->GetOutlineTable( nTab );
-/*N*/ if (pTable)
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-/*N*/ else
+/*N*/ if (!pTable)
/*N*/ pUndoDoc->InitUndo( pDoc, nTab, nTab, FALSE, bOldFilter );
/*N*/
/*N*/ // Datenbereich sichern - incl. Filter-Ergebnis
@@ -749,27 +713,13 @@ namespace binfilter {
/*N*/ IDF_FORMULA, FALSE, pUndoDoc );
/*N*/ }
/*N*/
-/*N*/ ScOutlineTable* pOut = pDoc->GetOutlineTable( nTab );
-/*N*/ if (pOut)
-/*?*/ { DBG_BF_ASSERT(0, "STRIP"); }
+/*N*/ /* ScOutlineTable* pOut = */ pDoc->GetOutlineTable( nTab );
/*N*/
-/*N*/ if (rParam.bReplace)
-/*?*/ {DBG_BF_ASSERT(0, "STRIP");}
/*N*/ BOOL bSuccess = TRUE;
-/*N*/ if (bDo)
-/*N*/ {
-/*?*/ // Sortieren
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
/*N*/ ScRange aDirtyRange( aNewParam.nCol1, aNewParam.nRow1, nTab,
/*N*/ aNewParam.nCol2, aNewParam.nRow2, nTab );
/*N*/ pDoc->SetDirty( aDirtyRange );
/*N*/
-/*N*/ if (bRecord)
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-/*N*/
/*N*/ if (!bSuccess)
/*N*/ {
/*N*/ // "Kann keine Zeilen einfuegen"
@@ -780,7 +730,6 @@ namespace binfilter {
/*N*/ // merken
/*N*/ pDBData->SetSubTotalParam( aNewParam );
/*N*/ pDBData->SetArea( nTab, aNewParam.nCol1,aNewParam.nRow1, aNewParam.nCol2,aNewParam.nRow2 );
-/*N*/ pDoc->CompileDBFormula();
/*N*/
/*N*/ rDocShell.PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab,
/*N*/ PAINT_GRID | PAINT_LEFT | PAINT_TOP | PAINT_SIZE );
@@ -877,15 +826,6 @@ namespace binfilter {
/*N*/ pDoc->CopyToDocument( aRange, IDF_ALL, FALSE, pOldUndoDoc );
/*N*/ }
/*N*/
-/*N*/ if ( pNewObj == pOldObj )
-/*N*/ {
-/*N*/ // refresh only - no settings modified
-/*N*/ }
-/*N*/ else
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-/*N*/
/*N*/ pDestObj = pOldObj;
/*N*/ }
/*N*/ else
@@ -900,22 +840,10 @@ namespace binfilter {
/*N*/ DELETEZ( pDestObj );
/*N*/ }
/*N*/ }
-/*N*/ if ( pDestObj )
-/*N*/ {
-/*N*/ // #78541# create new database connection for "refresh"
-/*N*/ // (and re-read column entry collections)
-/*N*/ // so all changes take effect
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
/*N*/ }
/*N*/ // else nothing (no old, no new)
/*N*/ }
/*N*/
-/*N*/ if ( bRecord && bDone )
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-/*N*/
/*N*/ delete pOldUndoDoc; // if not used for undo
/*N*/ delete pNewUndoDoc;
/*N*/ delete pUndoDPObj;
diff --git a/binfilter/inc/bf_sc/document.hxx b/binfilter/inc/bf_sc/document.hxx
index a5e23a1..4d3431d 100644
--- a/binfilter/inc/bf_sc/document.hxx
+++ b/binfilter/inc/bf_sc/document.hxx
@@ -644,7 +644,6 @@ public:
void GetInputString( USHORT nCol, USHORT nRow, USHORT nTab, String& rString );
double GetValue( const ScAddress& );
void GetValue( USHORT nCol, USHORT nRow, USHORT nTab, double& rValue );
- double RoundValueAsShown( double fVal, ULONG nFormat );
void GetNumberFormat( USHORT nCol, USHORT nRow, USHORT nTab,
sal_uInt32& rFormat );
ULONG GetNumberFormat( const ScAddress& ) const;
@@ -1214,7 +1213,6 @@ public:
}
- void CompileDBFormula();
void CompileDBFormula( BOOL bCreateFormulaString );
void CompileNameFormula( BOOL bCreateFormulaString );
void CompileColRowNameFormula();
commit 03e38045910ffa51af82d9f34e338227d554a450
Author: Joseph Powers <jpowers27 at cox.net>
Date: Thu Sep 8 06:26:36 2011 -0700
Remove some constant methods from class ScDocument
diff --git a/binfilter/bf_sc/source/core/data/sc_documen3.cxx b/binfilter/bf_sc/source/core/data/sc_documen3.cxx
index 4ccd486..f587e47 100644
--- a/binfilter/bf_sc/source/core/data/sc_documen3.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_documen3.cxx
@@ -477,16 +477,6 @@ using namespace ::com::sun::star;
}
/*N*/ }
-/*N*/ void ScDocument::Fill(USHORT, USHORT, USHORT, USHORT, const ScMarkData&, USHORT, FillDir, FillCmd, FillDateCmd, double, double)
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-
-/*N*/ void ScDocument::AutoFormat( USHORT, USHORT, USHORT, USHORT, USHORT, const ScMarkData& )
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-
// Outline anpassen
/*N*/ BOOL ScDocument::UpdateOutlineCol( USHORT nStartCol, USHORT nEndCol, USHORT nTab, BOOL bShow )
@@ -507,17 +497,6 @@ using namespace ::com::sun::star;
/*N*/ return FALSE;
/*N*/ }
-/*N*/ void ScDocument::Sort(USHORT, const ScSortParam&, BOOL)
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-
-/*N*/ USHORT ScDocument::Query(USHORT, const ScQueryParam&, BOOL)
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ return 0;
-/*N*/ }
-
/*N*/ BOOL ScDocument::CreateQueryParam(USHORT nCol1, USHORT nRow1, USHORT nCol2, USHORT nRow2, USHORT nTab, ScQueryParam& rQueryParam)
/*N*/ {
/*N*/ if ( nTab<=MAXTAB && pTab[nTab] )
@@ -527,12 +506,6 @@ using namespace ::com::sun::star;
/*N*/ return FALSE;
/*N*/ }
-/*N*/ BOOL ScDocument::HasColHeader( USHORT, USHORT, USHORT, USHORT, USHORT )
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ return FALSE;
-/*N*/ }
-
// Funktionen werden als 1 schon vom InputHandler eingefuegt
#define SC_STRTYPE_NAMES 2
#define SC_STRTYPE_DBNAMES 3
diff --git a/binfilter/bf_sc/source/ui/docshell/sc_dbdocfun.cxx b/binfilter/bf_sc/source/ui/docshell/sc_dbdocfun.cxx
index 8955925..8a89fd6 100644
--- a/binfilter/bf_sc/source/ui/docshell/sc_dbdocfun.cxx
+++ b/binfilter/bf_sc/source/ui/docshell/sc_dbdocfun.cxx
@@ -358,23 +358,12 @@ namespace binfilter {
/*N*/ bRepeatQuery = FALSE;
/*N*/ }
/*N*/
-/*N*/ if ( bRecord )
-/*N*/ {
-/*?*/ // Referenzen ausserhalb des Bereichs werden nicht veraendert !
-/*?*/
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-/*N*/
/*N*/ if ( bCopy )
/*N*/ {
/*N*/ if (pDestData)
/*N*/ pDoc->DeleteAreaTab(aOldDest, IDF_CONTENTS); // Zielbereich vorher loeschen
/*N*/ }
/*N*/
-/*N*/ // #105780# don't call ScDocument::Sort with an empty SortParam (may be empty here if bCopy is set)
-/*N*/ if ( aLocalParam.bDoSort[0] )
-/*N*/ pDoc->Sort( nTab, aLocalParam, bRepeatQuery );
-/*N*/
/*N*/ BOOL bSave = TRUE;
/*N*/ if (bCopy)
/*N*/ {
@@ -556,12 +545,9 @@ namespace binfilter {
/*N*/ }
/*N*/
/*N*/ // Filtern am Dokument ausfuehren
-/*N*/ USHORT nCount = pDoc->Query( nTab, rQueryParam, bKeepSub );
/*N*/ if (bCopy)
/*N*/ {
-/*N*/ aLocalParam.nRow2 = aLocalParam.nRow1 + nCount;
-/*N*/ if (!aLocalParam.bHasHeader && nCount)
-/*N*/ --aLocalParam.nRow2;
+/*N*/ aLocalParam.nRow2 = aLocalParam.nRow1;
/*N*/
/*N*/ if ( bDoSize )
/*N*/ {
@@ -585,11 +571,6 @@ namespace binfilter {
/*N*/
/*N*/ ScMarkData aMark;
/*N*/ aMark.SelectOneTable(nDestTab);
-/*N*/ USHORT nFStartY = aLocalParam.nRow1 + ( aLocalParam.bHasHeader ? 1 : 0 );
-/*N*/ pDoc->Fill( aLocalParam.nCol2+1, nFStartY,
-/*N*/ aLocalParam.nCol2+nFormulaCols, nFStartY, aMark,
-/*N*/ aLocalParam.nRow2 - nFStartY,
-/*N*/ FILL_TO_BOTTOM, FILL_SIMPLE );
/*N*/ }
/*N*/ }
/*N*/
diff --git a/binfilter/bf_sc/source/ui/docshell/sc_dbdocimp.cxx b/binfilter/bf_sc/source/ui/docshell/sc_dbdocimp.cxx
index dab0c40..3446428 100644
--- a/binfilter/bf_sc/source/ui/docshell/sc_dbdocimp.cxx
+++ b/binfilter/bf_sc/source/ui/docshell/sc_dbdocimp.cxx
@@ -489,8 +489,6 @@ SV_DECL_IMPL_REF(SbaSelectionList)
/*M*/ // fill formulas
/*M*/ ScMarkData aMark;
/*M*/ aMark.SelectOneTable(nTab);
-/*M*/ pDoc->Fill( nEndCol+1, rParam.nRow1+1, nEndCol+nFormulaCols, rParam.nRow1+1,
-/*M*/ aMark, nEndRow-rParam.nRow1-1, FILL_TO_BOTTOM, FILL_SIMPLE );
/*M*/ }
/*M*/
/*M*/ // if new range is smaller, clear old contents
diff --git a/binfilter/bf_sc/source/ui/docshell/sc_docfunc.cxx b/binfilter/bf_sc/source/ui/docshell/sc_docfunc.cxx
index 64d5b82..344ceda 100644
--- a/binfilter/bf_sc/source/ui/docshell/sc_docfunc.cxx
+++ b/binfilter/bf_sc/source/ui/docshell/sc_docfunc.cxx
@@ -1249,8 +1249,6 @@ using namespace ::com::sun::star;
/*N*/
/*N*/ USHORT nTabCount = pDoc->GetTableCount();
/*N*/
-/*N*/ pDoc->AutoFormat( nStartCol, nStartRow, nEndCol, nEndRow, nFormatNo, aMark );
-/*N*/
/*N*/ if (bSize)
/*N*/ {
/*N*/ USHORT nCols[2] = { nStartCol, nEndCol };
diff --git a/binfilter/bf_sc/source/ui/docshell/sc_docsh5.cxx b/binfilter/bf_sc/source/ui/docshell/sc_docsh5.cxx
index a393d11..e5b748f 100644
--- a/binfilter/bf_sc/source/ui/docshell/sc_docsh5.cxx
+++ b/binfilter/bf_sc/source/ui/docshell/sc_docsh5.cxx
@@ -255,7 +255,7 @@ namespace binfilter {
/*N*/ aDocument.GetDataArea( nTab, nStartCol, nStartRow, nEndCol, nEndRow, FALSE );
/*N*/ }
/*N*/
-/*N*/ BOOL bHasHeader = aDocument.HasColHeader( nStartCol,nStartRow, nEndCol,nEndRow, nTab );
+/*N*/ BOOL bHasHeader = FALSE;
/*N*/
/*N*/ ScDBData* pNoNameData;
/*N*/ USHORT nNoNameIndex;
diff --git a/binfilter/inc/bf_sc/document.hxx b/binfilter/inc/bf_sc/document.hxx
index 89cc0f1..a5e23a1 100644
--- a/binfilter/inc/bf_sc/document.hxx
+++ b/binfilter/inc/bf_sc/document.hxx
@@ -826,12 +826,6 @@ public:
- void Fill( USHORT nCol1, USHORT nRow1, USHORT nCol2, USHORT nRow2,
- const ScMarkData& rMark,
- USHORT nFillCount, FillDir eFillDir = FILL_TO_BOTTOM,
- FillCmd eFillCmd = FILL_LINEAR, FillDateCmd eFillDateCmd = FILL_DAY,
- double nStepValue = 1.0, double nMaxValue = 1E307);
-
BOOL GetSelectionFunction( ScSubTotalFunc eFunc,
const ScAddress& rCursor, const ScMarkData& rMark,
double& rResult );
@@ -912,10 +906,6 @@ public:
USHORT nTab, INT16 nFlags );
- void AutoFormat( USHORT nStartCol, USHORT nStartRow, USHORT nEndCol, USHORT nEndRow,
- USHORT nFormatNo, const ScMarkData& rMark );
-
-
BOOL Solver(USHORT nFCol, USHORT nFRow, USHORT nFTab,
USHORT nVCol, USHORT nVRow, USHORT nVTab,
const String& sValStr, double& nX);
@@ -1040,15 +1030,10 @@ public:
SvNumberFormatter* GetFormatTable() const;
- void Sort( USHORT nTab, const ScSortParam& rSortParam, BOOL bKeepQuery );
- USHORT Query( USHORT nTab, const ScQueryParam& rQueryParam, BOOL bKeepSub );
BOOL CreateQueryParam( USHORT nCol1, USHORT nRow1, USHORT nCol2, USHORT nRow2,
USHORT nTab, ScQueryParam& rQueryParam );
- BOOL HasColHeader( USHORT nStartCol, USHORT nStartRow, USHORT nEndCol, USHORT nEndRow,
- USHORT nTab );
-
SfxPrinter* GetPrinter();
void SetPrinter( SfxPrinter* pNewPrinter );
commit 9990f287a8fb07638299110d1b7ad56f99e238b4
Author: Joseph Powers <jpowers27 at cox.net>
Date: Thu Sep 8 05:45:23 2011 -0700
Some easy DBG_BF_ASSERT(0, "STRIP") cleanup
diff --git a/binfilter/bf_sc/source/core/data/sc_attarray.cxx b/binfilter/bf_sc/source/core/data/sc_attarray.cxx
index d4d880a..33dd86f 100644
--- a/binfilter/bf_sc/source/core/data/sc_attarray.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_attarray.cxx
@@ -941,15 +941,6 @@ namespace binfilter {
/*N*/ return bFound;
/*N*/ }
- // Bereich loeschen, aber Merge-Flags stehenlassen
-
-/*N*/ void ScAttrArray::DeleteAreaSafe(USHORT, USHORT)
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-
-
-
/*N*/ BOOL ScAttrArray::ApplyFlags( USHORT nStartRow, USHORT nEndRow, INT16 nFlags )
/*N*/ {
@@ -1412,16 +1403,9 @@ namespace binfilter {
/*N*/
/*N*/ if ( !HasAttrib( nStartRow, nEndRow, HASATTR_OVERLAPPED | HASATTR_AUTOFILTER) )
/*N*/ SetPatternArea( nStartRow, nEndRow, pDocument->GetDefPattern() );
-/*N*/ else
-/*?*/ DeleteAreaSafe( nStartRow, nEndRow ); // Merge-Flags stehenlassen
/*N*/ }
-/*N*/ void ScAttrArray::DeleteHardAttr(USHORT, USHORT)
-/*N*/ {
-DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-
// Verschieben innerhalb eines Dokuments
/*N*/ void ScAttrArray::MoveTo(USHORT nStartRow, USHORT nEndRow, ScAttrArray& rAttrArray)
diff --git a/binfilter/bf_sc/source/core/data/sc_cell.cxx b/binfilter/bf_sc/source/core/data/sc_cell.cxx
index 6d353c8..c925195 100644
--- a/binfilter/bf_sc/source/core/data/sc_cell.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_cell.cxx
@@ -229,10 +229,6 @@ static const sal_Char msgDbgInfinity[] =
/*M*/ BOOL bDo = FALSE;
/*M*/ if ( !nOnlyNames )
/*M*/ bDo = TRUE;
-/*M*/ else
-/*M*/ {
-/*M*/ DBG_BF_ASSERT(0, "STRIP");
-/*M*/ }
/*M*/ if ( bDo )
/*M*/ {
/*M*/ switch( eType )
@@ -334,8 +330,6 @@ static const sal_Char msgDbgInfinity[] =
/*?*/ bDo = FALSE;
/*?*/ if ( nOnlyNames & SC_LISTENING_NAMES_REL )
/*?*/ bDo |= (rRef1.IsRelName() || rRef2.IsRelName());
-/*?*/ if ( nOnlyNames & SC_LISTENING_NAMES_ABS )
-/*?*/ { DBG_BF_ASSERT(0, "STRIP");}
/*?*/ if ( nOnlyNames & SC_LISTENING_EXCEPT )
/*?*/ bDo = !bDo;
/*N*/ }
@@ -636,9 +630,6 @@ static const sal_Char msgDbgInfinity[] =
/*N*/ pMatrix = NULL;
/*N*/ pCode = rScFormulaCell.pCode->Clone();
/*N*/
-/*N*/ if ( nCopyFlags & 0x0001 )
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/
/*N*/ // evtl. Fehler zuruecksetzen und neu kompilieren
/*N*/ // nicht im Clipboard - da muss das Fehlerflag erhalten bleiben
/*N*/ // Spezialfall Laenge=0: als Fehlerzelle erzeugt, dann auch Fehler behalten
@@ -676,10 +667,6 @@ static const sal_Char msgDbgInfinity[] =
/*N*/ }
/*N*/ if( bCompile )
/*N*/ {
-/*N*/ if ( !bCompileLater && bClipMode )
-/*N*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
/*N*/ if ( !bCompileLater )
/*N*/ {
/*N*/ // bNoListening, bei in Clip/Undo sowieso nicht,
@@ -1344,10 +1331,6 @@ DBG_BF_ASSERT(0, "STRIP");
/*N*/ if ( p->GetId() & SC_HINT_TABLEOPDIRTY )
/*N*/ {
/*?*/ bForceTrack = !bTableOpDirty;
-/*?*/ if ( !bTableOpDirty )
-/*?*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*?*/ }
/*N*/ }
/*N*/ else
/*N*/ {
diff --git a/binfilter/bf_sc/source/core/data/sc_cell2.cxx b/binfilter/bf_sc/source/core/data/sc_cell2.cxx
index 5ec64b0..79cd019 100644
--- a/binfilter/bf_sc/source/core/data/sc_cell2.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_cell2.cxx
@@ -506,13 +506,6 @@ const USHORT nMemPoolEditCell = (0x1000 - 64) / sizeof(ScNoteCell);
/*N*/ return FALSE;
/*N*/ }
-/*N*/ void ScFormulaCell::UpdateReference(UpdateRefMode /*eUpdateRefMode*/,
-/*N*/ const ScRange& /*r*/,
-/*N*/ short /*nDx*/, short /*nDy*/, short /*nDz*/,
-/*N*/ ScDocument* /*pUndoDoc*/ )
-/*N*/ {DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-
/*N*/ void ScFormulaCell::UpdateInsertTab(USHORT nTable)
/*N*/ {
/*N*/ BOOL bPosChanged = ( aPos.Tab() >= nTable ? TRUE : FALSE );
@@ -620,14 +613,13 @@ DBG_BF_ASSERT(0, "STRIP"); /*N*/ if( !pDocument->IsClipOrUndo() )
/*N*/ return bRet;
/*N*/ }
-/*N*/ void ScFormulaCell::UpdateCompile( BOOL bForceIfNameInUse )
-/*N*/ {
-/*N*/ if ( bForceIfNameInUse && !bCompile )
-/*?*/ { DBG_BF_ASSERT(0, "STRIP");} /*N*/ bCompile = pCode->HasNameOrColRowName();
-/*N*/ if ( bCompile )
-/*?*/ pCode->SetError( 0 ); // damit auch wirklich kompiliert wird
-/*N*/ CompileTokenArray();
-/*N*/ }
+void ScFormulaCell::UpdateCompile( BOOL bForceIfNameInUse )
+{
+ bCompile = pCode->HasNameOrColRowName();
+ if ( bCompile )
+ pCode->SetError( 0 ); // damit auch wirklich kompiliert wird
+ CompileTokenArray();
+}
/*N*/ BOOL lcl_IsRangeNameInUse(USHORT nIndex, ScTokenArray* pCode, ScRangeName* pNames)
/*N*/ {
diff --git a/binfilter/bf_sc/source/core/data/sc_column.cxx b/binfilter/bf_sc/source/core/data/sc_column.cxx
index 9c61cea..265d4cf 100644
--- a/binfilter/bf_sc/source/core/data/sc_column.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_column.cxx
@@ -831,11 +831,7 @@ namespace binfilter {
/*N*/ {
/*N*/ aAdr.SetRow( pItems[i].nRow );
/*N*/ ScBaseCell* pNew = NULL;
-/*N*/ if (bAsLink)
-/*N*/ {
- DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-/*N*/ else
+/*N*/ if (!bAsLink)
/*N*/ {
/*N*/ pNew = CloneCell( i, nFlags, rColumn.pDocument, aAdr );
/*N*/
@@ -980,11 +976,7 @@ namespace binfilter {
/*N*/ {
/*N*/ ScRange aRange( ScAddress( nCol1, nRow1, nTab1 ),
/*N*/ ScAddress( nCol2, nRow2, nTab2 ) );
-/*N*/ if ( eUpdateRefMode == URM_COPY && nRow1 == nRow2 )
-/*N*/ { // z.B. eine einzelne Zelle aus dem Clipboard eingefuegt
-DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-/*N*/ else
+/*N*/ if ( !(eUpdateRefMode == URM_COPY && nRow1 == nRow2) )
/*N*/ {
/*?*/ // #90279# For performance reasons two loop bodies instead of
/*?*/ // testing for update mode in each iteration.
diff --git a/binfilter/bf_sc/source/core/data/sc_column2.cxx b/binfilter/bf_sc/source/core/data/sc_column2.cxx
index b1facfd..c04bcb9 100644
--- a/binfilter/bf_sc/source/core/data/sc_column2.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_column2.cxx
@@ -507,9 +507,6 @@ namespace binfilter {
/*?*/ {
/*?*/ nWidth = (long) ( pDocument->GetColWidth( nCol,nTab ) * nPPT );
/*?*/ bAddMargin = FALSE;
-/*?*/ // nur nach rechts:
-/*?*/ //! unterscheiden nach Ausrichtung oben/unten (nur Text/ganze Hoehe)
-DBG_BF_ASSERT(0, "STRIP");
/*?*/ }
/*?*/ else
/*?*/ nWidth = (long)( aSize.Height() / nSinAbs ); //! begrenzen?
@@ -661,11 +658,7 @@ DBG_BF_ASSERT(0, "STRIP");
/*?*/ long nWidth(0);
/*?*/ if ( eRotMode == SVX_ROTATE_MODE_STANDARD )
/*?*/ nWidth = (long)( aSize.Width() * nCosAbs + aSize.Height() * nSinAbs );
-/*?*/ else if ( rOptions.bTotalSize )
-/*?*/ {
-DBG_BF_ASSERT(0, "STRIP");
-/*?*/ }
-/*?*/ else
+/*?*/ else if ( !rOptions.bTotalSize )
/*?*/ nWidth = (long)( aSize.Height() / nSinAbs ); //! begrenzen?
/*?*/ aSize = Size( nWidth, nHeight );
/*?*/
diff --git a/binfilter/bf_sc/source/core/data/sc_column3.cxx b/binfilter/bf_sc/source/core/data/sc_column3.cxx
index a105322..7241ee3 100644
--- a/binfilter/bf_sc/source/core/data/sc_column3.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_column3.cxx
@@ -523,15 +523,8 @@ extern const ScFormulaCell* pLastFormulaTreeTop; // in cellform.cxx
/*N*/ }
/*N*/ }
/*N*/
-/*N*/ if ( nDelFlag & IDF_EDITATTR )
-/*N*/ {
-/*?*/ DBG_ASSERT( nContFlag == 0, "DeleteArea: falsche Flags" );
-DBG_BF_ASSERT(0, "STRIP");
-/*N*/ }
-/*N*/
/*N*/ // Attribute erst hier
/*N*/ if ((nDelFlag & IDF_ATTRIB) == IDF_ATTRIB) pAttrArray->DeleteArea( nStartRow, nEndRow );
-/*N*/ else if ((nDelFlag & IDF_ATTRIB) != 0) pAttrArray->DeleteHardAttr( nStartRow, nEndRow );
/*N*/ }
@@ -603,10 +596,6 @@ DBG_BF_ASSERT(0, "STRIP");
/*?*/ // Fehler werden immer mit "Zahlen" kopiert
/*?*/ // (Das ist hiermit willkuerlich so festgelegt)
/*?*/
-/*?*/ if ( nFlags & IDF_VALUE )
-/*?*/ {
-DBG_BF_ASSERT(0, "STRIP");
-/*?*/ }
/*?*/ }
/*?*/ else if ( pForm->IsValue() )
/*?*/ {
diff --git a/binfilter/bf_sc/source/core/data/sc_conditio.cxx b/binfilter/bf_sc/source/core/data/sc_conditio.cxx
index 85808c5..4d74892 100644
--- a/binfilter/bf_sc/source/core/data/sc_conditio.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_conditio.cxx
@@ -695,8 +695,8 @@ namespace binfilter {
/*N*/
/*N*/ if (bVal)
/*N*/ return IsValid( nArg );
-/*N*/ else
-/*?*/ {DBG_BF_ASSERT(0, "STRIP"); return FALSE;}
+/*N*/
+/*?*/ return FALSE;
/*N*/ }
/*N*/ String ScConditionEntry::GetExpression( const ScAddress& rCursor, USHORT nIndex,
diff --git a/binfilter/bf_sc/source/core/data/sc_documen2.cxx b/binfilter/bf_sc/source/core/data/sc_documen2.cxx
index b76dffd..04ad33e 100644
--- a/binfilter/bf_sc/source/core/data/sc_documen2.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_documen2.cxx
@@ -991,33 +991,12 @@ namespace binfilter {
/*N*/ ScRangeData** pSrcRangeNames = nSrcRangeNames ? new ScRangeData* [nSrcRangeNames] : NULL;
/*N*/ // the index mapping thereof
/*N*/ ScIndexMap aSrcRangeMap( nSrcRangeNames );
-/*N*/ BOOL bRangeNameReplace = FALSE;
/*N*/
/*N*/ for (USHORT i = 0; i < nSrcRangeNames; i++) //! DB-Bereiche Pivot-Bereiche auch !!!
/*N*/ {
/*?*/ ScRangeData* pSrcData = (*pSrcDoc->pRangeName)[i];
/*?*/ /*USHORT nOldIndex =*/ pSrcData->GetIndex();
-/*?*/ BOOL bInUse = FALSE;
-/*?*/ for (USHORT j = 0; !bInUse && (j <= MAXTAB); j++)
-/*?*/ {
-/*?*/ if (pSrcDoc->pTab[j])
-DBG_BF_ASSERT(0, "STRIP");
-/*?*/ }
-/*?*/ if (bInUse)
-/*?*/ {
-/*?*/ DBG_BF_ASSERT(0, "STRIP");
-/*?*/ }
-/*?*/ else
-/*?*/ {
-/*?*/ pSrcRangeNames[i] = NULL;
-/*?*/ //aSrcRangeMap.SetPair( i, 0, 0 ); // not needed, defaulted
-/*?*/ }
-/*N*/ }
-/*N*/ if ( bRangeNameReplace )
-/*N*/ {
-/*?*/ // first update all inserted named formulas if they contain other
-/*?*/ // range names and used indices changed
-DBG_BF_ASSERT(0, "STRIP");
+/*?*/ pSrcRangeNames[i] = NULL;
/*N*/ }
/*N*/ if ( pSrcRangeNames )
/*?*/ delete [] pSrcRangeNames;
diff --git a/binfilter/bf_sc/source/core/tool/sc_chgtrack.cxx b/binfilter/bf_sc/source/core/tool/sc_chgtrack.cxx
index a343b10..8e412cc 100644
--- a/binfilter/bf_sc/source/core/tool/sc_chgtrack.cxx
+++ b/binfilter/bf_sc/source/core/tool/sc_chgtrack.cxx
@@ -1945,12 +1945,6 @@ const USHORT nMemPoolChangeActionContent = (0x8000 - 64) / sizeof(ScChangeAction
/*N*/ break;
/*N*/ }
/*N*/ ScRange aRange( aTmpRange.MakeRange() );
-/*N*/ if ( bOldFormula )
-/*N*/ ((ScFormulaCell*)pOldCell)->UpdateReference( eMode, aRange,
-/*N*/ (short) nDx, (short) nDy, (short) nDz, NULL );
-/*N*/ if ( bNewFormula )
-/*N*/ ((ScFormulaCell*)pNewCell)->UpdateReference( eMode, aRange,
-/*N*/ (short) nDx, (short) nDy, (short) nDz, NULL );
/*N*/ if ( !aBigRange.aStart.IsValid( pTrack->GetDocument() ) )
/*N*/ { //! HACK!
/*N*/ //! UpdateReference kann nicht mit Positionen ausserhalb des
diff --git a/binfilter/inc/bf_sc/attarray.hxx b/binfilter/inc/bf_sc/attarray.hxx
index d87b04c..1936bb1 100644
--- a/binfilter/inc/bf_sc/attarray.hxx
+++ b/binfilter/inc/bf_sc/attarray.hxx
@@ -130,8 +130,6 @@ public:
void FindStyleSheet( const SfxStyleSheetBase* pStyleSheet, BOOL* pUsed, BOOL bReset );
- void DeleteAreaSafe(USHORT nStartRow, USHORT nEndRow);
-
BOOL IsEmpty() const;
@@ -150,8 +148,6 @@ public:
void CopyArea( USHORT nStartRow, USHORT nEndRow, short nDy, ScAttrArray& rAttrArray,
INT16 nStripFlags = 0 );
- void DeleteHardAttr( USHORT nStartRow, USHORT nEndRow );
-
void Save( SvStream& ) const {}
void Load( SvStream& rStream );
void ConvertFontsAfterLoad(); // old binary file format
diff --git a/binfilter/inc/bf_sc/cell.hxx b/binfilter/inc/bf_sc/cell.hxx
index 71f24d8..819dd04 100644
--- a/binfilter/inc/bf_sc/cell.hxx
+++ b/binfilter/inc/bf_sc/cell.hxx
@@ -301,11 +301,6 @@ public:
BOOL HasRelNameReference() const;
- void UpdateReference(UpdateRefMode eUpdateRefMode,
- const ScRange& r,
- short nDx, short nDy, short nDz,
- ScDocument* pUndoDoc = NULL );
-
void UpdateInsertTab(USHORT nTable);
BOOL UpdateDeleteTab(USHORT nTable, BOOL bIsMove = FALSE);
void UpdateRenameTab(USHORT nTable, const String& rName);
More information about the Libreoffice-commits
mailing list