summaryrefslogtreecommitdiff
path: root/editeng/source/uno
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-07 20:58:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-08 14:45:11 +0200
commit2002bbe83de99784e38edc206f83c580e2a7a7a7 (patch)
treeaa94bde0a27a19afebf17b90a718251218366501 /editeng/source/uno
parent6d180f09f2d2bdb94e5d2113e509430cf8ba13cc (diff)
loplugin:simplifyconstruct in editeng..extensions
Change-Id: I646a24382554312d92a4a8746d5267767353a53f Reviewed-on: https://gerrit.libreoffice.org/60169 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source/uno')
-rw-r--r--editeng/source/uno/unoforou.cxx2
-rw-r--r--editeng/source/uno/unotext.cxx2
2 files changed, 1 insertions, 3 deletions
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)
{
}