diff options
author | Niklas Nebel <nn@openoffice.org> | 2011-02-23 19:24:58 +0100 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2011-02-23 19:24:58 +0100 |
commit | 74d51c1c542ebbe2312d90ffb60f8f51b2de81a9 (patch) | |
tree | 9cfb8960cdde44edd692ab4deaca2b900b646b7c /sc/source/ui/docshell/docfunc.cxx | |
parent | 9830a3b8ed564471f76b0502a8a88a74952582f4 (diff) |
calc66: use correct sheet for clip param also in MoveBlock, PasteDataFormat (avoid assertions)
Diffstat (limited to 'sc/source/ui/docshell/docfunc.cxx')
-rw-r--r-- | sc/source/ui/docshell/docfunc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx index 152f9f206cbe..62b256ba620c 100644 --- a/sc/source/ui/docshell/docfunc.cxx +++ b/sc/source/ui/docshell/docfunc.cxx @@ -2291,7 +2291,7 @@ sal_Bool ScDocFunc::MoveBlock( const ScRange& rSource, const ScAddress& rDestPos } ScDrawLayer::SetGlobalDrawPersist(aDragShellRef); - ScClipParam aClipParam(ScRange(nStartCol, nStartRow, 0, nEndCol, nEndRow, 0), bCut); + ScClipParam aClipParam(ScRange(nStartCol, nStartRow, nStartTab, nEndCol, nEndRow, nStartTab), bCut); pDoc->CopyToClip(aClipParam, pClipDoc, &aSourceMark, false, bScenariosAdded, true); ScDrawLayer::SetGlobalDrawPersist(NULL); |