diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-09-30 15:22:48 +0100 |
---|---|---|
committer | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-09-30 15:22:48 +0100 |
commit | c03104e7e62d8ec9cfe3ee05fa9824b46260f8d6 (patch) | |
tree | 3684b5e0a2e4c105aceec9f5a0b5bfd0569bb2f9 | |
parent | c08aed81936e338dc82558014328ab19f7361a0f (diff) |
Don't abort rendering if Android window 'minimized'.
This simply has no relevance to tiled rendering.
Change-Id: Iee348cf6792d83d364c33de81415a7cbe0be6a47
-rw-r--r-- | sc/source/ui/view/gridwin4.cxx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx index dd4ea9503840..8816e648db14 100644 --- a/sc/source/ui/view/gridwin4.cxx +++ b/sc/source/ui/view/gridwin4.cxx @@ -456,7 +456,13 @@ void ScGridWindow::Draw( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, ScUpdateMod ScModule* pScMod = SC_MOD(); bool bTextWysiwyg = pScMod->GetInputOptions().GetTextWysiwyg(); - if (pViewData->IsMinimized()) + // For tiled rendering on Android (but NOT on desktop) IsMinimized returns + // false (for reasons I do not yet understand), hence for now we disable + // this check when we are doing tiled-rendering. However presumably VCL + // shouldn't be calling Paint (and thus Draw) in any case when the window + // isn't visible, so it's possible that this check is completely bogus + // anyway? + if ( (pOutDev == this) && ( pViewData->IsMinimized() ) ) return; PutInOrder( nX1, nX2 ); |