diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-17 14:12:08 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-17 14:12:08 +0100 |
commit | 948555c44df31f46573cf4583bc1e17273ce5c07 (patch) | |
tree | 6b96c84743a72bd6bedbc5b06e6c1eaa3a836225 | |
parent | 0d839366acfd932b8ae1b31b72c5eca4e102834d (diff) |
PaneDescriptor::mbNeedsClipping is never read
Change-Id: If8e5f5dca0927b961685af7339fd1d982314a6d7
-rw-r--r-- | sdext/source/presenter/PresenterPaneContainer.hxx | 1 | ||||
-rw-r--r-- | sdext/source/presenter/PresenterPaneFactory.cxx | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterPaneContainer.hxx b/sdext/source/presenter/PresenterPaneContainer.hxx index ea9ba7292aab..817dabd1f576 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 aff909edbe6c..a2a83d8cc27b 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. |