diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-21 09:57:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-21 11:50:18 +0200 |
commit | 69b27925dbd979491a417d477479f4d6dcb4a72d (patch) | |
tree | cfee73833e966ab1da428254b5e837c821f9b26e | |
parent | 419afcf902056ab0863093e5a00d91eef43a4c6b (diff) |
use better number sof LOK fields in ScTabView
LOK is (a)busing tools::Rectangle to calculate coverage, which triggers
my new asserts because the existing numbers turn into RECT_EMPTY.
Change-Id: Ib3cd6a63ebaad7dc9887567dd2463a0ef5cfc900
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92607
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | sc/source/ui/view/tabview.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx index bea2d3480d16..d8bd7996f4ae 100644 --- a/sc/source/ui/view/tabview.cxx +++ b/sc/source/ui/view/tabview.cxx @@ -195,10 +195,10 @@ ScTabView::ScTabView( vcl::Window* pParent, ScDocShell& rDocSh, ScTabViewShell* nOldCurX( 0 ), nOldCurY( 0 ), mfPendingTabBarWidth( -1.0 ), - mnLOKStartHeaderRow( std::numeric_limits<SCROW>::min() ), - mnLOKEndHeaderRow( std::numeric_limits<SCROW>::min() ), - mnLOKStartHeaderCol( std::numeric_limits<SCCOL>::min() ), - mnLOKEndHeaderCol( std::numeric_limits<SCCOL>::min() ), + mnLOKStartHeaderRow( -2 ), + mnLOKEndHeaderRow( -1 ), + mnLOKStartHeaderCol( -2 ), + mnLOKEndHeaderCol( -1 ), bMinimized( false ), bInUpdateHeader( false ), bInActivatePart( false ), |