summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/wrtw8nds.cxx
diff options
context:
space:
mode:
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: