summaryrefslogtreecommitdiff
path: root/cui/source/tabpages
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r--cui/source/tabpages/dstribut.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/cui/source/tabpages/dstribut.cxx b/cui/source/tabpages/dstribut.cxx
index de3f64b92570..574468a1e98c 100644
--- a/cui/source/tabpages/dstribut.cxx
+++ b/cui/source/tabpages/dstribut.cxx
@@ -120,11 +120,11 @@ void SvxDistributePage::Reset(const SfxItemSet* )
switch(m_eDistributeHor)
{
- case SvxDistributeHorizontalNone : m_pBtnHorNone->SetState(true); break;
- case SvxDistributeHorizontalLeft : m_pBtnHorLeft->SetState(true); break;
- case SvxDistributeHorizontalCenter : m_pBtnHorCenter->SetState(true); break;
- case SvxDistributeHorizontalDistance : m_pBtnHorDistance->SetState(true); break;
- case SvxDistributeHorizontalRight : m_pBtnHorRight->SetState(true); break;
+ case SvxDistributeHorizontal::NONE : m_pBtnHorNone->SetState(true); break;
+ case SvxDistributeHorizontal::Left : m_pBtnHorLeft->SetState(true); break;
+ case SvxDistributeHorizontal::Center : m_pBtnHorCenter->SetState(true); break;
+ case SvxDistributeHorizontal::Distance : m_pBtnHorDistance->SetState(true); break;
+ case SvxDistributeHorizontal::Right : m_pBtnHorRight->SetState(true); break;
}
m_pBtnVerNone->SetState(false);
@@ -151,17 +151,17 @@ void SvxDistributePage::Reset(const SfxItemSet* )
bool SvxDistributePage::FillItemSet( SfxItemSet* )
{
- SvxDistributeHorizontal eDistributeHor(SvxDistributeHorizontalNone);
+ SvxDistributeHorizontal eDistributeHor(SvxDistributeHorizontal::NONE);
SvxDistributeVertical eDistributeVer(SvxDistributeVertical::NONE);
if(m_pBtnHorLeft->IsChecked())
- eDistributeHor = SvxDistributeHorizontalLeft;
+ eDistributeHor = SvxDistributeHorizontal::Left;
else if(m_pBtnHorCenter->IsChecked())
- eDistributeHor = SvxDistributeHorizontalCenter;
+ eDistributeHor = SvxDistributeHorizontal::Center;
else if(m_pBtnHorDistance->IsChecked())
- eDistributeHor = SvxDistributeHorizontalDistance;
+ eDistributeHor = SvxDistributeHorizontal::Distance;
else if(m_pBtnHorRight->IsChecked())
- eDistributeHor = SvxDistributeHorizontalRight;
+ eDistributeHor = SvxDistributeHorizontal::Right;
if(m_pBtnVerTop->IsChecked())
eDistributeVer = SvxDistributeVertical::Top;