diff options
author | Eike Rathke <erack@redhat.com> | 2016-07-28 18:51:01 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-07-28 19:04:08 +0200 |
commit | 984b0d1599ff1672cb0d28019bd652d58d6bdefa (patch) | |
tree | 2ecbcf72013f22886d3e85a9d92e13d003492b0e /sc/source/ui/inc | |
parent | 4e85daeb78e9d9f290e49518b11efc2285f86713 (diff) |
Resolves: tdf#60021 disallow Paste when entire sheet is selected
... which exhausts memory unless you have 100GB or more of free RAM.
Change-Id: Ie6f02c48457f80acad33d2286194765f8343f2fb
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r-- | sc/source/ui/inc/viewdata.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx index a7446e1c854b..7c1c09834ca4 100644 --- a/sc/source/ui/inc/viewdata.hxx +++ b/sc/source/ui/inc/viewdata.hxx @@ -354,6 +354,9 @@ public: bool IsMultiMarked(); + /// Disallow paste on Ctrl+A all selected. We'd go DOOM. + bool SelectionForbidsPaste(); + void SetFillMode( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow ); void SetDragMode( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow, ScFillMode nMode ); |