diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-12 11:34:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-12 11:41:36 +0200 |
commit | cbd4266beff52cf210f1532b50f8bab74cb8ba8c (patch) | |
tree | 4f0b2c67f1cacfa67b8626b1060e488891e48564 /sw/source/filter/ww8/rtfexport.cxx | |
parent | 8ee31c5aac07a28a8208b4c2ca62025f3dafbb35 (diff) |
convert PD_ constants to typed_flags
Change-Id: Ia651dfae33cb1e901f124541a1e12f240d4a7458
Diffstat (limited to 'sw/source/filter/ww8/rtfexport.cxx')
-rw-r--r-- | sw/source/filter/ww8/rtfexport.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx index a885d8e1d1ff..850b0d7f9f05 100644 --- a/sw/source/filter/ww8/rtfexport.cxx +++ b/sw/source/filter/ww8/rtfexport.cxx @@ -543,7 +543,7 @@ void RtfExport::WritePageDescTable() Strm().WriteCharPtr(SAL_NEWLINE_STRING).WriteChar('{').WriteCharPtr(OOO_STRING_SVTOOLS_RTF_PGDSC); OutULong(n).WriteCharPtr(OOO_STRING_SVTOOLS_RTF_PGDSCUSE); - OutULong(rPageDesc.ReadUseOn()); + OutULong((sal_uLong)rPageDesc.ReadUseOn()); OutPageDescription(rPageDesc, false, false); @@ -613,7 +613,7 @@ void RtfExport::ExportDocument_Impl() if (RedlineFlags::On & m_nOrigRedlineFlags) Strm().WriteCharPtr(OOO_STRING_SVTOOLS_RTF_REVISIONS); // Mirror margins? - if ((nsUseOnPage::PD_MIRROR & m_pDoc->GetPageDesc(0).ReadUseOn()) == nsUseOnPage::PD_MIRROR) + if ((UseOnPage::Mirror & m_pDoc->GetPageDesc(0).ReadUseOn()) == UseOnPage::Mirror) Strm().WriteCharPtr(OOO_STRING_SVTOOLS_RTF_MARGMIRROR); // Init sections m_pSections = new MSWordSections(*this); |