diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-16 15:41:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-17 07:57:52 +0200 |
commit | 792886d34bd87ad5e2b3d197e86ab41205a33618 (patch) | |
tree | 0551fbd7d72f9165b181bccaaa99407a5f386f13 /basctl/source/basicide/layout.cxx | |
parent | 210db2bf9e199f0a58fbd7a629edda63903fabac (diff) |
convert basctl::Layout::SplittedSide::Side to scoped enum
and drop unused enumerators
Change-Id: I7c8338423eddb64bf4d4138d2613dd393408c9e3
Diffstat (limited to 'basctl/source/basicide/layout.cxx')
-rw-r--r-- | basctl/source/basicide/layout.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basctl/source/basicide/layout.cxx b/basctl/source/basicide/layout.cxx index cf9430592734..b93e50ae3395 100644 --- a/basctl/source/basicide/layout.cxx +++ b/basctl/source/basicide/layout.cxx @@ -37,8 +37,8 @@ Layout::Layout (vcl::Window* pParent) : Window(pParent, WB_CLIPCHILDREN), pChild(nullptr), bFirstSize(true), - aLeftSide(this, SplittedSide::Left), - aBottomSide(this, SplittedSide::Bottom) + aLeftSide(this, SplittedSide::Side::Left), + aBottomSide(this, SplittedSide::Side::Bottom) { SetBackground(GetSettings().GetStyleSettings().GetWindowColor()); @@ -169,8 +169,8 @@ void Layout::DataChanged (DataChangedEvent const& rDCEvt) // ctor Layout::SplittedSide::SplittedSide (Layout* pParent, Side eSide) : rLayout(*pParent), - bVertical(eSide == Left || eSide == Right), - bLower(eSide == Left || eSide == Top), + bVertical(eSide == Side::Left), + bLower(eSide == Side::Left), nSize(0), aSplitter(VclPtr<Splitter>::Create(pParent, bVertical ? WB_HSCROLL : WB_VSCROLL)) { |