diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-06-05 08:55:56 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-06-10 11:01:04 +0200 |
commit | 6925222271d9404ec9f2340b4101ce9b1420539c (patch) | |
tree | 8cb4fdf956c1e5524f7c0f39d9294b651096cc6b /cui | |
parent | 5b156b37d487b96ec19d65e01cd8cedd26a2150d (diff) |
Convert SvxPraVertAlignItem::Align to scoped enum
Change-Id: I2f73a200b04322dd65e0758f4238347bfea832fb
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/paragrph.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx index 33bda89f5dd1..66921fe0195f 100644 --- a/cui/source/tabpages/paragrph.cxx +++ b/cui/source/tabpages/paragrph.cxx @@ -1153,7 +1153,7 @@ bool SvxParaAlignTabPage::FillItemSet( SfxItemSet* rOutSet ) } if(m_pVertAlignLB->IsValueChangedFromSaved()) { - rOutSet->Put(SvxParaVertAlignItem(m_pVertAlignLB->GetSelectEntryPos(), GetWhich( SID_PARA_VERTALIGN ))); + rOutSet->Put(SvxParaVertAlignItem((SvxParaVertAlignItem::Align)m_pVertAlignLB->GetSelectEntryPos(), GetWhich( SID_PARA_VERTALIGN ))); bModified = true; } @@ -1242,7 +1242,7 @@ void SvxParaAlignTabPage::Reset( const SfxItemSet* rSet ) const SvxParaVertAlignItem& rAlign = static_cast<const SvxParaVertAlignItem&>(rSet->Get( _nWhich )); - m_pVertAlignLB->SelectEntryPos(rAlign.GetValue()); + m_pVertAlignLB->SelectEntryPos((sal_Int32)rAlign.GetValue()); } _nWhich = GetWhich( SID_ATTR_FRAMEDIRECTION ); |