diff options
author | Mihai Varga <mihai.varga@collabora.com> | 2015-07-31 18:24:33 +0300 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-08-03 10:11:44 +0000 |
commit | a381d16d23d0efb678e9e410db3ad23313693640 (patch) | |
tree | 9c3251664e2b7675e7bf3a6ac879b7d8358f29ae /include | |
parent | dfc81188d50472dde2aa50752b415feab12350b4 (diff) |
Removed some whole page invalidations in impress
1. For tiled rendering, don't invalidate the whole page when hiding it
2. Don't invalidate when showing a page because we've just hidden the
previous one
3. No need for invalidation when setting visible layers
Change-Id: I858401b22c95093c58ec00896fe92b766fddb6de
Reviewed-on: https://gerrit.libreoffice.org/17452
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdpagv.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/svdpagv.hxx b/include/svx/svdpagv.hxx index 1cc20e1e6c12..6d3074759510 100644 --- a/include/svx/svdpagv.hxx +++ b/include/svx/svdpagv.hxx @@ -215,7 +215,7 @@ public: void LogicToPagePos(Rectangle& rRect) const { rRect.Move(-aPgOrg.X(),-aPgOrg.Y()); } void PagePosToLogic(Point& rPnt) const { rPnt+=aPgOrg; } - void SetVisibleLayers(const SetOfByte& rSet) { aLayerVisi=rSet; InvalidateAllWin(); } + void SetVisibleLayers(const SetOfByte& rSet) { aLayerVisi=rSet; } const SetOfByte& GetVisibleLayers() const { return aLayerVisi; } void SetPrintableLayers(const SetOfByte& rSet) { aLayerPrn=rSet; } const SetOfByte& GetPrintableLayers() const { return aLayerPrn; } |