diff options
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/accessibility/AccessibleContextBase.cxx | 2 | ||||
-rw-r--r-- | editeng/source/accessibility/AccessibleStaticTextBase.cxx | 1 | ||||
-rw-r--r-- | editeng/source/editeng/editdoc.cxx | 1 | ||||
-rw-r--r-- | editeng/source/editeng/editundo.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/eehtml.cxx | 1 | ||||
-rw-r--r-- | editeng/source/editeng/impedit5.cxx | 1 | ||||
-rw-r--r-- | editeng/source/items/frmitems.cxx | 7 | ||||
-rw-r--r-- | editeng/source/items/numitem.cxx | 10 | ||||
-rw-r--r-- | editeng/source/misc/svxacorr.cxx | 3 | ||||
-rw-r--r-- | editeng/source/misc/txtrange.cxx | 1 | ||||
-rw-r--r-- | editeng/source/misc/unolingu.cxx | 16 | ||||
-rw-r--r-- | editeng/source/rtf/svxrtf.cxx | 4 | ||||
-rw-r--r-- | editeng/source/uno/unoforou.cxx | 2 | ||||
-rw-r--r-- | editeng/source/uno/unotext.cxx | 2 | ||||
-rw-r--r-- | editeng/source/xml/xmltxtexp.cxx | 3 |
15 files changed, 15 insertions, 41 deletions
diff --git a/editeng/source/accessibility/AccessibleContextBase.cxx b/editeng/source/accessibility/AccessibleContextBase.cxx index b8bf944a64ec..b34b26f35ee7 100644 --- a/editeng/source/accessibility/AccessibleContextBase.cxx +++ b/editeng/source/accessibility/AccessibleContextBase.cxx @@ -44,8 +44,6 @@ AccessibleContextBase::AccessibleContextBase ( const uno::Reference<XAccessible>& rxParent, const sal_Int16 aRole) : WeakComponentImplHelper(MutexOwner::maMutex), - mxStateSet (nullptr), - mxRelationSet (nullptr), mxParent(rxParent), msDescription(), meDescriptionOrigin(NotSet), diff --git a/editeng/source/accessibility/AccessibleStaticTextBase.cxx b/editeng/source/accessibility/AccessibleStaticTextBase.cxx index 6dac619d4e49..e080ae4468af 100644 --- a/editeng/source/accessibility/AccessibleStaticTextBase.cxx +++ b/editeng/source/accessibility/AccessibleStaticTextBase.cxx @@ -183,7 +183,6 @@ namespace accessibility AccessibleStaticTextBase_Impl::AccessibleStaticTextBase_Impl() : - mxThis( nullptr ), mxTextParagraph( new AccessibleEditableTextPara(nullptr) ), maEditSource(), maMutex(), diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx index 2e3fcec41184..37cf24dee476 100644 --- a/editeng/source/editeng/editdoc.cxx +++ b/editeng/source/editeng/editdoc.cxx @@ -487,7 +487,6 @@ ExtraPortionInfo::ExtraPortionInfo() , nAsianCompressionTypes(AsianCompressionFlags::Normal) , bFirstCharIsRightPunktuation(false) , bCompressed(false) -, pOrgDXArray(nullptr) , lineBreaksList() { } diff --git a/editeng/source/editeng/editundo.cxx b/editeng/source/editeng/editundo.cxx index 89007b3a20e2..19c150d371b8 100644 --- a/editeng/source/editeng/editundo.cxx +++ b/editeng/source/editeng/editundo.cxx @@ -592,7 +592,7 @@ void EditUndoSetAttribs::ImpSetSelection() EditUndoTransliteration::EditUndoTransliteration(EditEngine* pEE, const ESelection& rESel, TransliterationFlags nM) : EditUndo(EDITUNDO_TRANSLITERATE, pEE), - aOldESel(rESel), nMode(nM), pTxtObj(nullptr) {} + aOldESel(rESel), nMode(nM) {} EditUndoTransliteration::~EditUndoTransliteration() { diff --git a/editeng/source/editeng/eehtml.cxx b/editeng/source/editeng/eehtml.cxx index 79de3dc22ae0..fb1e9af29528 100644 --- a/editeng/source/editeng/eehtml.cxx +++ b/editeng/source/editeng/eehtml.cxx @@ -41,7 +41,6 @@ EditHTMLParser::EditHTMLParser( SvStream& rIn, const OUString& rBaseURL, SvKeyVa : HTMLParser( rIn, true ), aBaseURL( rBaseURL ), mpEditEngine(nullptr), - pCurAnchor(nullptr), bInPara(false), bWasInPara(false), bFieldsInserted(false), diff --git a/editeng/source/editeng/impedit5.cxx b/editeng/source/editeng/impedit5.cxx index 109450adbd9e..1cd61deca16f 100644 --- a/editeng/source/editeng/impedit5.cxx +++ b/editeng/source/editeng/impedit5.cxx @@ -824,7 +824,6 @@ void IdleFormattter::ForceTimeout() ImplIMEInfos::ImplIMEInfos( const EditPaM& rPos, const OUString& rOldTextAfterStartPos ) : aOldTextAfterStartPos( rOldTextAfterStartPos ), - pAttribs(nullptr), aPos(rPos), nLen(0), bWasCursorOverwrite(false) diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index 2c40069d5d47..1904c0d1a7a1 100644 --- a/editeng/source/items/frmitems.cxx +++ b/editeng/source/items/frmitems.cxx @@ -2241,8 +2241,6 @@ bool SvxBoxItem::HasBorder( bool bTreatPaddingAsBorder ) const SvxBoxInfoItem::SvxBoxInfoItem( const sal_uInt16 nId ) : SfxPoolItem( nId ), - pHori ( nullptr ), - pVert ( nullptr ), mbEnableHor( false ), mbEnableVer( false ), nDefDist( 0 ) @@ -2877,10 +2875,7 @@ bool SvxFormatKeepItem::GetPresentation SvxLineItem::SvxLineItem( const sal_uInt16 nId ) : - - SfxPoolItem ( nId ), - - pLine( nullptr ) + SfxPoolItem ( nId ) { } diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index 0e8c012a5df9..61cb873fe1f7 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -62,7 +62,7 @@ using namespace ::com::sun::star::beans; using namespace ::com::sun::star::style; sal_Int32 SvxNumberType::nRefCount = 0; -css::uno::Reference<css::text::XNumberingFormatter> SvxNumberType::xFormatter = nullptr; +css::uno::Reference<css::text::XNumberingFormatter> SvxNumberType::xFormatter; static void lcl_getFormatter(css::uno::Reference<css::text::XNumberingFormatter>& _xFormatter) { if(!_xFormatter.is()) @@ -165,17 +165,13 @@ SvxNumberFormat::SvxNumberFormat( SvxNumType eType ) mnListtabPos( 0 ), mnFirstLineIndent( 0 ), mnIndentAt( 0 ), - pGraphicBrush(nullptr), - eVertOrient(text::VertOrientation::NONE), - pBulletFont(nullptr) + eVertOrient(text::VertOrientation::NONE) { } SvxNumberFormat::SvxNumberFormat(const SvxNumberFormat& rFormat) : SvxNumberType(rFormat), - mePositionAndSpaceMode( rFormat.mePositionAndSpaceMode ), - pGraphicBrush(nullptr), - pBulletFont(nullptr) + mePositionAndSpaceMode( rFormat.mePositionAndSpaceMode ) { *this = rFormat; } 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() diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx index 88a3a1c110bf..5864354802cd 100644 --- a/editeng/source/rtf/svxrtf.cxx +++ b/editeng/source/rtf/svxrtf.cxx @@ -61,9 +61,7 @@ SvxRTFParser::SvxRTFParser( SfxItemPool& rPool, SvStream& rIn ) : SvRTFParser( rIn, 5 ) , aPlainMap(rPool) , aPardMap(rPool) - , pInsPos( nullptr ) , pAttrPool( &rPool ) - , pRTFDefaults( nullptr ) , nDfltFont( 0) , bNewDoc( true ) , bNewGroup( false) @@ -945,7 +943,6 @@ SvxRTFItemStackType::SvxRTFItemStackType( SfxItemPool& rPool, const sal_uInt16* pWhichRange, const EditPosition& rPos ) : aAttrSet( rPool, pWhichRange ) - , m_pChildList( nullptr ) , nStyleNo( 0 ) { pSttNd.reset( rPos.MakeNodeIdx() ); @@ -959,7 +956,6 @@ SvxRTFItemStackType::SvxRTFItemStackType( const EditPosition& rPos, bool const bCopyAttr ) : aAttrSet( *rCpy.aAttrSet.GetPool(), rCpy.aAttrSet.GetRanges() ) - , m_pChildList( nullptr ) , nStyleNo( rCpy.nStyleNo ) { pSttNd.reset( rPos.MakeNodeIdx() ); 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) { } diff --git a/editeng/source/xml/xmltxtexp.cxx b/editeng/source/xml/xmltxtexp.cxx index 035081d7da43..986781e0773d 100644 --- a/editeng/source/xml/xmltxtexp.cxx +++ b/editeng/source/xml/xmltxtexp.cxx @@ -77,8 +77,7 @@ public: }; SvxEditEngineSourceImpl::SvxEditEngineSourceImpl( EditEngine* pEditEngine ) -: mpEditEngine( pEditEngine ), - mpTextForwarder(nullptr) +: mpEditEngine( pEditEngine ) { } |