summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-02 10:57:21 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-02 13:06:37 +0000
commitb1f8cf37828d5f37527e54774aa4935610aa6325 (patch)
tree33348c0208f76237f1b08823923f22f99d78b256 /sdext
parentc3a3b876a3a2a739b266622f51a00016a81b0cdf (diff)
loplugin:singlevalfields
Change-Id: I65f96d9cd24572c8d0946acf4d2d45eb3db83a76 Reviewed-on: https://gerrit.libreoffice.org/30476 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/presenter/PresenterPaneBase.cxx12
-rw-r--r--sdext/source/presenter/PresenterPaneBase.hxx1
2 files changed, 1 insertions, 12 deletions
diff --git a/sdext/source/presenter/PresenterPaneBase.cxx b/sdext/source/presenter/PresenterPaneBase.cxx
index c8497ff76d55..0303cd9691c6 100644
--- a/sdext/source/presenter/PresenterPaneBase.cxx
+++ b/sdext/source/presenter/PresenterPaneBase.cxx
@@ -56,7 +56,6 @@ PresenterPaneBase::PresenterPaneBase (
msTitle(),
mxComponentContext(rxContext),
mpViewBackground(),
- mbHasCallout(false),
maCalloutAnchor()
{
if (mpPresenterController.get() != nullptr)
@@ -363,16 +362,7 @@ void PresenterPaneBase::PaintBorder (const awt::Rectangle& rUpdateBox)
PaintBorderBackground(aLocalBorderBox, rUpdateBox);
- if (mbHasCallout)
- mxBorderPainter->paintBorderWithCallout(
- mxPaneId->getResourceURL(),
- mxBorderCanvas,
- aLocalBorderBox,
- rUpdateBox,
- msTitle,
- maCalloutAnchor);
- else
- mxBorderPainter->paintBorder(
+ mxBorderPainter->paintBorder(
mxPaneId->getResourceURL(),
mxBorderCanvas,
aLocalBorderBox,
diff --git a/sdext/source/presenter/PresenterPaneBase.hxx b/sdext/source/presenter/PresenterPaneBase.hxx
index e46c5d01368a..7a00416cc17b 100644
--- a/sdext/source/presenter/PresenterPaneBase.hxx
+++ b/sdext/source/presenter/PresenterPaneBase.hxx
@@ -123,7 +123,6 @@ protected:
OUString msTitle;
css::uno::Reference<css::uno::XComponentContext> mxComponentContext;
SharedBitmapDescriptor mpViewBackground;
- bool mbHasCallout;
css::awt::Point maCalloutAnchor;
virtual void CreateCanvases (