diff options
-rw-r--r-- | basctl/source/basicide/layout.cxx | 8 | ||||
-rw-r--r-- | basctl/source/inc/layout.hxx | 2 |
2 files changed, 5 insertions, 5 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)) { diff --git a/basctl/source/inc/layout.hxx b/basctl/source/inc/layout.hxx index 434b6b160856..5b66e4163032 100644 --- a/basctl/source/inc/layout.hxx +++ b/basctl/source/inc/layout.hxx @@ -79,7 +79,7 @@ private: class SplittedSide { public: - enum Side {Right, Top, Left, Bottom}; + enum class Side {Left, Bottom}; SplittedSide (Layout*, Side); void Add (DockingWindow*, Size const&); void Remove (DockingWindow*); |