diff options
Diffstat (limited to 'sw/source/core')
-rw-r--r-- | sw/source/core/edit/edredln.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/edit/edredln.cxx b/sw/source/core/edit/edredln.cxx index 8df2d5f17e1f..d63f3ac26f96 100644 --- a/sw/source/core/edit/edredln.cxx +++ b/sw/source/core/edit/edredln.cxx @@ -125,8 +125,7 @@ const SwRangeRedline* SwEditShell::GetCurrRedline() const void SwEditShell::UpdateRedlineAttr() { - if( ( RedlineFlags::ShowInsert | RedlineFlags::ShowDelete ) == - ( RedlineFlags::ShowMask & GetDoc()->getIDocumentRedlineAccess().GetRedlineFlags() )) + if( IDocumentRedlineAccess::IsShowChanges(GetDoc()->getIDocumentRedlineAccess().GetRedlineFlags()) ) { SET_CURR_SHELL( this ); StartAllAction(); |