[Libreoffice-commits] core.git: sdext/source

Stephan Bergmann sbergman at redhat.com
Fri Feb 17 13:12:36 UTC 2017


 sdext/source/presenter/PresenterPaneContainer.hxx |    1 -
 sdext/source/presenter/PresenterPaneFactory.cxx   |    2 --
 2 files changed, 3 deletions(-)

New commits:
commit 948555c44df31f46573cf4583bc1e17273ce5c07
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Feb 17 14:12:08 2017 +0100

    PaneDescriptor::mbNeedsClipping is never read
    
    Change-Id: If8e5f5dca0927b961685af7339fd1d982314a6d7

diff --git a/sdext/source/presenter/PresenterPaneContainer.hxx b/sdext/source/presenter/PresenterPaneContainer.hxx
index ea9ba72..817dabd 100644
--- a/sdext/source/presenter/PresenterPaneContainer.hxx
+++ b/sdext/source/presenter/PresenterPaneContainer.hxx
@@ -96,7 +96,6 @@ public:
         double mnBottom;
         SharedBitmapDescriptor mpViewBackground;
         bool mbIsActive;
-        bool mbNeedsClipping;
         bool mbIsOpaque;
         SpriteProvider maSpriteProvider;
         bool mbIsSprite;
diff --git a/sdext/source/presenter/PresenterPaneFactory.cxx b/sdext/source/presenter/PresenterPaneFactory.cxx
index aff909e..a2a83d8 100644
--- a/sdext/source/presenter/PresenterPaneFactory.cxx
+++ b/sdext/source/presenter/PresenterPaneFactory.cxx
@@ -297,12 +297,10 @@ Reference<XResource> PresenterPaneFactory::CreatePane (
             auto const pPane(dynamic_cast<PresenterSpritePane*>(xPane.get()));
             pDescriptor->maSpriteProvider = [pPane](){ return pPane->GetSprite(); };
             pDescriptor->mbIsSprite = true;
-            pDescriptor->mbNeedsClipping = false;
         }
         else
         {
             pDescriptor->mbIsSprite = false;
-            pDescriptor->mbNeedsClipping = true;
         }
 
         // Get the window of the frame and make that visible.


More information about the Libreoffice-commits mailing list