diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-07 13:10:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-09-08 09:23:40 +0200 |
commit | 847e004e65ec3c35acff607588d15cd75a84f121 (patch) | |
tree | 1b2ac62948c9ad15d2f231b56eb45ff341f572f7 /sw/source/core/text/porrst.cxx | |
parent | 3cac15856ade9fce161a49212c9d1861741122a5 (diff) |
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
Diffstat (limited to 'sw/source/core/text/porrst.cxx')
-rw-r--r-- | sw/source/core/text/porrst.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/porrst.cxx b/sw/source/core/text/porrst.cxx index e82b69504ecb..aad0fc60b2e4 100644 --- a/sw/source/core/text/porrst.cxx +++ b/sw/source/core/text/porrst.cxx @@ -250,7 +250,7 @@ SwTwips SwTextFrame::EmptyHeight() const } const IDocumentRedlineAccess& rIDRA = rTextNode.getIDocumentRedlineAccess(); - if( IDocumentRedlineAccess::IsShowChanges( rIDRA.GetRedlineMode() ) ) + if( IDocumentRedlineAccess::IsShowChanges( rIDRA.GetRedlineFlags() ) ) { const sal_uInt16 nRedlPos = rIDRA.GetRedlinePos( rTextNode, USHRT_MAX ); if( USHRT_MAX != nRedlPos ) |