summaryrefslogtreecommitdiffstats
path: root/sc/inc/document.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-03-29 20:36:12 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-03-29 20:39:00 +0200
commitf826a5b56ac12e0b85c380f7d26c379e3d1f7281 (patch)
tree0c2d53ae632e9e81ea0f918fbcee9b1bae2955bf /sc/inc/document.hxx
parentRemove unnecessary tools/table.hxx #includes (diff)
downloadcore-f826a5b56ac12e0b85c380f7d26c379e3d1f7281.tar.gz
core-f826a5b56ac12e0b85c380f7d26c379e3d1f7281.zip
quick and ugly hack for ScEditableTester in ucalc
Fix this as soon as possible with a clean fix
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r--sc/inc/document.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 6b2139bb208c..2fbd0eb27970 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -419,6 +419,10 @@ private:
::std::set<ScFormulaCell*> maSubTotalCells;
+ // quick and ugly hack to fix the ScEditableTester problem in ucalc
+ // write a clean fix for this as soon as possible
+ bool mbIsInTest;
+
public:
SC_DLLPUBLIC sal_uLong GetCellCount() const; // all cells
SCSIZE GetCellCount(SCTAB nTab, SCCOL nCol) const;
@@ -1103,6 +1107,7 @@ public:
bool bColInfo = false, bool bRowInfo = false );
SC_DLLPUBLIC void InitUndoSelected( ScDocument* pSrcDoc, const ScMarkData& rTabSelection,
bool bColInfo = false, bool bRowInfo = false );
+ void SetInTest() { mbIsInTest = true; }
// don't use anymore:
void CopyToDocument(SCCOL nCol1, SCROW nRow1, SCTAB nTab1,