diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-06-25 15:44:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-25 21:42:46 +0200 |
commit | 34c6d02661949fcc9c15bd77d6e837623bbddcdb (patch) | |
tree | 99d352d6d33e51cd32209d7d52a9c35b06381c8b /sc/inc/table.hxx | |
parent | 1759fb1f50015a4ce4f8b9843891e71a615b5a2e (diff) |
tdf#149647 LibreOffice Calc cursor not positioned correctly
Revert the offending commit
commit feec8e3c34e08b621098a17f1011dccd0b4f7f4c
reduce iteration in ScViewData::GetScrPos
Change-Id: Id1df2bf7f87e6b800b40871c1472ed466b7eb6a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136442
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/table.hxx')
-rw-r--r-- | sc/inc/table.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx index da1c0a4d4e98..c6c3bd031cb3 100644 --- a/sc/inc/table.hxx +++ b/sc/inc/table.hxx @@ -854,7 +854,7 @@ public: tools::Long GetColWidth( SCCOL nStartCol, SCCOL nEndCol ) const; sal_uInt16 GetRowHeight( SCROW nRow, SCROW* pStartRow, SCROW* pEndRow, bool bHiddenAsZero = true ) const; tools::Long GetRowHeight( SCROW nStartRow, SCROW nEndRow, bool bHiddenAsZero = true ) const; - tools::Long GetScaledRowHeight( SCROW nStartRow, SCROW nEndRow, double fScale, const tools::Long* pnMaxHeight = nullptr ) const; + tools::Long GetScaledRowHeight( SCROW nStartRow, SCROW nEndRow, double fScale ) const; tools::Long GetColOffset( SCCOL nCol, bool bHiddenAsZero = true ) const; tools::Long GetRowOffset( SCROW nRow, bool bHiddenAsZero = true ) const; |