diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/lokcharthelper.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sfx2/source/view/lokcharthelper.cxx b/sfx2/source/view/lokcharthelper.cxx index 6181920916c0..c8d46b134ad4 100644 --- a/sfx2/source/view/lokcharthelper.cxx +++ b/sfx2/source/view/lokcharthelper.cxx @@ -236,6 +236,10 @@ void LokChartHelper::PaintAllChartsOnTile(VirtualDevice& rDevice, int nTilePosX, int nTilePosY, long nTileWidth, long nTileHeight) { + // TODO: Hack to make Android Viewer render at least *something* again, but of + // course it's just a crude hack to just disable this instead of debugging further + // and fixing it for Android case +#if !defined(ANDROID) // Resizes the virtual device so to contain the entries context rDevice.SetOutputSizePixel(Size(nOutputWidth, nOutputHeight)); @@ -259,6 +263,7 @@ void LokChartHelper::PaintAllChartsOnTile(VirtualDevice& rDevice, pViewShell = SfxViewShell::GetNext(*pViewShell); } rDevice.Pop(); +#endif } bool LokChartHelper::postMouseEvent(int nType, int nX, int nY, |