From 2002bbe83de99784e38edc206f83c580e2a7a7a7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 7 Sep 2018 20:58:25 +0200 Subject: loplugin:simplifyconstruct in editeng..extensions Change-Id: I646a24382554312d92a4a8746d5267767353a53f Reviewed-on: https://gerrit.libreoffice.org/60169 Tested-by: Jenkins Reviewed-by: Noel Grandin --- editeng/source/uno/unoforou.cxx | 2 -- editeng/source/uno/unotext.cxx | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'editeng/source/uno') diff --git a/editeng/source/uno/unoforou.cxx b/editeng/source/uno/unoforou.cxx index e8f4330febe4..84ecb7a0cddd 100644 --- a/editeng/source/uno/unoforou.cxx +++ b/editeng/source/uno/unoforou.cxx @@ -42,8 +42,6 @@ using namespace ::com::sun::star; SvxOutlinerForwarder::SvxOutlinerForwarder( Outliner& rOutl, bool bOutlText /* = false */ ) : rOutliner( rOutl ), bOutlinerText( bOutlText ), - mpAttribsCache( nullptr ), - mpParaAttribsCache( nullptr ), mnParaAttribsCache( 0 ) { } diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx index 4e52a5099a9f..38ba0c76d703 100644 --- a/editeng/source/uno/unotext.cxx +++ b/editeng/source/uno/unotext.cxx @@ -208,7 +208,7 @@ void CheckSelection( struct ESelection& rSel, SvxEditSource *pEdit ) throw() UNO3_GETIMPLEMENTATION_IMPL( SvxUnoTextRangeBase ); SvxUnoTextRangeBase::SvxUnoTextRangeBase(const SvxItemPropertySet* _pSet) - : mpPropSet(_pSet), mpEditSource(nullptr) + : mpPropSet(_pSet) { } -- cgit