summaryrefslogtreecommitdiff
path: root/sc/inc/drwlayer.hxx
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:38:09 -0500
commite2621785569969374cc3bc39fae0341d8b848612 (patch)
treef888b45373beef9cb0702d2c45a13ec983cec842 /sc/inc/drwlayer.hxx
parent5260bf5ea7271cca4767f596592091dcdfd895fe (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/drwlayer.hxx')
-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; }