diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-15 15:40:48 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-17 08:45:15 +0200 |
commit | d5ad8f9619d463a643ab53447cf3576a9ff1a716 (patch) | |
tree | 47ce09a862b18ecab15d4fec9c74fea34b42e930 /sw/source/filter/html/htmlcss1.cxx | |
parent | fd0e67ce0d8cf84470b1414009ed1e0f81410b0f (diff) |
convert SvxBreak to scoped enum
Change-Id: If8b79ed617e5662550bd73bd1506d047217f2313
Diffstat (limited to 'sw/source/filter/html/htmlcss1.cxx')
-rw-r--r-- | sw/source/filter/html/htmlcss1.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/html/htmlcss1.cxx b/sw/source/filter/html/htmlcss1.cxx index f2ccc8c8839a..619c5ae94b44 100644 --- a/sw/source/filter/html/htmlcss1.cxx +++ b/sw/source/filter/html/htmlcss1.cxx @@ -130,14 +130,14 @@ SwCSS1Parser::~SwCSS1Parser() bool SwCSS1Parser::SetFormatBreak( SfxItemSet& rItemSet, const SvxCSS1PropertyInfo& rPropInfo ) { - SvxBreak eBreak = SVX_BREAK_NONE; + SvxBreak eBreak = SvxBreak::NONE; bool bKeep = false; bool bSetKeep = false, bSetBreak = false, bSetPageDesc = false; const SwPageDesc *pPageDesc = nullptr; switch( rPropInfo.ePageBreakBefore ) { case SVX_CSS1_PBREAK_ALWAYS: - eBreak = SVX_BREAK_PAGE_BEFORE; + eBreak = SvxBreak::PageBefore; bSetBreak = true; break; case SVX_CSS1_PBREAK_LEFT: @@ -160,7 +160,7 @@ bool SwCSS1Parser::SetFormatBreak( SfxItemSet& rItemSet, case SVX_CSS1_PBREAK_LEFT: case SVX_CSS1_PBREAK_RIGHT: // LEFT/RIGHT koennte man auch am Absatz davor setzen - eBreak = SVX_BREAK_PAGE_AFTER; + eBreak = SvxBreak::PageAfter; bSetBreak = true; break; case SVX_CSS1_PBREAK_AUTO: |