diff options
author | Tor Lillqvist <tml@collabora.com> | 2021-02-02 10:39:21 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2021-02-02 12:01:56 +0100 |
commit | e763e13873adfe3c6abfa4c2dfd3ac3847e2d494 (patch) | |
tree | e60a1085c9d09033c1e87a86dfdf4f00dcbdeaf0 /sc/inc/table.hxx | |
parent | df5b9500c079ec1d3fd9485dbf55aeea338ae2fd (diff) |
Don't bother shrinking row height when changing just one row interactively
This reverts dca0374fb1edbd9bdeeaadda3f1866ce66b3a778 and instead
tries to achieve the same without using a flag in ScGlobal. How
reliable that is I don't know. See
https://gerrit.libreoffice.org/c/core/+/110245 for discussion.
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110245
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Change-Id: I2a7aa5bf3d29e5fd071e2f1cab628b923b5b6754
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110285
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'sc/inc/table.hxx')
-rw-r--r-- | sc/inc/table.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx index 1962290cb862..a09781366821 100644 --- a/sc/inc/table.hxx +++ b/sc/inc/table.hxx @@ -779,7 +779,7 @@ public: bool bFormula, const ScMarkData* pMarkData, const ScColWidthParam* pParam ); bool SetOptimalHeight( - sc::RowHeightContext& rCxt, SCROW nStartRow, SCROW nEndRow, + sc::RowHeightContext& rCxt, SCROW nStartRow, SCROW nEndRow, bool bApi, ScProgress* pOuterProgress = nullptr, sal_uLong nProgressStart = 0 ); void SetOptimalHeightOnly( @@ -796,7 +796,7 @@ public: void SetColWidthOnly( SCCOL nCol, sal_uInt16 nNewWidth ); void SetRowHeight( SCROW nRow, sal_uInt16 nNewHeight ); bool SetRowHeightRange( SCROW nStartRow, SCROW nEndRow, sal_uInt16 nNewHeight, - double nPPTY ); + double nPPTY, bool bApi ); /** * Set specified row height to specified ranges. Don't check for drawing |