summaryrefslogtreecommitdiffstats
path: root/sc
diff options
context:
space:
mode:
authorPetr Vorel <petr.vorel@gmail.com>2012-02-20 00:25:26 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-02-20 11:49:35 +0000
commitaafcf8c84c42f6b5dd079eb38f588dd8a21ec05d (patch)
treea855538c10fcb3f1ba9c7b4d43c16e8b915597db /sc
parentImprove (?) explanation (diff)
downloadcore-aafcf8c84c42f6b5dd079eb38f588dd8a21ec05d.tar.gz
core-aafcf8c84c42f6b5dd079eb38f588dd8a21ec05d.zip
Remove unused code
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/cell.hxx1
-rw-r--r--sc/source/core/data/cell.cxx26
-rw-r--r--sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx14
-rw-r--r--sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx3
4 files changed, 0 insertions, 44 deletions
diff --git a/sc/inc/cell.hxx b/sc/inc/cell.hxx
index 52244f6dca93..387ff69202f9 100644
--- a/sc/inc/cell.hxx
+++ b/sc/inc/cell.hxx
@@ -375,7 +375,6 @@ public:
ScAddress aPos;
~ScFormulaCell();
- ScFormulaCell();
/** Empty formula cell, or with a preconstructed token array. */
ScFormulaCell( ScDocument*, const ScAddress&, const ScTokenArray* = NULL,
diff --git a/sc/source/core/data/cell.cxx b/sc/source/core/data/cell.cxx
index 74e93308d0b1..48d6391f9382 100644
--- a/sc/source/core/data/cell.cxx
+++ b/sc/source/core/data/cell.cxx
@@ -723,32 +723,6 @@ ScStringCell::~ScStringCell()
// ScFormulaCell
//
-ScFormulaCell::ScFormulaCell() :
- ScBaseCell( CELLTYPE_FORMULA ),
- eTempGrammar( FormulaGrammar::GRAM_DEFAULT),
- pCode( NULL ),
- pDocument( NULL ),
- pPrevious(0),
- pNext(0),
- pPreviousTrack(0),
- pNextTrack(0),
- nFormatIndex(0),
- nFormatType( NUMBERFORMAT_NUMBER ),
- nSeenInIteration(0),
- cMatrixFlag ( MM_NONE ),
- bDirty( false ),
- bChanged( false ),
- bRunning( false ),
- bCompile( false ),
- bSubTotal( false ),
- bIsIterCell( false ),
- bInChangeTrack( false ),
- bTableOpDirty( false ),
- bNeedListening( false ),
- aPos(0,0,0)
-{
-}
-
ScFormulaCell::ScFormulaCell( ScDocument* pDoc, const ScAddress& rPos,
const String& rFormula,
const FormulaGrammar::Grammar eGrammar,
diff --git a/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx b/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx
index 7a9b81ea7a0e..55140b1052b2 100644
--- a/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx
+++ b/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx
@@ -38,20 +38,6 @@
#define SC_CHANGE_ID_PREFIX "ct"
-ScMyCellInfo::ScMyCellInfo()
- : pCell(NULL),
- sFormulaAddress(),
- sFormula(),
- sInputString(),
- fValue(0.0),
- nMatrixCols(0),
- nMatrixRows(0),
- eGrammar( formula::FormulaGrammar::GRAM_STORAGE_DEFAULT),
- nType(NUMBERFORMAT_ALL),
- nMatrixFlag(MM_NONE)
-{
-}
-
ScMyCellInfo::ScMyCellInfo(ScBaseCell* pTempCell, const rtl::OUString& rFormulaAddress, const rtl::OUString& rFormula,
const formula::FormulaGrammar::Grammar eTempGrammar, const rtl::OUString& rInputString,
const double& rValue, const sal_uInt16 nTempType, const sal_uInt8 nTempMatrixFlag, const sal_Int32 nTempMatrixCols,
diff --git a/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx b/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx
index 56d4bf36402d..60b497c38fe4 100644
--- a/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx
+++ b/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx
@@ -64,9 +64,6 @@ struct ScMyCellInfo
~ScMyCellInfo();
ScBaseCell* CreateCell(ScDocument* pDoc);
-
-private:
- ScMyCellInfo(); // disabled
};
struct ScMyDeleted