diff options
35 files changed, 10 insertions, 62 deletions
diff --git a/include/svl/ondemand.hxx b/include/svl/ondemand.hxx index f10fbe64388a..3d87bf3b8378 100644 --- a/include/svl/ondemand.hxx +++ b/include/svl/ondemand.hxx @@ -213,7 +213,6 @@ public: OnDemandTransliterationWrapper() : eLanguage( LANGUAGE_SYSTEM ) , nType(TransliterationFlags::NONE) - , pPtr(nullptr) , bValid(false) , bInitialized(false) {} @@ -268,7 +267,6 @@ class OnDemandNativeNumberWrapper public: OnDemandNativeNumberWrapper() - : pPtr(nullptr) {} void init( diff --git a/stoc/source/corereflection/base.hxx b/stoc/source/corereflection/base.hxx index bf2b93ad8d24..7c02a09edaf0 100644 --- a/stoc/source/corereflection/base.hxx +++ b/stoc/source/corereflection/base.hxx @@ -213,7 +213,6 @@ public: const OUString & rName, typelib_TypeClass eTypeClass, typelib_TypeDescription * pTypeDescr ) : IdlClassImpl( pReflection, rName, eTypeClass, pTypeDescr ) - , _pSortedMemberInit( nullptr ) , _nMethods( 0 ) , _nAttributes( 0 ) {} @@ -249,7 +248,6 @@ public: const OUString & rName, typelib_TypeClass eTypeClass, typelib_TypeDescription * pTypeDescr ) : IdlClassImpl( pReflection, rName, eTypeClass, pTypeDescr ) - , _pFields( nullptr ) {} virtual ~CompoundIdlClassImpl() override; @@ -312,7 +310,6 @@ public: const OUString & rName, typelib_TypeClass eTypeClass, typelib_TypeDescription * pTypeDescr ) : IdlClassImpl( pReflection, rName, eTypeClass, pTypeDescr ) - , _pFields( nullptr ) {} virtual ~EnumIdlClassImpl() override; diff --git a/store/source/storbios.cxx b/store/source/storbios.cxx index 2ba25fd53e8c..1edd3feb39e4 100644 --- a/store/source/storbios.cxx +++ b/store/source/storbios.cxx @@ -531,9 +531,7 @@ OStorePageBIOS::AceCache::destroy (OStorePageBIOS::Ace * ace) * OStorePageBIOS. */ OStorePageBIOS::OStorePageBIOS() - : m_xLockBytes (nullptr), - m_pSuper (nullptr), - m_bWriteable (false) + : m_bWriteable (false) { } diff --git a/svgio/source/svgreader/svganode.cxx b/svgio/source/svgreader/svganode.cxx index 46dd237ca637..8aac10dd1a3c 100644 --- a/svgio/source/svgreader/svganode.cxx +++ b/svgio/source/svgreader/svganode.cxx @@ -27,8 +27,7 @@ namespace svgio SvgDocument& rDocument, SvgNode* pParent) : SvgNode(SVGTokenA, rDocument, pParent), - maSvgStyleAttributes(*this), - mpaTransform(nullptr) + maSvgStyleAttributes(*this) { } diff --git a/svgio/source/svgreader/svgcirclenode.cxx b/svgio/source/svgreader/svgcirclenode.cxx index 9bf150e55fa9..b2b6b4a07b99 100644 --- a/svgio/source/svgreader/svgcirclenode.cxx +++ b/svgio/source/svgreader/svgcirclenode.cxx @@ -32,8 +32,7 @@ namespace svgio maSvgStyleAttributes(*this), maCx(0), maCy(0), - maR(0), - mpaTransform(nullptr) + maR(0) { } diff --git a/svgio/source/svgreader/svgclippathnode.cxx b/svgio/source/svgreader/svgclippathnode.cxx index 2986cbe64802..bda50ab3777f 100644 --- a/svgio/source/svgreader/svgclippathnode.cxx +++ b/svgio/source/svgreader/svgclippathnode.cxx @@ -35,7 +35,6 @@ namespace svgio SvgNode* pParent) : SvgNode(SVGTokenClipPathNode, rDocument, pParent), maSvgStyleAttributes(*this), - mpaTransform(nullptr), maClipPathUnits(userSpaceOnUse) { } diff --git a/svgio/source/svgreader/svgellipsenode.cxx b/svgio/source/svgreader/svgellipsenode.cxx index d511d9c78ca1..c76b5c538c03 100644 --- a/svgio/source/svgreader/svgellipsenode.cxx +++ b/svgio/source/svgreader/svgellipsenode.cxx @@ -33,8 +33,7 @@ namespace svgio maCx(0), maCy(0), maRx(0), - maRy(0), - mpaTransform(nullptr) + maRy(0) { } diff --git a/svgio/source/svgreader/svggnode.cxx b/svgio/source/svgreader/svggnode.cxx index d7e0ebcee5f2..c33bab1939c4 100644 --- a/svgio/source/svgreader/svggnode.cxx +++ b/svgio/source/svgreader/svggnode.cxx @@ -28,8 +28,7 @@ namespace svgio SvgDocument& rDocument, SvgNode* pParent) : SvgNode(aType, rDocument, pParent), - maSvgStyleAttributes(*this), - mpaTransform(nullptr) + maSvgStyleAttributes(*this) { OSL_ENSURE(aType == SVGTokenDefs || aType == SVGTokenG, "SvgGNode should only be used for Group and Defs (!)"); } diff --git a/svgio/source/svgreader/svggradientnode.cxx b/svgio/source/svgreader/svggradientnode.cxx index efbfdccaadb5..5399ef35443a 100644 --- a/svgio/source/svgreader/svggradientnode.cxx +++ b/svgio/source/svgreader/svggradientnode.cxx @@ -50,7 +50,6 @@ namespace svgio maFy(), maGradientUnits(objectBoundingBox), maSpreadMethod(drawinglayer::primitive2d::SpreadMethod::Pad), - mpaGradientTransform(nullptr), mbResolvingLink(false), maXLink(), mpXLink(nullptr) diff --git a/svgio/source/svgreader/svgimagenode.cxx b/svgio/source/svgreader/svgimagenode.cxx index 08976cc2e4be..b8fe34941005 100644 --- a/svgio/source/svgreader/svgimagenode.cxx +++ b/svgio/source/svgreader/svgimagenode.cxx @@ -45,7 +45,6 @@ namespace svgio : SvgNode(SVGTokenRect, rDocument, pParent), maSvgStyleAttributes(*this), maSvgAspectRatio(), - mpaTransform(nullptr), maX(0), maY(0), maWidth(0), diff --git a/svgio/source/svgreader/svglinenode.cxx b/svgio/source/svgreader/svglinenode.cxx index 11e2ea021953..bce24f675334 100644 --- a/svgio/source/svgreader/svglinenode.cxx +++ b/svgio/source/svgreader/svglinenode.cxx @@ -33,8 +33,7 @@ namespace svgio maX1(0), maY1(0), maX2(0), - maY2(0), - mpaTransform(nullptr) + maY2(0) { } diff --git a/svgio/source/svgreader/svgmarkernode.cxx b/svgio/source/svgreader/svgmarkernode.cxx index c4657984403c..2e33fa640c50 100644 --- a/svgio/source/svgreader/svgmarkernode.cxx +++ b/svgio/source/svgreader/svgmarkernode.cxx @@ -29,7 +29,6 @@ namespace svgio : SvgNode(SVGTokenMarker, rDocument, pParent), aPrimitives(), maSvgStyleAttributes(*this), - mpViewBox(nullptr), maSvgAspectRatio(), maRefX(0), maRefY(0), diff --git a/svgio/source/svgreader/svgmasknode.cxx b/svgio/source/svgreader/svgmasknode.cxx index 872c7e6aa1a9..85d9b7f2e4b5 100644 --- a/svgio/source/svgreader/svgmasknode.cxx +++ b/svgio/source/svgreader/svgmasknode.cxx @@ -40,7 +40,6 @@ namespace svgio maY(SvgNumber(-10.0, Unit_percent, true)), maWidth(SvgNumber(120.0, Unit_percent, true)), maHeight(SvgNumber(120.0, Unit_percent, true)), - mpaTransform(nullptr), maMaskUnits(objectBoundingBox), maMaskContentUnits(userSpaceOnUse) { diff --git a/svgio/source/svgreader/svgnode.cxx b/svgio/source/svgreader/svgnode.cxx index 56389ef14124..fb7ab0728488 100644 --- a/svgio/source/svgreader/svgnode.cxx +++ b/svgio/source/svgreader/svgnode.cxx @@ -266,7 +266,6 @@ namespace svgio maXmlSpace(XmlSpace_notset), maDisplay(Display_inline), maCssStyleVector(), - mpLocalCssStyle(nullptr), mbDecomposing(false), mbCssStyleVectorBuilt(false) { diff --git a/svgio/source/svgreader/svgpathnode.cxx b/svgio/source/svgreader/svgpathnode.cxx index 051f4fb9972b..9bb6cd6b82f1 100644 --- a/svgio/source/svgreader/svgpathnode.cxx +++ b/svgio/source/svgreader/svgpathnode.cxx @@ -29,8 +29,6 @@ namespace svgio SvgNode* pParent) : SvgNode(SVGTokenPath, rDocument, pParent), maSvgStyleAttributes(*this), - mpPolyPolygon(nullptr), - mpaTransform(nullptr), maPathLength() { } diff --git a/svgio/source/svgreader/svgpatternnode.cxx b/svgio/source/svgreader/svgpatternnode.cxx index 5b3d2d726abe..0096f7ae5772 100644 --- a/svgio/source/svgreader/svgpatternnode.cxx +++ b/svgio/source/svgreader/svgpatternnode.cxx @@ -38,15 +38,11 @@ namespace svgio : SvgNode(SVGTokenPattern, rDocument, pParent), aPrimitives(), maSvgStyleAttributes(*this), - mpViewBox(nullptr), maSvgAspectRatio(), maX(), maY(), maWidth(), maHeight(), - mpPatternUnits(nullptr), - mpPatternContentUnits(nullptr), - mpaPatternTransform(nullptr), mbResolvingLink(false), maXLink(), mpXLink(nullptr) diff --git a/svgio/source/svgreader/svgpolynode.cxx b/svgio/source/svgreader/svgpolynode.cxx index 14792a838678..adb37e69b7a2 100644 --- a/svgio/source/svgreader/svgpolynode.cxx +++ b/svgio/source/svgreader/svgpolynode.cxx @@ -32,8 +32,6 @@ namespace svgio bool bIsPolyline) : SvgNode(SVGTokenPolygon, rDocument, pParent), maSvgStyleAttributes(*this), - mpPolygon(nullptr), - mpaTransform(nullptr), mbIsPolyline(bIsPolyline) { } diff --git a/svgio/source/svgreader/svgrectnode.cxx b/svgio/source/svgreader/svgrectnode.cxx index e40f925f01db..c0ff40925f2d 100644 --- a/svgio/source/svgreader/svgrectnode.cxx +++ b/svgio/source/svgreader/svgrectnode.cxx @@ -35,8 +35,7 @@ namespace svgio maWidth(0), maHeight(0), maRx(0), - maRy(0), - mpaTransform(nullptr) + maRy(0) { } diff --git a/svgio/source/svgreader/svgsvgnode.cxx b/svgio/source/svgreader/svgsvgnode.cxx index ee8e81ee7dab..c588b2c37038 100644 --- a/svgio/source/svgreader/svgsvgnode.cxx +++ b/svgio/source/svgreader/svgsvgnode.cxx @@ -37,7 +37,6 @@ namespace svgio SvgNode* pParent) : SvgNode(SVGTokenSvg, rDocument, pParent), maSvgStyleAttributes(*this), - mpViewBox(nullptr), maSvgAspectRatio(), maX(), maY(), diff --git a/svgio/source/svgreader/svgsymbolnode.cxx b/svgio/source/svgreader/svgsymbolnode.cxx index a45f38e37649..632067e8f954 100644 --- a/svgio/source/svgreader/svgsymbolnode.cxx +++ b/svgio/source/svgreader/svgsymbolnode.cxx @@ -30,7 +30,6 @@ namespace svgio SvgNode* pParent) : SvgNode(SVGTokenSvg, rDocument, pParent), maSvgStyleAttributes(*this), - mpViewBox(nullptr), maSvgAspectRatio() { } diff --git a/svgio/source/svgreader/svgtextnode.cxx b/svgio/source/svgreader/svgtextnode.cxx index 3cb5ea9fce38..58e9621420df 100644 --- a/svgio/source/svgreader/svgtextnode.cxx +++ b/svgio/source/svgreader/svgtextnode.cxx @@ -35,7 +35,6 @@ namespace svgio SvgNode* pParent) : SvgNode(SVGTokenText, rDocument, pParent), maSvgStyleAttributes(*this), - mpaTransform(nullptr), maSvgTextPositions() { } diff --git a/svgio/source/svgreader/svgtextpathnode.cxx b/svgio/source/svgreader/svgtextpathnode.cxx index 288782cfbcff..6644996ee101 100644 --- a/svgio/source/svgreader/svgtextpathnode.cxx +++ b/svgio/source/svgreader/svgtextpathnode.cxx @@ -120,7 +120,6 @@ namespace svgio mnMaxIndex(rPolygon.isClosed() ? rPolygon.count() : rPolygon.count() - 1), mnIndex(0), maCurrentSegment(), - mpB2DCubicBezierHelper(nullptr), mfCurrentSegmentLength(0.0), mfSegmentStartPosition(0.0) { diff --git a/svgio/source/svgreader/svgusenode.cxx b/svgio/source/svgreader/svgusenode.cxx index 86692d91c3d7..5904a143068a 100644 --- a/svgio/source/svgreader/svgusenode.cxx +++ b/svgio/source/svgreader/svgusenode.cxx @@ -30,7 +30,6 @@ namespace svgio SvgNode* pParent) : SvgNode(SVGTokenG, rDocument, pParent), maSvgStyleAttributes(*this), - mpaTransform(nullptr), maX(), maY(), maWidth(), diff --git a/svl/source/fsstor/fsstorage.cxx b/svl/source/fsstor/fsstorage.cxx index f01d7c583b9e..c05c788b1bd8 100644 --- a/svl/source/fsstor/fsstorage.cxx +++ b/svl/source/fsstor/fsstorage.cxx @@ -82,8 +82,6 @@ struct FSStorage_Impl : m_aURL( aContent.getURL() ) , m_aContent( aContent ) , m_nMode( nMode ) - , m_pListenersContainer( nullptr ) - , m_pTypeCollection( nullptr ) , m_xContext( xContext ) { OSL_ENSURE( !m_aURL.isEmpty(), "The URL must not be empty" ); diff --git a/svl/source/fsstor/oinputstreamcontainer.cxx b/svl/source/fsstor/oinputstreamcontainer.cxx index c7ff2e015e1c..9b9899992119 100644 --- a/svl/source/fsstor/oinputstreamcontainer.cxx +++ b/svl/source/fsstor/oinputstreamcontainer.cxx @@ -29,7 +29,6 @@ OFSInputStreamContainer::OFSInputStreamContainer( const uno::Reference< io::XInp , m_xSeekable( xStream, uno::UNO_QUERY ) , m_bSeekable( false ) , m_bDisposed( false ) -, m_pListenersContainer( nullptr ) { m_bSeekable = m_xSeekable.is(); } diff --git a/svl/source/fsstor/ostreamcontainer.cxx b/svl/source/fsstor/ostreamcontainer.cxx index d4c97b0b6f94..a26077b3c1f4 100644 --- a/svl/source/fsstor/ostreamcontainer.cxx +++ b/svl/source/fsstor/ostreamcontainer.cxx @@ -28,7 +28,6 @@ OFSStreamContainer::OFSStreamContainer( const uno::Reference < io::XStream >& xS : m_bDisposed( false ) , m_bInputClosed( false ) , m_bOutputClosed( false ) -, m_pListenersContainer( nullptr ) , m_pTypeCollection( nullptr ) { try diff --git a/svl/source/inc/poolio.hxx b/svl/source/inc/poolio.hxx index a31897e6575d..6db0ee975080 100644 --- a/svl/source/inc/poolio.hxx +++ b/svl/source/inc/poolio.hxx @@ -85,7 +85,6 @@ struct SfxItemPool_Impl , mpStaticDefaults(nullptr) , mpMaster(pMaster) , mpSecondary(nullptr) - , mpPoolRanges(nullptr) , mnStart(nStart) , mnEnd(nEnd) , eDefMetric(MapUnit::MapCM) diff --git a/svl/source/items/aeitem.cxx b/svl/source/items/aeitem.cxx index 39fa0cda74c6..8c4dc2e04faf 100644 --- a/svl/source/items/aeitem.cxx +++ b/svl/source/items/aeitem.cxx @@ -33,8 +33,7 @@ class SfxAllEnumValueArr : public std::vector<SfxAllEnumValue_Impl> {}; SfxAllEnumItem::SfxAllEnumItem(sal_uInt16 which, sal_uInt16 nVal): - SfxAllEnumItem_Base(which, nVal), - pValues( nullptr ) + SfxAllEnumItem_Base(which, nVal) { InsertValue( nVal ); } diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx index 0be3d7105525..ba5df7559def 100644 --- a/svl/source/items/itemset.cxx +++ b/svl/source/items/itemset.cxx @@ -171,7 +171,6 @@ SfxItemSet::SfxItemSet( SfxItemSet::SfxItemSet( SfxItemPool& rPool, const sal_uInt16* pWhichPairTable ) : m_pPool(&rPool) , m_pParent(nullptr) - , m_pItems(nullptr) , m_pWhichRanges(nullptr) , m_nCount(0) { diff --git a/svl/source/items/stylepool.cxx b/svl/source/items/stylepool.cxx index 6192adee6650..cdda2f9de0e3 100644 --- a/svl/source/items/stylepool.cxx +++ b/svl/source/items/stylepool.cxx @@ -47,7 +47,6 @@ namespace { Node() // root node Ctor : mChildren(), maItemSet(), - mpItem( nullptr ), mpUpper( nullptr ), mbIsItemIgnorable( false ) {} diff --git a/svl/source/misc/strmadpt.cxx b/svl/source/misc/strmadpt.cxx index 1e9abecd1fb5..101984e0e068 100644 --- a/svl/source/misc/strmadpt.cxx +++ b/svl/source/misc/strmadpt.cxx @@ -319,7 +319,6 @@ void SvInputStream::SetSize(sal_uInt64) SvInputStream::SvInputStream( css::uno::Reference< css::io::XInputStream > const & rTheStream): m_xStream(rTheStream), - m_pPipe(nullptr), m_nSeekedFrom(STREAM_SEEK_TO_END) { SetBufferSize(0); diff --git a/svl/source/numbers/supservs.cxx b/svl/source/numbers/supservs.cxx index 9a287a75c148..8fc748c6d4a1 100644 --- a/svl/source/numbers/supservs.cxx +++ b/svl/source/numbers/supservs.cxx @@ -39,8 +39,7 @@ using namespace ::utl; SvNumberFormatsSupplierServiceObject::SvNumberFormatsSupplierServiceObject(const css::uno::Reference< css::uno::XComponentContext >& _rxORB) - :m_pOwnFormatter(nullptr) - ,m_xORB(_rxORB) + :m_xORB(_rxORB) { } diff --git a/svl/source/numbers/zforfind.cxx b/svl/source/numbers/zforfind.cxx index be310b5cf390..eb77b6c6ce66 100644 --- a/svl/source/numbers/zforfind.cxx +++ b/svl/source/numbers/zforfind.cxx @@ -70,14 +70,6 @@ static const sal_Int16 kDefaultEra = 1; // Gregorian CE, positive year ImpSvNumberInputScan::ImpSvNumberInputScan( SvNumberFormatter* pFormatterP ) : - pUpperMonthText( nullptr ), - pUpperAbbrevMonthText( nullptr ), - pUpperGenitiveMonthText( nullptr ), - pUpperGenitiveAbbrevMonthText( nullptr ), - pUpperPartitiveMonthText( nullptr ), - pUpperPartitiveAbbrevMonthText( nullptr ), - pUpperDayText( nullptr ), - pUpperAbbrevDayText( nullptr ), bTextInitialized( false ), bScanGenitiveMonths( false ), bScanPartitiveMonths( false ), diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx index 6c276598f4e7..eb52bc98e520 100644 --- a/svl/source/passwordcontainer/passwordcontainer.cxx +++ b/svl/source/passwordcontainer/passwordcontainer.cxx @@ -369,8 +369,7 @@ void StorageItem::ImplCommit() } -PasswordContainer::PasswordContainer( const Reference<XMultiServiceFactory>& xServiceFactory ): - m_pStorageFile( nullptr ) +PasswordContainer::PasswordContainer( const Reference<XMultiServiceFactory>& xServiceFactory ) { // m_pStorageFile->Notify() can be called ::osl::MutexGuard aGuard( mMutex ); diff --git a/svl/unx/source/svdde/ddedummy.cxx b/svl/unx/source/svdde/ddedummy.cxx index e934b865a857..c505433a1e98 100644 --- a/svl/unx/source/svdde/ddedummy.cxx +++ b/svl/unx/source/svdde/ddedummy.cxx @@ -91,7 +91,6 @@ long DdeConnection::GetError() DdeConnection::DdeConnection( const OUString&, const OUString& ) : pService(nullptr) , pTopic(nullptr) - , pImp(nullptr) { } |