diff options
author | Winfried Donkers <osc@dci-electronics.nl> | 2013-06-26 08:00:17 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-06-26 22:34:27 +0000 |
commit | e513fffeac1f4a814f644f156d88fc8810af4e46 (patch) | |
tree | 4675b24fdd344ff908c1f95a14239167eee4a4a6 /sc | |
parent | fdo#64672 prevent raptor from setting global libxml2 error handlers (diff) | |
download | core-e513fffeac1f4a814f644f156d88fc8810af4e46.tar.gz core-e513fffeac1f4a814f644f156d88fc8810af4e46.zip |
fdo#65856 allow shift cells in paste special for copy-mode
Change-Id: I7a7e13104e7256da9a82e16e14ddfa04e35e7f8a
Reviewed-on: https://gerrit.libreoffice.org/4525
Tested-by: Eike Rathke <erack@redhat.com>
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/cellsh1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx index 7873b27aab18..6e4aadb9a508 100644 --- a/sc/source/ui/view/cellsh1.cxx +++ b/sc/source/ui/view/cellsh1.cxx @@ -1291,7 +1291,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq ) nClipStartX + nClipSizeX, nClipStartY + nClipSizeY, nStartTab ); ScRange aDest( nStartX, nStartY, nStartTab, nStartX + nRangeSizeX, nStartY + nRangeSizeY, nStartTab ); - if ( aSource.Intersects( aDest ) ) + if ( pOwnClip->GetDocument()->IsCutMode() && aSource.Intersects( aDest ) ) pDlg->SetCellShiftDisabled( SC_CELL_SHIFT_DISABLE_DOWN | SC_CELL_SHIFT_DISABLE_RIGHT ); else { |