summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-30 01:31:56 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-30 02:21:07 +0100
commitfa7b61a087656f3b23b33492795a5bdd266776fd (patch)
treea3037a80fb10f5551d3407d7a00c34e257e86d70 /sc
parentbc4f4de5fde53a46ff835a150f3128db2f63f860 (diff)
make clear that this variable should not be used inside of ScDocument
Sadly it is not as easy as it should to remove this variable yet. There are some users inside the import filters that prevent me from moving the variable into the UI layer but we should not use it inside ScDocument. We should inspect in the future if this variable is actually a good idea at all or if it create problems with multiple views and we need to use the current table of the current view. Change-Id: Ic1a378bacfcba65a3df8e5782e64eb15ca057d7d
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/document.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 4795986512b6..845672397e10 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -332,7 +332,7 @@ private:
SCROW nSrcMaxRow; // number of lines to load/save
sal_uInt16 nFormulaTrackCount;
bool bHardRecalcState; // false: soft, true: hard
- SCTAB nVisibleTab; // for OLE etc.
+ SCTAB nVisibleTab; // for OLE etc., don't use inside ScDocument
ScLkUpdMode eLinkMode;