summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-21 13:34:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-22 07:34:15 +0100
commitbab2753312c960c9eea610e927492775308fdfd5 (patch)
tree59c8168999ce2bf6a3647e712c8fb3e6c6df3fbc /sd
parent2e6a38b7f007b36719f5fc002cb4363dec45e0d4 (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')
-rw-r--r--sd/source/filter/ppt/pptin.cxx1
-rw-r--r--sd/source/ui/docshell/docshel4.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index 7fa7ad359a02..3ebdc5218bc2 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -247,7 +247,6 @@ bool ImplSdPPTImport::Import()
SdrOutliner& rOutl = mpDoc->GetDrawOutliner();
EEControlBits nControlWord = rOutl.GetEditEngine().GetControlWord();
nControlWord |= EEControlBits::ULSPACESUMMATION;
- nControlWord &= ~EEControlBits::ULSPACEFIRSTPARA;
const_cast<EditEngine&>(rOutl.GetEditEngine()).SetControlWord( nControlWord );
SdrLayerAdmin& rAdmin = mpDoc->GetLayerAdmin();
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();