sc/source/ui/view/tabview.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 69b27925dbd979491a417d477479f4d6dcb4a72d Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Tue Apr 21 09:57:54 2020 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Apr 21 11:50:18 2020 +0200 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.gran...@collabora.co.uk> 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 ), _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits