diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-08-11 19:51:17 +0200 |
---|---|---|
committer | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-08-11 19:51:17 +0200 |
commit | 1adb6dc0f02d8b91b0631cf80aa6b29d6a71e4d4 (patch) | |
tree | f7eaf11cb098cb0c6a63ecd191b045c25b42dee1 /sc | |
parent | cf1ed90aa1f04790fc6e71531d100c086a6f1e95 (diff) |
Remove bad check.
This was an issue with Tiled Rendering when we still used the FillData.
We don't use FillData anymore, and more importantly we do actually
want to be able to redraw just one column/row at a time (where
nStart==nEnd).
Change-Id: I3f8b85556d3b6d6cf7cdc50db93db1fa3119e9fc
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/hdrcont.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sc/source/ui/view/hdrcont.cxx b/sc/source/ui/view/hdrcont.cxx index b259ec8592a7..81f58703db04 100644 --- a/sc/source/ui/view/hdrcont.cxx +++ b/sc/source/ui/view/hdrcont.cxx @@ -111,16 +111,6 @@ void ScHeaderControl::DoPaint( SCCOLROW nStart, SCCOLROW nEnd ) bool bLayoutRTL = IsLayoutRTL(); long nLayoutSign = bLayoutRTL ? -1 : 1; - if ( nStart == nEnd ) - { - // No point in painting 0 items... - // This happens e.g. during the construction, and can actually cause - // problems at that point as we don't yet have a viewshell, hence - // we can't populate the tab info, hence we get segfaults when trying - // to access inexistent data in the tabinfo. - return; - } - SCROW nY1 = 0, nY2 = 1; SCCOL nX1 = 0, nX2 = 1; if ( bVertical ) |