From 8becd40f030b94fe3fb6ad82b048ee97daaea2b1 Mon Sep 17 00:00:00 2001 From: Tamas Bunth Date: Fri, 21 Jul 2017 12:53:43 +0000 Subject: avoid unnecessary calls of AdjustRowHeight MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2d164f69a7313d69f3fe5cabe1e3cc39aeba4d32 Reviewed-on: https://gerrit.libreoffice.org/40272 Reviewed-by: Tamás Bunth Tested-by: Tamás Bunth --- sc/inc/column.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sc/inc/column.hxx') diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx index e280e3c7f692..35693f87aa8b 100644 --- a/sc/inc/column.hxx +++ b/sc/inc/column.hxx @@ -460,7 +460,8 @@ public: void ApplyAttr( SCROW nRow, const SfxPoolItem& rAttr ); void ApplyPattern( SCROW nRow, const ScPatternAttr& rPatAttr ); void ApplyPatternArea( SCROW nStartRow, SCROW nEndRow, const ScPatternAttr& rPatAttr, - ScEditDataArray* pDataArray = nullptr ); + ScEditDataArray* pDataArray = nullptr, + bool* const pIsChanged = nullptr); void SetPattern( SCROW nRow, const ScPatternAttr& rPatAttr ); void SetPatternArea( SCROW nStartRow, SCROW nEndRow, const ScPatternAttr& rPatAttr ); -- cgit