diff options
author | Eike Rathke <erack@redhat.com> | 2016-07-29 15:02:12 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-07-29 15:10:43 +0200 |
commit | c729ee7622b1d54b2dc82b1807c68899efeab6d7 (patch) | |
tree | 1e0aba1495f832ff6546e375da370614f3ef8d20 /sc/source/ui/docshell | |
parent | 410382a423018faeac1b47400f930bef62be3e46 (diff) |
Resolves: tdf#60056 disallow Fill when entire sheet is selected
Change-Id: I866f84d72c27be962dbad8f8e4dcb345aa336bff
Diffstat (limited to 'sc/source/ui/docshell')
-rw-r--r-- | sc/source/ui/docshell/docfunc.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx index 1f4ed8d3fdf6..cdaedc22a8b4 100644 --- a/sc/source/ui/docshell/docfunc.cxx +++ b/sc/source/ui/docshell/docfunc.cxx @@ -4604,6 +4604,11 @@ bool ScDocFunc::FillAuto( ScRange& rRange, const ScMarkData* pTabMark, FillDir e return false; } + // FID_FILL_... slots should already had been disabled, check here for API + // calls, no message. + if (ScViewData::SelectionFillDOOM( aDestArea)) + return false; + WaitObject aWait( ScDocShell::GetActiveDialogParent() ); ScDocument* pUndoDoc = nullptr; |