summaryrefslogtreecommitdiff
path: root/sc/inc/drwlayer.hxx
diff options
context:
space:
mode:
authorDennis Francis <dennisfrancis.in@gmail.com>2016-02-13 02:29:12 +0530
committerEike Rathke <erack@redhat.com>2016-03-08 18:06:09 +0000
commit7c0f6b9d0fb8d7d9e54865ccf1047bb8f8148101 (patch)
treefa3c963516d2c4b481df72591b362fd77b7ba2b9 /sc/inc/drwlayer.hxx
parent10f048bafa52bc443249bf7abe23ad5c96f98f80 (diff)
tdf#94561 : Create notes drawing objects only once on sheet copy
Skip copying notes in CopyToColumn() and then call CopyCellNotesToDocument() only after copying hidden rows and filtered rows info. Skip copying notes drawing objects in ScDocument::DrawCopyPage() when inside ScDocument::CopyTab(). Change-Id: I38296bb5d1cc062d473ea4a5a3143f6c1787fc4a Reviewed-on: https://gerrit.libreoffice.org/22331 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/inc/drwlayer.hxx')
-rw-r--r--sc/inc/drwlayer.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/drwlayer.hxx b/sc/inc/drwlayer.hxx
index 2bd6d55d72ed..6dec7b7c4a83 100644
--- a/sc/inc/drwlayer.hxx
+++ b/sc/inc/drwlayer.hxx
@@ -121,7 +121,7 @@ public:
void ScRemovePage( SCTAB nTab );
void ScRenamePage( SCTAB nTab, const OUString& rNewName );
void ScMovePage( sal_uInt16 nOldPos, sal_uInt16 nNewPos );
- void ScCopyPage( sal_uInt16 nOldPos, sal_uInt16 nNewPos);
+ void ScCopyPage( sal_uInt16 nOldPos, sal_uInt16 nNewPos, bool bSkipNotes = false );
void ResetTab( SCTAB nStart, SCTAB nEnd );
ScDocument* GetDocument() const { return pDoc; }