summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/wrtw8nds.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-15 15:40:48 +0200
committerNoel Grandin <noel@peralex.com>2016-08-17 08:45:15 +0200
commitd5ad8f9619d463a643ab53447cf3576a9ff1a716 (patch)
tree47ce09a862b18ecab15d4fec9c74fea34b42e930 /sw/source/filter/ww8/wrtw8nds.cxx
parentfd0e67ce0d8cf84470b1414009ed1e0f81410b0f (diff)
convert SvxBreak to scoped enum
Change-Id: If8b79ed617e5662550bd73bd1506d047217f2313
Diffstat (limited to 'sw/source/filter/ww8/wrtw8nds.cxx')
-rw-r--r--sw/source/filter/ww8/wrtw8nds.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx
index e0e70be32563..acb55d0dc4f1 100644
--- a/sw/source/filter/ww8/wrtw8nds.cxx
+++ b/sw/source/filter/ww8/wrtw8nds.cxx
@@ -2450,7 +2450,7 @@ void MSWordExportBase::OutputTextNode( const SwTextNode& rNode )
const SwTableFormat* pTabFormat = pTable->GetFrameFormat();
if (pTabFormat != nullptr)
{
- if (pTabFormat->GetBreak().GetBreak() == SVX_BREAK_PAGE_BEFORE)
+ if (pTabFormat->GetBreak().GetBreak() == SvxBreak::PageBefore)
AttrOutput().PageBreakBefore(true);
}
}
@@ -2656,7 +2656,7 @@ void MSWordExportBase::OutputTextNode( const SwTextNode& rNode )
const SvxFormatBreakItem* pBreakAtParaStyle =
&(ItemGet<SvxFormatBreakItem>(rNode.GetSwAttrSet(), RES_BREAK));
if ( pBreakAtParaStyle &&
- pBreakAtParaStyle->GetBreak() == SVX_BREAK_PAGE_AFTER )
+ pBreakAtParaStyle->GetBreak() == SvxBreak::PageAfter )
{
if ( !pTmpSet )
{
@@ -2822,8 +2822,8 @@ bool MSWordExportBase::NoPageBreakSection( const SfxItemSet* pSet )
SvxBreak eBreak = static_cast<const SvxFormatBreakItem*>(pI)->GetBreak();
switch (eBreak)
{
- case SVX_BREAK_PAGE_BEFORE:
- case SVX_BREAK_PAGE_AFTER:
+ case SvxBreak::PageBefore:
+ case SvxBreak::PageAfter:
bNoPageBreak = false;
break;
default: