summaryrefslogtreecommitdiff
path: root/editeng/source/misc
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/misc
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/misc')
-rw-r--r--editeng/source/misc/svxacorr.cxx3
-rw-r--r--editeng/source/misc/txtrange.cxx1
-rw-r--r--editeng/source/misc/unolingu.cxx16
3 files changed, 8 insertions, 12 deletions
diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 3029101da61d..32bd3dc37833 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -1915,9 +1915,6 @@ SvxAutoCorrectLanguageLists::SvxAutoCorrectLanguageLists(
aModifiedDate( Date::EMPTY ),
aModifiedTime( tools::Time::EMPTY ),
aLastCheckTime( tools::Time::EMPTY ),
- pCplStt_ExcptLst( nullptr ),
- pWrdStt_ExcptLst( nullptr ),
- pAutocorr_List( nullptr ),
rAutoCorrect(rParent),
nFlags(ACFlags::NONE)
{
diff --git a/editeng/source/misc/txtrange.cxx b/editeng/source/misc/txtrange.cxx
index 299e568fe404..529fe44e46dd 100644
--- a/editeng/source/misc/txtrange.cxx
+++ b/editeng/source/misc/txtrange.cxx
@@ -32,7 +32,6 @@ TextRanger::TextRanger( const basegfx::B2DPolyPolygon& rPolyPolygon,
const basegfx::B2DPolyPolygon* pLinePolyPolygon,
sal_uInt16 nCacheSz, sal_uInt16 nLft, sal_uInt16 nRght,
bool bSimpl, bool bInnr, bool bVert ) :
- pBound( nullptr ),
nCacheSize( nCacheSz ),
nRight( nRght ),
nLeft( nLft ),
diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx
index 4d21c60a0ab2..a53d8337f033 100644
--- a/editeng/source/misc/unolingu.cxx
+++ b/editeng/source/misc/unolingu.cxx
@@ -452,14 +452,14 @@ void LinguMgrExitLstnr::AtExit()
LinguMgrExitLstnr * LinguMgr::pExitLstnr = nullptr;
bool LinguMgr::bExiting = false;
-uno::Reference< XLinguServiceManager2 > LinguMgr::xLngSvcMgr = nullptr;
-uno::Reference< XSpellChecker1 > LinguMgr::xSpell = nullptr;
-uno::Reference< XHyphenator > LinguMgr::xHyph = nullptr;
-uno::Reference< XThesaurus > LinguMgr::xThes = nullptr;
-uno::Reference< XSearchableDictionaryList > LinguMgr::xDicList = nullptr;
-uno::Reference< XLinguProperties > LinguMgr::xProp = nullptr;
-uno::Reference< XDictionary > LinguMgr::xIgnoreAll = nullptr;
-uno::Reference< XDictionary > LinguMgr::xChangeAll = nullptr;
+uno::Reference< XLinguServiceManager2 > LinguMgr::xLngSvcMgr;
+uno::Reference< XSpellChecker1 > LinguMgr::xSpell;
+uno::Reference< XHyphenator > LinguMgr::xHyph;
+uno::Reference< XThesaurus > LinguMgr::xThes;
+uno::Reference< XSearchableDictionaryList > LinguMgr::xDicList;
+uno::Reference< XLinguProperties > LinguMgr::xProp;
+uno::Reference< XDictionary > LinguMgr::xIgnoreAll;
+uno::Reference< XDictionary > LinguMgr::xChangeAll;
uno::Reference< XLinguServiceManager2 > LinguMgr::GetLngSvcMgr()