diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-16 12:44:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-17 06:04:30 +0000 |
commit | f2a873cd13adf0b74d18af203676f2de86d1cb2e (patch) | |
tree | 8b0f044b217e86db3c7320855e4df133fbabf3ae /sw/source/ui/misc/pgfnote.cxx | |
parent | 1bffa5e110772a7d6183ac64e56c23f2c3019f93 (diff) |
convert SvxBorderStyle to scoped enum
and rename to SvxBorderLineStyle
Change-Id: I19e530f162e4ca6290a0ad076e7fe3d5775ae6bc
Reviewed-on: https://gerrit.libreoffice.org/35265
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/misc/pgfnote.cxx')
-rw-r--r-- | sw/source/ui/misc/pgfnote.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/ui/misc/pgfnote.cxx b/sw/source/ui/misc/pgfnote.cxx index 70e109c215a7..82aeb6d88379 100644 --- a/sw/source/ui/misc/pgfnote.cxx +++ b/sw/source/ui/misc/pgfnote.cxx @@ -200,14 +200,14 @@ void SwFootNotePage::Reset(const SfxItemSet *rSet) m_pLineTypeBox->SetNone(SW_RESSTR(SW_STR_NONE)); m_pLineTypeBox->InsertEntry( - ::editeng::SvxBorderLine::getWidthImpl(table::BorderLineStyle::SOLID), - table::BorderLineStyle::SOLID ); + ::editeng::SvxBorderLine::getWidthImpl(SvxBorderLineStyle::SOLID), + SvxBorderLineStyle::SOLID ); m_pLineTypeBox->InsertEntry( - ::editeng::SvxBorderLine::getWidthImpl(table::BorderLineStyle::DOTTED), - table::BorderLineStyle::DOTTED ); + ::editeng::SvxBorderLine::getWidthImpl(SvxBorderLineStyle::DOTTED), + SvxBorderLineStyle::DOTTED ); m_pLineTypeBox->InsertEntry( - ::editeng::SvxBorderLine::getWidthImpl(table::BorderLineStyle::DASHED), - table::BorderLineStyle::DASHED ); + ::editeng::SvxBorderLine::getWidthImpl(SvxBorderLineStyle::DASHED), + SvxBorderLineStyle::DASHED ); m_pLineTypeBox->SetWidth( pFootnoteInfo->GetLineWidth( ) ); m_pLineTypeBox->SelectEntry( pFootnoteInfo->GetLineStyle() ); @@ -253,7 +253,7 @@ bool SwFootNotePage::FillItemSet(SfxItemSet *rSet) m_pLineDistEdit->Denormalize(m_pLineDistEdit->GetValue(FUNIT_TWIP)))); // Separator style - rFootnoteInfo.SetLineStyle( ::editeng::SvxBorderStyle( m_pLineTypeBox->GetSelectEntryStyle() ) ); + rFootnoteInfo.SetLineStyle( SvxBorderLineStyle( m_pLineTypeBox->GetSelectEntryStyle() ) ); // Separator width long nWidth = static_cast<long>(MetricField::ConvertDoubleValue( |