diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-04-09 18:38:00 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-04-10 17:44:56 +0300 |
commit | f66d64ab2e85f574a4b9f644ef709ff981483836 (patch) | |
tree | 4e1c3214dcc0a62a2a04b3871d7b568155455011 /unotools | |
parent | 39d29be28b92328149430045f1e10e1ebeb6a0eb (diff) |
Intermediate commit: un-revert last change
Change-Id: I3d18f8d6844377edc0864d81284c7fb9dbb9dbf9
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/fltrcfg.cxx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/unotools/source/config/fltrcfg.cxx b/unotools/source/config/fltrcfg.cxx index 6c2c473da3ec..dc8dbbdd21e3 100644 --- a/unotools/source/config/fltrcfg.cxx +++ b/unotools/source/config/fltrcfg.cxx @@ -584,8 +584,24 @@ void SvtFilterOptions::SetImpress2PowerPoint( bool bFlag ) SetModified(); } +static bool lcl_DoTiledRendering() +{ +#if !HAVE_FEATURE_DESKTOP + // We do tiled rendering only for iOS at the moment, actually, but + // let's see what happens if we assume it for Android, too. + return true; +#else + // We need some way to know globally if this process will use + // tiled rendering or not. Or should this be a per-window setting? + // Or what? + return false; +#endif +} + bool SvtFilterOptions::IsSmartArt2Shape() const { + if (lcl_DoTiledRendering()) + return true; return pImp->IsFlag( FILTERCFG_SMARTART_SHAPE_LOAD ); } |