summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2011-07-29 14:28:36 +0100
committerNoel Power <noel.power@novell.com>2011-07-29 14:31:08 +0100
commit745440174aa7244038d7915feb7df6731d2608f0 (patch)
treee0b9b6079f3ba5a5c519c733b56d29dde4e693b3 /sc/source
parent09775aa19a0480243bbb1a6aec9edbb2f52c2748 (diff)
bnc#707486 fix fit of extreme carelessness with defaulted params
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/view/viewfun3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/viewfun3.cxx b/sc/source/ui/view/viewfun3.cxx
index 8803e4d4db16..f3bef79edcf7 100644
--- a/sc/source/ui/view/viewfun3.cxx
+++ b/sc/source/ui/view/viewfun3.cxx
@@ -370,7 +370,7 @@ sal_Bool ScViewFunc::CopyToClip( ScDocument* pClipDoc, const ScRangeList& rRange
// and lose the 'if' above
aClipParam.setSourceDocID( pDoc->GetDocumentID() );
- pDoc->CopyToClip( aClipParam, pClipDoc, &rMark, false, bIncludeObjects, bUseRangeForVBA );
+ pDoc->CopyToClip( aClipParam, pClipDoc, &rMark, false, false, bIncludeObjects, true, bUseRangeForVBA );
if ( !bUseRangeForVBA && pDoc && pClipDoc )
{
ScDrawLayer* pDrawLayer = pClipDoc->GetDrawLayer();
@@ -501,7 +501,7 @@ sal_Bool ScViewFunc::CopyToClip( ScDocument* pClipDoc, const ScRangeList& rRange
}
if (!bValidRanges)
break;
- pDoc->CopyToClip(aClipParam, pDocClip.get(), &rMark, false, false, bIncludeObjects, bUseRangeForVBA );
+ pDoc->CopyToClip(aClipParam, pDocClip.get(), &rMark, false, false, bIncludeObjects, true, bUseRangeForVBA );
ScChangeTrack* pChangeTrack = pDoc->GetChangeTrack();
if ( pChangeTrack )