From 3e68dba79d630fd9516bfa1314ebc0fd48d969bd Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Tue, 6 Dec 2011 23:34:44 -0500 Subject: 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. --- sc/inc/drwlayer.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'sc/inc') 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; } -- cgit