From 93f5cb55349e6de5003182462bfee434dc51f6ad Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Mon, 1 May 2017 19:43:16 -0400 Subject: tdf#107255: detect whether the range has only one data cell. Change-Id: I030961d9d38b092ffdc966baa10decae0c2d070d Reviewed-on: https://gerrit.libreoffice.org/37178 Tested-by: Jenkins Reviewed-by: Kohei Yoshida --- sc/inc/column.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sc/inc/column.hxx') diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx index e7a81e877f13..564b6ff8114a 100644 --- a/sc/inc/column.hxx +++ b/sc/inc/column.hxx @@ -381,6 +381,9 @@ public: bool HasValueData( SCROW nRow ) const; bool HasStringCells( SCROW nStartRow, SCROW nEndRow ) const; + sc::MultiDataCellState::StateType HasDataCellsInRange( + SCROW nRow1, SCROW nRow2, SCROW* pRow1 = nullptr ) const; + bool IsFormulaDirty( SCROW nRow ) const; void CheckVectorizationState(); -- cgit