From 847e004e65ec3c35acff607588d15cd75a84f121 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 7 Sep 2016 13:10:40 +0200 Subject: convert nsRedlineMode_t to typed_flags including fixing a bug in SwXMLExport::exportDoc where it was ORing with a constant from a different type: nsRedlineType_t::REDLINE_INSERT Change-Id: I2bb154c9a35d106e64fd1a8b6e928d0384c9fafe --- sw/source/filter/ww8/rtfexport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/filter/ww8/rtfexport.cxx') diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx index 9189cf7a9279..1bb06580e788 100644 --- a/sw/source/filter/ww8/rtfexport.cxx +++ b/sw/source/filter/ww8/rtfexport.cxx @@ -610,7 +610,7 @@ void RtfExport::ExportDocument_Impl() OutULong(pViewShell->GetViewOptions()->GetZoom()); } // Record changes? - if (nsRedlineMode_t::REDLINE_ON & m_nOrigRedlineMode) + 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) -- cgit v1.2.3