summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/svx/svdpagv.hxx2
-rw-r--r--svx/source/svdraw/svdpagv.cxx6
2 files changed, 5 insertions, 3 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; }
diff --git a/svx/source/svdraw/svdpagv.cxx b/svx/source/svdraw/svdpagv.cxx
index e8caa445fe9c..9c74d433e1c9 100644
--- a/svx/source/svdraw/svdpagv.cxx
+++ b/svx/source/svdraw/svdpagv.cxx
@@ -229,7 +229,6 @@ void SdrPageView::Show()
if(!IsVisible())
{
mbVisible = true;
- InvalidateAllWin();
for(sal_uInt32 a(0L); a < GetView().PaintWindowCount(); a++)
{
@@ -242,7 +241,10 @@ void SdrPageView::Hide()
{
if(IsVisible())
{
- InvalidateAllWin();
+ if (!GetView().GetModel()->isTiledRendering())
+ {
+ InvalidateAllWin();
+ }
mbVisible = false;
ClearPageWindows();
}