Kaydet (Commit) 7a350ce1 authored tarafından Noel Grandin's avatar Noel Grandin

remove unused Right from Anchor enum

Change-Id: I7943a37407481305d28e526840caf320e7ff6bf2
üst b17af4fa
...@@ -758,7 +758,6 @@ void PresenterToolBar::Layout ( ...@@ -758,7 +758,6 @@ void PresenterToolBar::Layout (
{ {
case Left : nX = 0; break; case Left : nX = 0; break;
case Center: nX = (aWindowBox.Width - aTotalSize.Width - nTotalHorizontalGap) / 2; break; case Center: nX = (aWindowBox.Width - aTotalSize.Width - nTotalHorizontalGap) / 2; break;
case Right: nX = aWindowBox.Width - aTotalSize.Width - nTotalHorizontalGap; break;
} }
// Place the parts. // Place the parts.
......
...@@ -74,7 +74,7 @@ class PresenterToolBar ...@@ -74,7 +74,7 @@ class PresenterToolBar
public: public:
typedef ::std::function<void ()> Action; typedef ::std::function<void ()> Action;
enum Anchor { Left, Center, Right }; enum Anchor { Left, Center };
PresenterToolBar ( PresenterToolBar (
const css::uno::Reference<css::uno::XComponentContext>& rxContext, const css::uno::Reference<css::uno::XComponentContext>& rxContext,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment