[Libreoffice-commits] core.git: filter/source forms/source formula/source fpicker/source framework/source include/filter

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Sep 8 17:28:40 UTC 2018


 filter/source/flash/swfexporter.cxx                               |    1 -
 filter/source/flash/swfwriter.cxx                                 |    2 --
 filter/source/graphicfilter/egif/giflzwc.cxx                      |    2 +-
 filter/source/graphicfilter/eps/eps.cxx                           |    1 -
 filter/source/graphicfilter/etiff/etiff.cxx                       |    1 -
 filter/source/graphicfilter/icgm/bundles.cxx                      |    2 --
 filter/source/graphicfilter/icgm/cgm.cxx                          |    2 --
 filter/source/graphicfilter/idxf/dxfentrd.cxx                     |    3 +--
 filter/source/graphicfilter/ipsd/ipsd.cxx                         |    2 --
 filter/source/graphicfilter/itga/itga.cxx                         |    4 ----
 filter/source/graphicfilter/itiff/ccidecom.cxx                    |    2 --
 filter/source/msfilter/eschesdo.cxx                               |    1 -
 filter/source/msfilter/msdffimp.cxx                               |    9 +--------
 filter/source/msfilter/svdfppt.cxx                                |    8 --------
 filter/source/msfilter/viscache.hxx                               |    1 -
 filter/source/svg/svgwriter.cxx                                   |    4 ----
 filter/source/xsltdialog/xmlfiltertestdialog.cxx                  |    1 -
 forms/source/component/DatabaseForm.cxx                           |    2 --
 forms/source/component/clickableimage.cxx                         |    2 --
 forms/source/component/imgprod.cxx                                |    3 +--
 forms/source/component/propertybaghelper.cxx                      |    1 -
 forms/source/richtext/richtextimplcontrol.cxx                     |    1 -
 forms/source/richtext/richtextvclcontrol.cxx                      |    1 -
 forms/source/richtext/rtattributes.hxx                            |    9 +++------
 formula/source/core/api/token.cxx                                 |    1 -
 fpicker/source/office/RemoteFilesDialog.cxx                       |    1 -
 fpicker/source/office/fpsmartcontent.cxx                          |    6 ++----
 fpicker/source/office/iodlgimp.cxx                                |    1 -
 framework/source/fwe/classes/actiontriggerpropertyset.cxx         |    2 --
 framework/source/fwe/xml/menudocumenthandler.cxx                  |    2 --
 framework/source/fwe/xml/saxnamespacefilter.cxx                   |    1 -
 framework/source/layoutmanager/layoutmanager.cxx                  |    1 -
 framework/source/layoutmanager/toolbarlayoutmanager.cxx           |    1 -
 framework/source/recording/dispatchrecordersupplier.cxx           |    1 -
 framework/source/services/frame.cxx                               |    1 -
 framework/source/services/pathsettings.cxx                        |    1 -
 framework/source/uiconfiguration/imagemanagerimpl.cxx             |    1 -
 framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx |    4 +---
 framework/source/uiconfiguration/uiconfigurationmanager.cxx       |    3 +--
 include/filter/msfilter/svdfppt.hxx                               |    1 -
 40 files changed, 11 insertions(+), 82 deletions(-)

New commits:
commit 8dc6c96a8036f80c3ba016ea347ce2f83daa9726
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Sat Sep 8 14:52:40 2018 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Sep 8 19:28:19 2018 +0200

    loplugin:simplifyconstruct in filter..framework
    
    Change-Id: Ida4307a92dfb1dbd14da5a30b6ee1f0fd6a9455e
    Reviewed-on: https://gerrit.libreoffice.org/60194
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/filter/source/flash/swfexporter.cxx b/filter/source/flash/swfexporter.cxx
index 643871e90608..344ea5214849 100644
--- a/filter/source/flash/swfexporter.cxx
+++ b/filter/source/flash/swfexporter.cxx
@@ -79,7 +79,6 @@ FlashExporter::FlashExporter(
     , mxSelectedDrawPage(rxSelectedDrawPage)
     , mbExportSelection(false)
 
-    , mpWriter(nullptr)
     , mnDocWidth(0)
     , mnDocHeight(0)
     , mnJPEGcompressMode(nJPEGCompressMode)
diff --git a/filter/source/flash/swfwriter.cxx b/filter/source/flash/swfwriter.cxx
index 04b47a640e25..e2478ffd6b96 100644
--- a/filter/source/flash/swfwriter.cxx
+++ b/filter/source/flash/swfwriter.cxx
@@ -44,8 +44,6 @@ Writer::Writer( sal_Int32 nTWIPWidthOutput, sal_Int32 nTWIPHeightOutput, sal_Int
     mnDocXScale( static_cast<double>(nTWIPWidthOutput) / mnDocWidth ),
     mnDocYScale( static_cast<double>(nTWIPHeightOutput) / mnDocHeight ),
     mpClipPolyPolygon( nullptr ),
-    mpTag( nullptr ),
-    mpSprite( nullptr ),
     mnNextId( 1 ),
     mnFrames( 0 ),
     mnGlobalTransparency(0),
diff --git a/filter/source/graphicfilter/egif/giflzwc.cxx b/filter/source/graphicfilter/egif/giflzwc.cxx
index 5a4601d38c9e..8b1950e526a2 100644
--- a/filter/source/graphicfilter/egif/giflzwc.cxx
+++ b/filter/source/graphicfilter/egif/giflzwc.cxx
@@ -111,7 +111,7 @@ struct GIFLZWCTreeNode
 
 
 GIFLZWCompressor::GIFLZWCompressor()
-    : pIDOS(nullptr), pTable(nullptr), pPrefix(nullptr), nDataSize(0), nClearCode(0),
+    : pPrefix(nullptr), nDataSize(0), nClearCode(0),
       nEOICode(0), nTableSize(0), nCodeSize(0)
 {
 }
diff --git a/filter/source/graphicfilter/eps/eps.cxx b/filter/source/graphicfilter/eps/eps.cxx
index 09815fd2d043..f3ef15a9d06c 100644
--- a/filter/source/graphicfilter/eps/eps.cxx
+++ b/filter/source/graphicfilter/eps/eps.cxx
@@ -265,7 +265,6 @@ PSWriter::PSWriter()
     , maFont()
     , maLastFont()
     , nNextChrSetId(0)
-    , pTable(nullptr)
     , pPrefix(nullptr)
     , nDataSize(0)
     , nClearCode(0)
diff --git a/filter/source/graphicfilter/etiff/etiff.cxx b/filter/source/graphicfilter/etiff/etiff.cxx
index 17b99eefd52b..dc3349f82791 100644
--- a/filter/source/graphicfilter/etiff/etiff.cxx
+++ b/filter/source/graphicfilter/etiff/etiff.cxx
@@ -130,7 +130,6 @@ TIFFWriter::TIFFWriter(SvStream &rStream)
     , mnPalPos(0)
     , mnBitmapPos(0)
     , mnStripByteCountPos(0)
-    , pTable(nullptr)
     , pPrefix(nullptr)
     , nDataSize(0)
     , nClearCode(0)
diff --git a/filter/source/graphicfilter/icgm/bundles.cxx b/filter/source/graphicfilter/icgm/bundles.cxx
index c083229216fa..8cce817c3800 100644
--- a/filter/source/graphicfilter/icgm/bundles.cxx
+++ b/filter/source/graphicfilter/icgm/bundles.cxx
@@ -29,9 +29,7 @@ void Bundle::SetColor( sal_uInt32 nColor )
 }
 
 FontEntry::FontEntry() :
-    pFontName       ( nullptr ),
     eCharSetType    ( CST_CCOMPLETE ),
-    pCharSetValue   ( nullptr ),
     nFontType       ( 0 )
 {
 }
diff --git a/filter/source/graphicfilter/icgm/cgm.cxx b/filter/source/graphicfilter/icgm/cgm.cxx
index 600946a2c1a7..eef992866844 100644
--- a/filter/source/graphicfilter/icgm/cgm.cxx
+++ b/filter/source/graphicfilter/icgm/cgm.cxx
@@ -53,8 +53,6 @@ CGM::CGM(uno::Reference< frame::XModel > const & rModel)
     , mbFirstOutPut(false)
     , mbInDefaultReplacement(false)
     , mnAct4PostReset(0)
-    , mpBitmapInUse(nullptr)
-    , mpChart(nullptr)
     , mpOutAct(new CGMImpressOutAct(*this, rModel))
     , mpSource(nullptr)
     , mpEndValidSource(nullptr)
diff --git a/filter/source/graphicfilter/idxf/dxfentrd.cxx b/filter/source/graphicfilter/idxf/dxfentrd.cxx
index bcb698994831..a2949dd6578a 100644
--- a/filter/source/graphicfilter/idxf/dxfentrd.cxx
+++ b/filter/source/graphicfilter/idxf/dxfentrd.cxx
@@ -655,8 +655,7 @@ DXFHatchEntity::DXFHatchEntity() :
     nHatchDoubleFlag( 0 ),
     nHatchPatternDefinitionLines( 0 ),
     fPixelSize( 1.0 ),
-    nNumberOfSeedPoints( 0 ),
-    pBoundaryPathData( nullptr )
+    nNumberOfSeedPoints( 0 )
 {
 }
 
diff --git a/filter/source/graphicfilter/ipsd/ipsd.cxx b/filter/source/graphicfilter/ipsd/ipsd.cxx
index 527604e5b173..7ffe0e4a765a 100644
--- a/filter/source/graphicfilter/ipsd/ipsd.cxx
+++ b/filter/source/graphicfilter/ipsd/ipsd.cxx
@@ -85,14 +85,12 @@ public:
 
 PSDReader::PSDReader(SvStream &rStream)
     : m_rPSD(rStream)
-    , mpFileHeader(nullptr)
     , mnXResFixed(0)
     , mnYResFixed(0)
     , mbStatus(true)
     , mbTransparent(false)
     , mnDestBitDepth(0)
     , mbCompression(false)
-    , mpPalette(nullptr)
 {
 }
 
diff --git a/filter/source/graphicfilter/itga/itga.cxx b/filter/source/graphicfilter/itga/itga.cxx
index 000237069556..a1e46681c7a3 100644
--- a/filter/source/graphicfilter/itga/itga.cxx
+++ b/filter/source/graphicfilter/itga/itga.cxx
@@ -113,10 +113,6 @@ public:
 
 TGAReader::TGAReader(SvStream &rTGA)
     : m_rTGA(rTGA)
-    , mpFileHeader(nullptr)
-    , mpFileFooter(nullptr)
-    , mpExtension(nullptr)
-    , mpColorMap(nullptr)
     , mbStatus(true)
     , mnTGAVersion(1)
     , mnDestBitDepth(8)
diff --git a/filter/source/graphicfilter/itiff/ccidecom.cxx b/filter/source/graphicfilter/itiff/ccidecom.cxx
index 00d39b866e18..d648ce00ad9d 100644
--- a/filter/source/graphicfilter/itiff/ccidecom.cxx
+++ b/filter/source/graphicfilter/itiff/ccidecom.cxx
@@ -567,7 +567,6 @@ const CCIHuffmanTableEntry CCIUncompTableSave[CCIUncompTableSize]={
 CCIDecompressor::CCIDecompressor( sal_uLong nOpts, sal_uInt32 nImageWidth ) :
     bTableBad   ( false ),
     bStatus     ( false ),
-    pByteSwap   ( nullptr ),
     pIStream    ( nullptr ),
     nEOLCount   ( 0 ),
     nWidth      ( nImageWidth ),
@@ -575,7 +574,6 @@ CCIDecompressor::CCIDecompressor( sal_uLong nOpts, sal_uInt32 nImageWidth ) :
     bFirstEOL   ( false ),
     nInputBitsBuf( 0 ),
     nInputBitsBufSize( 0 ),
-    pLastLine   ( nullptr ),
     nLastLineSize( 0 )
 {
     if ( nOpts & CCI_OPTION_INVERSEBITORDER )
diff --git a/filter/source/msfilter/eschesdo.cxx b/filter/source/msfilter/eschesdo.cxx
index a994c47543cc..a28d7357bf68 100644
--- a/filter/source/msfilter/eschesdo.cxx
+++ b/filter/source/msfilter/eschesdo.cxx
@@ -72,7 +72,6 @@ ImplEESdrWriter::ImplEESdrWriter( EscherEx& rEx )
     , mpHostAppData(nullptr)
     , mbIsTitlePossible(false)
     , mpSdrPage( nullptr )
-    , mpSolverContainer( nullptr )
 {
 }
 
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 0938905edb52..4b650c272c70 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -216,7 +216,6 @@ void Impl_OlePres::Write( SvStream & rStm )
 
 DffPropertyReader::DffPropertyReader( const SvxMSDffManager& rMan )
     : rManager(rMan)
-    , pDefaultPropSet(nullptr)
     , mnFix16Angle(0)
     , mbRotateGranientFillWithAngle(false)
 {
@@ -2893,8 +2892,7 @@ void DffPropertyReader::ImportGradientColor( SfxItemSet& aSet,MSO_FillType eMSO_
 DffRecordList::DffRecordList( DffRecordList* pList ) :
     nCount                  ( 0 ),
     nCurrent                ( 0 ),
-    pPrev                   ( pList ),
-    pNext                   ( nullptr )
+    pPrev                   ( pList )
 {
     if ( pList )
         pList->pNext.reset( this );
@@ -5696,7 +5694,6 @@ SvxMSDffManager::SvxMSDffManager(SvStream& rStCtrl_,
      pStData2( pStData2_ ),
      nSvxMSDffSettings( 0 ),
      nSvxMSDffOLEConvFlags( 0 ),
-     pSecPropSet( nullptr ),
      mnDefaultColor( mnDefaultColor_),
      mbSkipImages (bSkipImages)
 {
@@ -5739,7 +5736,6 @@ SvxMSDffManager::SvxMSDffManager( SvStream& rStCtrl_, const OUString& rBaseURL )
      pStData2( nullptr ),
      nSvxMSDffSettings( 0 ),
      nSvxMSDffOLEConvFlags( 0 ),
-     pSecPropSet( nullptr ),
      mnDefaultColor( COL_DEFAULT ),
      mbSkipImages(false)
 {
@@ -7405,10 +7401,7 @@ bool SvxMSDffManager::SetPropValue( const uno::Any& rAny, const uno::Reference<
 
 SvxMSDffImportRec::SvxMSDffImportRec()
     : pObj( nullptr ),
-      pWrapPolygon(nullptr),
-      pClientAnchorBuffer( nullptr ),
       nClientAnchorLen(  0 ),
-      pClientDataBuffer( nullptr ),
       nClientDataLen(    0 ),
       nXAlign( 0 ), // position n cm from left
       nYAlign( 0 ), // position n cm below
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index dee401a652da..6d891d6ad06c 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -504,7 +504,6 @@ PptSlidePersistEntry::PptSlidePersistEntry() :
     nSlidePersistEndOffset  ( 0 ),
     nBackgroundOffset       ( 0 ),
     nDrawingDgId            ( 0xffffffff ),
-    pPresentationObjects    ( nullptr ),
     pBObj                   ( nullptr ),
     ePageKind               ( PPT_MASTERPAGE ),
     bNotesMaster            ( false ),
@@ -520,7 +519,6 @@ PptSlidePersistEntry::~PptSlidePersistEntry()
 
 SdrEscherImport::SdrEscherImport( PowerPointImportParam& rParam, const OUString& rBaseURL ) :
     SvxMSDffManager         ( rParam.rDocStream, rBaseURL ),
-    m_pFonts                ( nullptr ),
     nStreamLen              ( 0 ),
     rImportParam            ( rParam )
 {
@@ -1319,12 +1317,8 @@ SdrObject* SdrEscherImport::ProcessObj( SvStream& rSt, DffObjData& rObjData, Svx
 SdrPowerPointImport::SdrPowerPointImport( PowerPointImportParam& rParam, const OUString& rBaseURL ) :
     SdrEscherImport     ( rParam, rBaseURL ),
     bOk                 ( rStCtrl.GetErrorCode() == ERRCODE_NONE ),
-    pPersistPtr         ( nullptr ),
     nPersistPtrCnt      ( 0 ),
     pDefaultSheet       ( nullptr ),
-    m_pMasterPages      ( nullptr ),
-    m_pSlidePages       ( nullptr ),
-    m_pNotePages        ( nullptr ),
     nCurrentPageNum     ( 0 ),
     nDocStreamPos       ( 0 ),
     nPageColorsNum      ( 0xFFFF ),
@@ -4449,7 +4443,6 @@ PPTParaPropSet& PPTParaPropSet::operator=( const PPTParaPropSet& rParaPropSet )
 PPTCharPropSet::PPTCharPropSet(sal_uInt32 nParagraph)
     : mnOriginalTextPos(0)
     , mnParagraph(nParagraph)
-    , mpFieldItem(nullptr)
     , mpImplPPTCharPropSet()
 {
     mnHylinkOrigColor = 0;
@@ -4529,7 +4522,6 @@ void PPTCharPropSet::SetColor( sal_uInt32 nColor )
 PPTRuler::PPTRuler()
     : nFlags(0)
     , nDefaultTab(0x240)
-    , pTab(nullptr)
     , nTabCount(0)
 {
     memset(nTextOfs, 0, sizeof(nTextOfs));
diff --git a/filter/source/msfilter/viscache.hxx b/filter/source/msfilter/viscache.hxx
index 24efe43bf42e..e33536c7be61 100644
--- a/filter/source/msfilter/viscache.hxx
+++ b/filter/source/msfilter/viscache.hxx
@@ -39,7 +39,6 @@ public:
     explicit Impl_OlePres()
         : nFormat( SotClipboardFormatId::GDIMETAFILE )
         , nAspect( ASPECT_CONTENT )
-        , pMtf( nullptr )
         , nAdvFlags( 0x2 )  // found in document
     {}
     void    SetMtf( const GDIMetaFile & rMtf )
diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx
index 5ab6193637e1..a1cff2e99346 100644
--- a/filter/source/svg/svgwriter.cxx
+++ b/filter/source/svg/svgwriter.cxx
@@ -130,7 +130,6 @@ SVGAttributeWriter::SVGAttributeWriter( SVGExport& rExport, SVGFontExport& rFont
     : mrExport( rExport )
     , mrFontExport( rFontExport )
     , mrCurrentState( rCurState )
-    , mpElemFont( nullptr )
 {
 }
 
@@ -455,9 +454,6 @@ SVGTextWriter::SVGTextWriter( SVGExport& rExport,  SVGAttributeWriter& rAttribut
   mrCurrentTextPortion(),
   mpTextEmbeddedBitmapMtf( nullptr ),
   mpTargetMapMode( nullptr ),
-  mpTextShapeElem( nullptr ),
-  mpTextParagraphElem( nullptr ),
-  mpTextPositionElem( nullptr ),
   mnLeftTextPortionLength( 0 ),
   maTextPos(0,0),
   mnTextWidth(0),
diff --git a/filter/source/xsltdialog/xmlfiltertestdialog.cxx b/filter/source/xsltdialog/xmlfiltertestdialog.cxx
index c4c08e86f64b..c245ad4c0c31 100644
--- a/filter/source/xsltdialog/xmlfiltertestdialog.cxx
+++ b/filter/source/xsltdialog/xmlfiltertestdialog.cxx
@@ -134,7 +134,6 @@ XMLFilterTestDialog::XMLFilterTestDialog(weld::Window* pParent,
     const Reference<XComponentContext>& rxContext)
     : GenericDialogController(pParent, "filter/ui/testxmlfilter.ui", "TestXMLFilterDialog")
     , mxContext(rxContext)
-    , m_xFilterInfo(nullptr)
     , m_xExport(m_xBuilder->weld_widget("export"))
     , m_xFTExportXSLTFile(m_xBuilder->weld_label("exportxsltfile"))
     , m_xPBExportBrowse(m_xBuilder->weld_button("exportbrowse"))
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx
index 8c7f9a227774..afdd2a5e78a3 100644
--- a/forms/source/component/DatabaseForm.cxx
+++ b/forms/source/component/DatabaseForm.cxx
@@ -240,7 +240,6 @@ ODatabaseForm::ODatabaseForm(const Reference<XComponentContext>& _rxContext)
     ,m_aPropertyBagHelper( *this )
     ,m_aParameterManager( m_aMutex, _rxContext )
     ,m_aFilterManager()
-    ,m_pLoadTimer(nullptr)
     ,m_nResetsPending(0)
     ,m_nPrivileges(0)
     ,m_bInsertOnly( false )
@@ -275,7 +274,6 @@ ODatabaseForm::ODatabaseForm( const ODatabaseForm& _cloneSource )
     ,m_aPropertyBagHelper( *this )
     ,m_aParameterManager( m_aMutex, _cloneSource.m_xContext )
     ,m_aFilterManager()
-    ,m_pLoadTimer( nullptr )
     ,m_nResetsPending( 0 )
     ,m_nPrivileges( 0 )
     ,m_bInsertOnly( _cloneSource.m_bInsertOnly )
diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx
index b90eaf799208..c328e4241958 100644
--- a/forms/source/component/clickableimage.cxx
+++ b/forms/source/component/clickableimage.cxx
@@ -450,7 +450,6 @@ namespace frm
         :OControlModel( _rxFactory, _rUnoControlModelTypeName, rDefault )
         ,OPropertyChangeListener(m_aMutex)
         ,m_xGraphicObject()
-        ,m_pMedium(nullptr)
         ,m_bDispatchUrlInternal(false)
         ,m_bProdStarted(false)
     {
@@ -463,7 +462,6 @@ namespace frm
         :OControlModel( _pOriginal, _rxFactory )
         ,OPropertyChangeListener( m_aMutex )
         ,m_xGraphicObject( _pOriginal->m_xGraphicObject )
-        ,m_pMedium( nullptr )
         ,m_bDispatchUrlInternal(false)
         ,m_bProdStarted( false )
     {
diff --git a/forms/source/component/imgprod.cxx b/forms/source/component/imgprod.cxx
index 9e2700f0b971..0807ffdac6e8 100644
--- a/forms/source/component/imgprod.cxx
+++ b/forms/source/component/imgprod.cxx
@@ -157,8 +157,7 @@ ErrCode ImgProdLockBytes::Stat( SvLockBytesStat* pStat, SvLockBytesStatFlag eFla
 
 
 ImageProducer::ImageProducer()
-    : mpStm(nullptr)
-    , mnTransIndex(0)
+    : mnTransIndex(0)
     , mbConsInit(false)
 {
     mpGraphic.reset( new Graphic );
diff --git a/forms/source/component/propertybaghelper.cxx b/forms/source/component/propertybaghelper.cxx
index 30958a54b151..f88c68abc35d 100644
--- a/forms/source/component/propertybaghelper.cxx
+++ b/forms/source/component/propertybaghelper.cxx
@@ -72,7 +72,6 @@ namespace frm
 
     PropertyBagHelper::PropertyBagHelper( IPropertyBagHelperContext& _rContext )
         :m_rContext( _rContext )
-        ,m_pPropertyArrayHelper( nullptr )
         ,m_bDisposed( false )
     {
     }
diff --git a/forms/source/richtext/richtextimplcontrol.cxx b/forms/source/richtext/richtextimplcontrol.cxx
index 0fc975a278cc..4ab753f040c7 100644
--- a/forms/source/richtext/richtextimplcontrol.cxx
+++ b/forms/source/richtext/richtextimplcontrol.cxx
@@ -49,7 +49,6 @@ namespace frm
         ,m_pVScroll             ( nullptr                )
         ,m_pScrollCorner        ( nullptr                )
         ,m_pEngine              ( _pEngine            )
-        ,m_pView                ( nullptr                )
         ,m_pTextAttrListener    ( _pTextAttrListener  )
         ,m_pSelectionListener   ( _pSelectionListener )
         ,m_bHasEverBeenShown    ( false               )
diff --git a/forms/source/richtext/richtextvclcontrol.cxx b/forms/source/richtext/richtextvclcontrol.cxx
index e5f0848eebf4..dbfa228d7c14 100644
--- a/forms/source/richtext/richtextvclcontrol.cxx
+++ b/forms/source/richtext/richtextvclcontrol.cxx
@@ -43,7 +43,6 @@ namespace frm
     RichTextControl::RichTextControl( RichTextEngine* _pEngine, vcl::Window* _pParent, WinBits _nStyle,
         ITextAttributeListener* _pTextAttribListener, ITextSelectionListener* _pSelectionListener )
         :Control( _pParent, implInitStyle( _nStyle ) )
-        ,m_pImpl( nullptr )
     {
         implInit( _pEngine, _pTextAttribListener, _pSelectionListener );
     }
diff --git a/forms/source/richtext/rtattributes.hxx b/forms/source/richtext/rtattributes.hxx
index 6c166b240bbf..fc514580a64a 100644
--- a/forms/source/richtext/rtattributes.hxx
+++ b/forms/source/richtext/rtattributes.hxx
@@ -61,20 +61,17 @@ namespace frm
     };
 
     inline AttributeState::AttributeState( )
-        :pItemHandleItem ( nullptr )
-        ,eSimpleState( eIndetermined )
+        :eSimpleState( eIndetermined )
     {
     }
 
     inline AttributeState::AttributeState( AttributeCheckState _eCheckState )
-        :pItemHandleItem ( nullptr )
-        ,eSimpleState( _eCheckState )
+        :eSimpleState( _eCheckState )
     {
     }
 
     inline AttributeState::AttributeState( const AttributeState& _rSource )
-        :pItemHandleItem ( nullptr )
-        ,eSimpleState( eIndetermined )
+        :eSimpleState( eIndetermined )
     {
         operator=( _rSource );
     }
diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx
index d66204590e67..43c152ee7161 100644
--- a/formula/source/core/api/token.cxx
+++ b/formula/source/core/api/token.cxx
@@ -557,7 +557,6 @@ bool FormulaTokenArray::HasOpCodes(const unordered_opcode_set& rOpCodes) const
 }
 
 FormulaTokenArray::FormulaTokenArray() :
-    pCode(nullptr),
     pRPN(nullptr),
     nLen(0),
     nRPN(0),
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx
index 55026fb228cb..a874b481113d 100644
--- a/fpicker/source/office/RemoteFilesDialog.cxx
+++ b/fpicker/source/office/RemoteFilesDialog.cxx
@@ -179,7 +179,6 @@ RemoteFilesDialog::RemoteFilesDialog( vcl::Window* pParent, PickerFlags nBits )
     , m_xMasterPasswd( PasswordContainer::create( m_xContext ) )
     , m_nWidth( 0 )
     , m_nHeight( 0 )
-    , m_pCurrentAsyncAction( nullptr )
     , m_pSplitter( nullptr )
     , m_pFileView( nullptr )
     , m_pContainer( nullptr )
diff --git a/fpicker/source/office/fpsmartcontent.cxx b/fpicker/source/office/fpsmartcontent.cxx
index d5aead5af3fc..5ef2d13a62cd 100644
--- a/fpicker/source/office/fpsmartcontent.cxx
+++ b/fpicker/source/office/fpsmartcontent.cxx
@@ -46,15 +46,13 @@ namespace svt
 
 
     SmartContent::SmartContent()
-        :m_pContent( nullptr )
-        ,m_eState( NOT_BOUND )
+        :m_eState( NOT_BOUND )
     {
     }
 
 
     SmartContent::SmartContent( const OUString& _rInitialURL )
-        :m_pContent( nullptr )
-        ,m_eState( NOT_BOUND )
+        :m_eState( NOT_BOUND )
     {
         bindTo( _rInitialURL );
     }
diff --git a/fpicker/source/office/iodlgimp.cxx b/fpicker/source/office/iodlgimp.cxx
index 17dfed2f3aa8..171bc3dd3ed5 100644
--- a/fpicker/source/office/iodlgimp.cxx
+++ b/fpicker/source/office/iodlgimp.cxx
@@ -175,7 +175,6 @@ Size SvtUpButton_Impl::GetOptimalSize() const
 SvtExpFileDlg_Impl::SvtExpFileDlg_Impl()   :
 
     _pCurFilter         ( nullptr ),
-    _pUserFilter        ( nullptr ),
     _pFtFileName        ( nullptr ),
     _pEdFileName        ( nullptr ),
     _pFtFileVersion     ( nullptr ),
diff --git a/framework/source/fwe/classes/actiontriggerpropertyset.cxx b/framework/source/fwe/classes/actiontriggerpropertyset.cxx
index 94eb09221c02..7c02acf1dfa0 100644
--- a/framework/source/fwe/classes/actiontriggerpropertyset.cxx
+++ b/framework/source/fwe/classes/actiontriggerpropertyset.cxx
@@ -55,8 +55,6 @@ ActionTriggerPropertySet::ActionTriggerPropertySet()
     : OBroadcastHelper         ( m_aMutex )
     , OPropertySetHelper       ( *static_cast< OBroadcastHelper * >(this) )
     , OWeakObject              ()
-    , m_xBitmap                ( nullptr )
-    , m_xActionTriggerContainer( nullptr )
 {
 }
 
diff --git a/framework/source/fwe/xml/menudocumenthandler.cxx b/framework/source/fwe/xml/menudocumenthandler.cxx
index da691e77276a..6bb685ae24e2 100644
--- a/framework/source/fwe/xml/menudocumenthandler.cxx
+++ b/framework/source/fwe/xml/menudocumenthandler.cxx
@@ -146,8 +146,6 @@ static void ExtractMenuParameters( const Sequence< PropertyValue >& rProp,
 // Base class implementation
 
 ReadMenuDocumentHandlerBase::ReadMenuDocumentHandlerBase() :
-    m_xLocator( nullptr ),
-    m_xReader( nullptr ),
     m_aType( ITEM_DESCRIPTOR_TYPE ),
     m_aLabel( ITEM_DESCRIPTOR_LABEL ),
     m_aContainer( ITEM_DESCRIPTOR_CONTAINER ),
diff --git a/framework/source/fwe/xml/saxnamespacefilter.cxx b/framework/source/fwe/xml/saxnamespacefilter.cxx
index 44abd1d03aef..dcb5ca645bea 100644
--- a/framework/source/fwe/xml/saxnamespacefilter.cxx
+++ b/framework/source/fwe/xml/saxnamespacefilter.cxx
@@ -36,7 +36,6 @@ using namespace ::com::sun::star::uno;
 namespace framework{
 
 SaxNamespaceFilter::SaxNamespaceFilter( Reference< XDocumentHandler > const & rSax1DocumentHandler ) :
-     m_xLocator( nullptr ),
      xDocumentHandler( rSax1DocumentHandler ),
      m_aXMLAttributeNamespace( "xmlns" ),
      m_aXMLAttributeType( "CDATA" )
diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx
index 276b9cbbad00..d11dc8eb2cd5 100644
--- a/framework/source/layoutmanager/layoutmanager.cxx
+++ b/framework/source/layoutmanager/layoutmanager.cxx
@@ -121,7 +121,6 @@ LayoutManager::LayoutManager( const Reference< XComponentContext >& xContext ) :
         , m_xModuleManager( ModuleManager::create( xContext ))
         , m_xUIElementFactoryManager( ui::theUIElementFactoryManager::get(xContext) )
         , m_xPersistentWindowStateSupplier( ui::theWindowStateConfiguration::get( xContext ) )
-        , m_pGlobalSettings( nullptr )
         , m_aListenerContainer( m_aMutex )
 {
     // Initialize statusbar member
diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx b/framework/source/layoutmanager/toolbarlayoutmanager.cxx
index 2c712f3b9752..96e96ba143e6 100644
--- a/framework/source/layoutmanager/toolbarlayoutmanager.cxx
+++ b/framework/source/layoutmanager/toolbarlayoutmanager.cxx
@@ -60,7 +60,6 @@ ToolbarLayoutManager::ToolbarLayoutManager(
     m_pParentLayouter( pParentLayouter ),
     m_eDockOperation( DOCKOP_ON_COLROW ),
     m_ePreviewDetection( PREVIEWFRAME_UNKNOWN ),
-    m_pAddonOptions( nullptr ),
     m_bComponentAttached( false ),
     m_bLayoutDirty( false ),
     m_bGlobalSettings( false ),
diff --git a/framework/source/recording/dispatchrecordersupplier.cxx b/framework/source/recording/dispatchrecordersupplier.cxx
index d78ca5440aea..1abbb05350b8 100644
--- a/framework/source/recording/dispatchrecordersupplier.cxx
+++ b/framework/source/recording/dispatchrecordersupplier.cxx
@@ -51,7 +51,6 @@ DEFINE_INIT_SERVICE(
             it's not necessary to do anything here.
  */
 DispatchRecorderSupplier::DispatchRecorderSupplier( const css::uno::Reference< css::lang::XMultiServiceFactory >& )
-        : m_xDispatchRecorder( nullptr                          )
 {
 }
 
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index be0f828cdf5d..c120cdb7d44d 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -469,7 +469,6 @@ Frame::Frame( const css::uno::Reference< css::uno::XComponentContext >& xContext
         , m_bSelfClose                ( false ) // Important!
         , m_bIsHidden                 ( true )
         , m_xTitleHelper              ()
-        , m_pWindowCommandDispatch    ( nullptr )
         , m_lSimpleChangeListener     ( m_aMutex )
         , m_lVetoChangeListener       ( m_aMutex )
         , m_aChildFrameContainer      ()
diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx
index a95623a1073e..fe422707e3dd 100644
--- a/framework/source/services/pathsettings.cxx
+++ b/framework/source/services/pathsettings.cxx
@@ -441,7 +441,6 @@ PathSettings::PathSettings( const css::uno::Reference< css::uno::XComponentConte
     : PathSettings_BASE(m_aMutex)
     , ::cppu::OPropertySetHelper(cppu::WeakComponentImplHelperBase::rBHelper)
     ,   m_xContext (xContext)
-    ,   m_pPropHelp(nullptr    )
 {
 }
 
diff --git a/framework/source/uiconfiguration/imagemanagerimpl.cxx b/framework/source/uiconfiguration/imagemanagerimpl.cxx
index 6f243811c883..650d44e2a1e4 100644
--- a/framework/source/uiconfiguration/imagemanagerimpl.cxx
+++ b/framework/source/uiconfiguration/imagemanagerimpl.cxx
@@ -508,7 +508,6 @@ CmdImageList* ImageManagerImpl::implts_getDefaultImageList()
 ImageManagerImpl::ImageManagerImpl( const uno::Reference< uno::XComponentContext >& rxContext,::cppu::OWeakObject* pOwner,bool _bUseGlobal ) :
     m_xContext( rxContext )
     , m_pOwner(pOwner)
-    , m_pDefaultImageList( nullptr )
     , m_aResourceString( "private:resource/images/moduleimages" )
     , m_aListenerContainer( m_mutex )
     , m_bUseGlobal(_bUseGlobal)
diff --git a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
index 65f78414d938..7d2e47e942d9 100644
--- a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
+++ b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
@@ -829,9 +829,7 @@ void ModuleUIConfigurationManager::impl_Initialize()
 ModuleUIConfigurationManager::ModuleUIConfigurationManager(
         const Reference< XComponentContext >& xContext,
         const css::uno::Sequence< css::uno::Any >& aArguments)
-    : m_xDefaultConfigStorage( nullptr )
-    , m_xUserConfigStorage( nullptr )
-    , m_bReadOnly( true )
+    : m_bReadOnly( true )
     , m_bModified( false )
     , m_bDisposed( false )
     , m_aXMLPostfix( ".xml" )
diff --git a/framework/source/uiconfiguration/uiconfigurationmanager.cxx b/framework/source/uiconfiguration/uiconfigurationmanager.cxx
index 4e84354928c9..91cca8cdff4e 100644
--- a/framework/source/uiconfiguration/uiconfigurationmanager.cxx
+++ b/framework/source/uiconfiguration/uiconfigurationmanager.cxx
@@ -670,8 +670,7 @@ void UIConfigurationManager::impl_Initialize()
 }
 
 UIConfigurationManager::UIConfigurationManager( const css::uno::Reference< css::uno::XComponentContext > & rxContext ) :
-    m_xDocConfigStorage( nullptr )
-    , m_bReadOnly( true )
+      m_bReadOnly( true )
     , m_bModified( false )
     , m_bDisposed( false )
     , m_aXMLPostfix( ".xml" )
diff --git a/include/filter/msfilter/svdfppt.hxx b/include/filter/msfilter/svdfppt.hxx
index 4e32f9949f3c..36229fb5044a 100644
--- a/include/filter/msfilter/svdfppt.hxx
+++ b/include/filter/msfilter/svdfppt.hxx
@@ -1213,7 +1213,6 @@ struct ImplPPTTextObj : public salhelper::SimpleReferenceObject
     explicit ImplPPTTextObj( PptSlidePersistEntry& rPersistEntry )
         : mnShapeId(0)
         , mnShapeMaster(0)
-        , mpPlaceHolderAtom(nullptr)
         , mnInstance(TSS_Type::PageTitle)
         , mnDestinationInstance(TSS_Type::PageTitle)
         , meShapeType(mso_sptMin)


More information about the Libreoffice-commits mailing list