summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/viewdata.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-07-29 13:30:07 +0200
committerEike Rathke <erack@redhat.com>2016-07-29 13:34:35 +0200
commit4b90c9dc83d96908d3732d95e75c2f71d0f5d988 (patch)
tree81cb1deb25c4420f29969a2fe1dae553e0f1be85 /sc/source/ui/inc/viewdata.hxx
parent9a40590d0ca45a587717b3931a5eed8c2c2c6f1b (diff)
move range detection to ScViewData::SelectionFillDOOM()
Change-Id: Ic5205428136fc323affed8d956d6ee0434d43988
Diffstat (limited to 'sc/source/ui/inc/viewdata.hxx')
-rw-r--r--sc/source/ui/inc/viewdata.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx
index 7c1c09834ca4..141e758729a3 100644
--- a/sc/source/ui/inc/viewdata.hxx
+++ b/sc/source/ui/inc/viewdata.hxx
@@ -356,6 +356,8 @@ public:
/// Disallow paste on Ctrl+A all selected. We'd go DOOM.
bool SelectionForbidsPaste();
+ /// Determine DOOM condition, i.e. from selected range.
+ static bool SelectionFillDOOM( const ScRange& rRange );
void SetFillMode( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow );
void SetDragMode( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCROW nEndRow,