summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/layout.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/layout.cxx')
-rw-r--r--basctl/source/basicide/layout.cxx8
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))
{