diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-21 13:34:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-22 07:34:15 +0100 |
commit | bab2753312c960c9eea610e927492775308fdfd5 (patch) | |
tree | 59c8168999ce2bf6a3647e712c8fb3e6c6df3fbc /sd/source/ui/docshell | |
parent | 2e6a38b7f007b36719f5fc002cb4363dec45e0d4 (diff) |
loplugin:unusedenumconstants in EEControlBits
(*) remove effectivly unused enum constants
(*) tweak the plugins heuristics some more to remove false+ in this enum
(*) twweak the python post-processing step to avoid a KeyError
Change-Id: I2943ec94c00f71dcd049f5c9ef33db259c005ba3
Reviewed-on: https://gerrit.libreoffice.org/63709
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/docshell')
-rw-r--r-- | sd/source/ui/docshell/docshel4.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sd/source/ui/docshell/docshel4.cxx b/sd/source/ui/docshell/docshel4.cxx index 465ccf4481bb..5b72517cec98 100644 --- a/sd/source/ui/docshell/docshel4.cxx +++ b/sd/source/ui/docshell/docshel4.cxx @@ -403,7 +403,6 @@ bool DrawDocShell::ImportFrom(SfxMedium &rMedium, SdrOutliner& rOutl = mpDoc->GetDrawOutliner(); EEControlBits nControlWord = rOutl.GetEditEngine().GetControlWord(); nControlWord |= EEControlBits::ULSPACESUMMATION; - nControlWord &=~ EEControlBits::ULSPACEFIRSTPARA; const_cast<EditEngine&>(rOutl.GetEditEngine()).SetControlWord( nControlWord ); mpDoc->SetSummationOfParagraphs(); |