summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2011-07-26 20:06:30 +0100
committerNoel Power <noel.power@novell.com>2011-07-26 20:06:30 +0100
commit705030ab508a4d2fe840731e76e16c84673933fa (patch)
treeb4ada87ad54da944cf58aaeecf2c0dd7dfcfff88 /sc/inc
parentbb020b3ea80e104d2db1fd301dbca8a01b838f4a (diff)
fix for bnc#707486 allow copy for suitable multi-area Ranges
also remove the extra CopyToClip ( and CopyToClip4VBA ), merged the functionality to remove the existing copy and paste.
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/document.hxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 19dad8283aee..11b87fe6cd18 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -1030,10 +1030,7 @@ public:
void CopyToClip(const ScClipParam& rClipParam, ScDocument* pClipDoc,
const ScMarkData* pMarks = NULL, bool bAllTabs = false, bool bKeepScenarioFlags = false,
- bool bIncludeObjects = false, bool bCloneNoteCaptions = true);
-
- void CopyToClip4VBA(const ScClipParam& rClipParam, ScDocument* pClipDoc, bool bKeepScenarioFlags = false,
- bool bIncludeObjects = false, bool bCloneNoteCaptions = true);
+ bool bIncludeObjects = false, bool bCloneNoteCaptions = true, bool bUseRangeForVBA = false );
void CopyTabToClip(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
SCTAB nTab, ScDocument* pClipDoc = NULL);