summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-15 08:42:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-15 08:42:18 +0200
commit7a350ce156a8cf8e6ec1271d1823edd787656808 (patch)
tree1e9f57530b607402337734d1d8b3c585d7e96528 /sdext
parentb17af4fa9ba59738818d1cd106e6066e6d1af3be (diff)
remove unused Right from Anchor enum
Change-Id: I7943a37407481305d28e526840caf320e7ff6bf2
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/presenter/PresenterToolBar.cxx1
-rw-r--r--sdext/source/presenter/PresenterToolBar.hxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterToolBar.cxx b/sdext/source/presenter/PresenterToolBar.cxx
index bbddbc7150ae..9889e35bbff2 100644
--- a/sdext/source/presenter/PresenterToolBar.cxx
+++ b/sdext/source/presenter/PresenterToolBar.cxx
@@ -758,7 +758,6 @@ void PresenterToolBar::Layout (
{
case Left : nX = 0; break;
case Center: nX = (aWindowBox.Width - aTotalSize.Width - nTotalHorizontalGap) / 2; break;
- case Right: nX = aWindowBox.Width - aTotalSize.Width - nTotalHorizontalGap; break;
}
// Place the parts.
diff --git a/sdext/source/presenter/PresenterToolBar.hxx b/sdext/source/presenter/PresenterToolBar.hxx
index 3bd2cbcac39c..f54e92fa0ad3 100644
--- a/sdext/source/presenter/PresenterToolBar.hxx
+++ b/sdext/source/presenter/PresenterToolBar.hxx
@@ -74,7 +74,7 @@ class PresenterToolBar
public:
typedef ::std::function<void ()> Action;
- enum Anchor { Left, Center, Right };
+ enum Anchor { Left, Center };
PresenterToolBar (
const css::uno::Reference<css::uno::XComponentContext>& rxContext,