summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-06-27 10:32:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-06-27 10:32:58 +0200
commit766cd45488ab8c2cb2ae772f225cd967a7d32475 (patch)
tree0bec80e69cadb57c008fff827580c32678368210 /sdext
parente2378bbf4539455e445205ad868c43246ec423ed (diff)
PresenterPaneBase::PaintBorderBackground does nothing
...ever since 1eeb7358933afbb8d673c16c92bfd8492e8b5620 "INTEGRATION: CWS presenterscreen" Change-Id: Ibb5bf69eb3d11aa3c3b67ed0b342ca95ecf40bfe
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/presenter/PresenterPaneBase.cxx30
-rw-r--r--sdext/source/presenter/PresenterPaneBase.hxx3
2 files changed, 1 insertions, 32 deletions
diff --git a/sdext/source/presenter/PresenterPaneBase.cxx b/sdext/source/presenter/PresenterPaneBase.cxx
index 10abe27ce812..ee5b09cb5f45 100644
--- a/sdext/source/presenter/PresenterPaneBase.cxx
+++ b/sdext/source/presenter/PresenterPaneBase.cxx
@@ -314,34 +314,6 @@ void PresenterPaneBase::SetBackground (const SharedBitmapDescriptor& rpBackgroun
mpViewBackground = rpBackground;
}
-void PresenterPaneBase::PaintBorderBackground (
- const awt::Rectangle& rBorderBox,
- const awt::Rectangle& rUpdateBox)
-{
- (void)rBorderBox;
- (void)rUpdateBox;
- /*
- // The outer box of the border is given. We need the center and inner
- // box as well.
- awt::Rectangle aCenterBox (
- mxBorderPainter->removeBorder(
- mxPaneId->getResourceURL(),
- rBorderBox,
- drawing::framework::BorderType_OUTER_BORDER));
- awt::Rectangle aInnerBox (
- mxBorderPainter->removeBorder(
- mxPaneId->getResourceURL(),
- rBorderBox,
- drawing::framework::BorderType_TOTAL_BORDER));
- mpPresenterController->GetCanvasHelper()->Paint(
- mpViewBackground,
- mxBorderCanvas,
- rUpdateBox,
- aCenterBox,
- aInnerBox);
- */
-}
-
void PresenterPaneBase::PaintBorder (const awt::Rectangle& rUpdateBox)
{
OSL_ASSERT(mxPaneId.is());
@@ -351,7 +323,7 @@ void PresenterPaneBase::PaintBorder (const awt::Rectangle& rUpdateBox)
awt::Rectangle aBorderBox (mxBorderWindow->getPosSize());
awt::Rectangle aLocalBorderBox (0,0, aBorderBox.Width, aBorderBox.Height);
- PaintBorderBackground(aLocalBorderBox, rUpdateBox);
+ //TODO: paint border background?
mxBorderPainter->paintBorder(
mxPaneId->getResourceURL(),
diff --git a/sdext/source/presenter/PresenterPaneBase.hxx b/sdext/source/presenter/PresenterPaneBase.hxx
index 3f19273236d7..41e53f3f5309 100644
--- a/sdext/source/presenter/PresenterPaneBase.hxx
+++ b/sdext/source/presenter/PresenterPaneBase.hxx
@@ -122,9 +122,6 @@ protected:
void CreateWindows (
const css::uno::Reference<css::awt::XWindow>& rxParentWindow,
const bool bIsWindowVisibleOnCreation);
- static void PaintBorderBackground (
- const css::awt::Rectangle& rCenterBox,
- const css::awt::Rectangle& rUpdateBox);
void PaintBorder (const css::awt::Rectangle& rUpdateRectangle);
void ToTop();
void LayoutContextWindow();