summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/docundo.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-07 13:10:40 +0200
committerNoel Grandin <noel@peralex.com>2016-09-08 09:23:40 +0200
commit847e004e65ec3c35acff607588d15cd75a84f121 (patch)
tree1b2ac62948c9ad15d2f231b56eb45ff341f572f7 /sw/source/core/undo/docundo.cxx
parent3cac15856ade9fce161a49212c9d1861741122a5 (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/undo/docundo.cxx')
-rw-r--r--sw/source/core/undo/docundo.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/undo/docundo.cxx b/sw/source/core/undo/docundo.cxx
index e37375cc5e55..dcab9bb0f28d 100644
--- a/sw/source/core/undo/docundo.cxx
+++ b/sw/source/core/undo/docundo.cxx
@@ -507,9 +507,9 @@ void UndoManager::AddUndoAction(SfxUndoAction *pAction, bool bTryMerge)
SwUndo *const pUndo( dynamic_cast<SwUndo *>(pAction) );
if (pUndo)
{
- if (nsRedlineMode_t::REDLINE_NONE == pUndo->GetRedlineMode())
+ if (RedlineFlags::NONE == pUndo->GetRedlineFlags())
{
- pUndo->SetRedlineMode( m_rRedlineAccess.GetRedlineMode() );
+ pUndo->SetRedlineFlags( m_rRedlineAccess.GetRedlineFlags() );
}
}
SdrUndoManager::AddUndoAction(pAction, bTryMerge);