summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-12-06 23:34:44 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2011-12-06 23:39:05 -0500
commit3e68dba79d630fd9516bfa1314ebc0fd48d969bd (patch)
tree6c7b9f98019b7ebfd6b2089f1bb5677a5d2b40b2 /sc/inc
parentb08e273015d72251b68bca86535cf5919dd9e40e (diff)
bnc#733864: Make sure to adjust the sheet index of drawing objects.
For cell-anchored drawing objects. Failing to do so would result in either one of 1) write error during file save, 2) drawing object disappearing upon reload, or 3) drawing object relocated to a wrong sheet, with wrong position and size upon reload.
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/drwlayer.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/inc/drwlayer.hxx b/sc/inc/drwlayer.hxx
index 6f4f71dd6902..f879e7475774 100644
--- a/sc/inc/drwlayer.hxx
+++ b/sc/inc/drwlayer.hxx
@@ -126,6 +126,7 @@ public:
void ScMovePage( sal_uInt16 nOldPos, sal_uInt16 nNewPos );
// incl. content, bAlloc=FALSE -> only content
void ScCopyPage( sal_uInt16 nOldPos, sal_uInt16 nNewPos, sal_Bool bAlloc );
+ void ResetTab( SCTAB nStart, SCTAB nEnd );
ScDocument* GetDocument() const { return pDoc; }