summaryrefslogtreecommitdiffstats
path: root/sdext
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-17 14:12:08 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-17 14:12:08 +0100
commit948555c44df31f46573cf4583bc1e17273ce5c07 (patch)
tree6b96c84743a72bd6bedbc5b06e6c1eaa3a836225 /sdext
parentsc lok: Unit tests for Comments API (diff)
downloadcore-948555c44df31f46573cf4583bc1e17273ce5c07.tar.gz
core-948555c44df31f46573cf4583bc1e17273ce5c07.zip
PaneDescriptor::mbNeedsClipping is never read
Change-Id: If8e5f5dca0927b961685af7339fd1d982314a6d7
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/presenter/PresenterPaneContainer.hxx1
-rw-r--r--sdext/source/presenter/PresenterPaneFactory.cxx2
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.