summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/edredln.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/edit/edredln.cxx')
-rw-r--r--sw/source/core/edit/edredln.cxx11
1 files changed, 1 insertions, 10 deletions
diff --git a/sw/source/core/edit/edredln.cxx b/sw/source/core/edit/edredln.cxx
index eb1db63666e7..e99aa5c36ae3 100644
--- a/sw/source/core/edit/edredln.cxx
+++ b/sw/source/core/edit/edredln.cxx
@@ -25,7 +25,6 @@
#include <editsh.hxx>
#include <edimp.hxx>
#include <frmtool.hxx>
-#include <officecfg/Office/Writer.hxx>
RedlineFlags SwEditShell::GetRedlineFlags() const
{
@@ -131,15 +130,7 @@ void SwEditShell::UpdateRedlineAttr()
SET_CURR_SHELL( this );
StartAllAction();
- // issue when the changes the inline option when IsShow is off
- SwDoc& rDoc = *GetDoc();
- bool bShowInlineTooltip = officecfg::Office::Writer::Revision::ShowInlineTooltip::get();
- if (bShowInlineTooltip != rDoc.getIDocumentRedlineAccess().IsHideInlineTooltips() )
- {
- rDoc.getIDocumentRedlineAccess().SetHideInlineTooltips( bShowInlineTooltip );
- }
-
- rDoc.getIDocumentRedlineAccess().UpdateRedlineAttr();
+ GetDoc()->getIDocumentRedlineAccess().UpdateRedlineAttr();
EndAllAction();
}