summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8atr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-02 09:22:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-02 07:58:24 +0000
commit1e2bd1771808da00ec959995ab1284c6193a57f5 (patch)
tree67f08641cc63649d1e072b48e1269eb187f509ec /sw/source/filter/ww8/ww8atr.cxx
parent04fe439b053f2d361e74975a4b66cd359980976e (diff)
elide the SwSurround enum
no point in redeclaring an existing enum exactly Change-Id: I4fb367e4b27e36601f1f36b629097a87b5f00096 Reviewed-on: https://gerrit.libreoffice.org/34773 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/ww8/ww8atr.cxx')
-rw-r--r--sw/source/filter/ww8/ww8atr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index e2f2de80205e..9180263ac399 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -801,7 +801,7 @@ void MSWordExportBase::OutputFormat( const SwFormat& rFormat, bool bPapFormat, b
}
if (SfxItemState::SET != aSet.GetItemState(RES_SURROUND))
- aSet.Put(SwFormatSurround(SURROUND_NONE));
+ aSet.Put(SwFormatSurround(css::text::WrapTextMode_NONE));
const XFillStyleItem* pXFillStyleItem(static_cast< const XFillStyleItem* >(rFrameFormat.GetAttrSet().GetItem(XATTR_FILLSTYLE)));
if (pXFillStyleItem)
@@ -3734,7 +3734,7 @@ void WW8AttributeOutput::FormatSurround( const SwFormatSurround& rSurround )
m_rWW8Export.InsUInt16( NS_sprm::sprmPWr );
m_rWW8Export.pO->push_back(
- ( SURROUND_NONE != rSurround.GetSurround() ) ? 2 : 1 );
+ ( css::text::WrapTextMode_NONE != rSurround.GetSurround() ) ? 2 : 1 );
}
}