diff options
41 files changed, 38 insertions, 122 deletions
diff --git a/test/source/screenshot_test.cxx b/test/source/screenshot_test.cxx index a79d53a0d87a..f8bd3c6d4068 100644 --- a/test/source/screenshot_test.cxx +++ b/test/source/screenshot_test.cxx @@ -43,8 +43,7 @@ using namespace css::uno; constexpr OUStringLiteral g_aScreenshotDirectory(u"screenshots"); ScreenshotTest::ScreenshotTest() - : maKnownDialogs() - , maParent(nullptr, "vcl/ui/screenshotparent.ui", "ScreenShot") + : maParent(nullptr, "vcl/ui/screenshotparent.ui", "ScreenShot") , mxParentWidget(maParent.getDialog()->weld_content_area()) { if (auto const env = getenv("LO_TEST_LOCALE")) { diff --git a/toolkit/source/awt/animatedimagespeer.cxx b/toolkit/source/awt/animatedimagespeer.cxx index 919bca9ba5df..d7ba97e24590 100644 --- a/toolkit/source/awt/animatedimagespeer.cxx +++ b/toolkit/source/awt/animatedimagespeer.cxx @@ -144,7 +144,6 @@ namespace toolkit AnimatedImagesPeer::AnimatedImagesPeer() - :AnimatedImagesPeer_Base() { } diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index 1292bcea88c0..b864ba6da517 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -194,7 +194,6 @@ VCLXWindowImpl::VCLXWindowImpl( VCLXWindow& _rAntiImpl, bool _bWithDefaultProps ,mbDrawingOntoParent( false ) ,mbEnableVisible(true) ,mbDirectVisible(true) - ,maListenerContainerMutex( ) ,maWindow2Listeners( maListenerContainerMutex ) ,maDockableWindowListeners( maListenerContainerMutex ) ,maEventListeners( _rAntiImpl ) diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index 6c786a5991ab..b26c8472dbd1 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -7815,7 +7815,6 @@ void SVTXNumericField::GetPropertyIds( std::vector< sal_uInt16 > &rIds ) } SVTXDateField::SVTXDateField() - :VCLXDateField() { } diff --git a/toolkit/source/controls/animatedimages.cxx b/toolkit/source/controls/animatedimages.cxx index 6743f08f8fec..e70fd1ec0cc8 100644 --- a/toolkit/source/controls/animatedimages.cxx +++ b/toolkit/source/controls/animatedimages.cxx @@ -81,7 +81,6 @@ public: }; AnimatedImagesControl::AnimatedImagesControl() - :AnimatedImagesControl_Base() { } diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx index 2731423fdf5e..c99c74dfb6c1 100644 --- a/toolkit/source/controls/controlmodelcontainerbase.cxx +++ b/toolkit/source/controls/controlmodelcontainerbase.cxx @@ -1045,7 +1045,6 @@ void ControlModelContainerBase::stopControlListening( const Reference< XControlM ResourceListener::ResourceListener( const Reference< util::XModifyListener >& rListener ) : - OWeakObject(), m_xListener( rListener ), m_bListening( false ) { @@ -1256,8 +1255,7 @@ void SAL_CALL ResourceListener::disposing( ControlContainerBase::ControlContainerBase( const Reference< XComponentContext >& rxContext ) - :ControlContainer_IBase() - ,m_xContext(rxContext) + :m_xContext(rxContext) ,mbSizeModified(false) ,mbPosModified(false) { diff --git a/toolkit/source/controls/formattedcontrol.cxx b/toolkit/source/controls/formattedcontrol.cxx index 2a24c23c53b7..23a35e4a2c0b 100644 --- a/toolkit/source/controls/formattedcontrol.cxx +++ b/toolkit/source/controls/formattedcontrol.cxx @@ -412,7 +412,6 @@ namespace toolkit UnoFormattedFieldControl::UnoFormattedFieldControl() - :UnoSpinFieldControl() { } diff --git a/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx b/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx index 90ecc7576b49..5815810cebca 100644 --- a/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx +++ b/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx @@ -95,7 +95,6 @@ private: DefaultGridColumnModel::DefaultGridColumnModel() :DefaultGridColumnModel_Base( m_aMutex ) ,m_aContainerListeners( m_aMutex ) - ,m_aColumns() { } @@ -103,7 +102,6 @@ private: :cppu::BaseMutex() ,DefaultGridColumnModel_Base( m_aMutex ) ,m_aContainerListeners( m_aMutex ) - ,m_aColumns() { Columns aColumns; aColumns.reserve( i_copySource.m_aColumns.size() ); diff --git a/toolkit/source/controls/grid/defaultgriddatamodel.cxx b/toolkit/source/controls/grid/defaultgriddatamodel.cxx index f6c1beb9f14a..2e5f4e305d29 100644 --- a/toolkit/source/controls/grid/defaultgriddatamodel.cxx +++ b/toolkit/source/controls/grid/defaultgriddatamodel.cxx @@ -111,7 +111,6 @@ private: DefaultGridDataModel::DefaultGridDataModel() :DefaultGridDataModel_Base( m_aMutex ) - ,m_aRowHeaders() ,m_nColumnCount(0) { } diff --git a/toolkit/source/controls/grid/gridcolumn.cxx b/toolkit/source/controls/grid/gridcolumn.cxx index 9fe4719abd94..1952c1faa31d 100644 --- a/toolkit/source/controls/grid/gridcolumn.cxx +++ b/toolkit/source/controls/grid/gridcolumn.cxx @@ -41,7 +41,6 @@ namespace toolkit GridColumn::GridColumn() :GridColumn_Base( m_aMutex ) - ,m_aIdentifier() ,m_nIndex(-1) ,m_nDataColumnIndex(-1) ,m_nColumnWidth(4) diff --git a/toolkit/source/controls/grid/gridcontrol.cxx b/toolkit/source/controls/grid/gridcontrol.cxx index 4301415d1263..54504c91e13f 100644 --- a/toolkit/source/controls/grid/gridcontrol.cxx +++ b/toolkit/source/controls/grid/gridcontrol.cxx @@ -266,8 +266,7 @@ Reference< XPropertySetInfo > UnoGridModel::getPropertySetInfo( ) //= UnoGridControl UnoGridControl::UnoGridControl() - :UnoGridControl_Base() - ,m_aSelectionListeners( *this ) + :m_aSelectionListeners( *this ) ,m_pEventForwarder( new toolkit::GridEventForwarder( *this ) ) { } diff --git a/toolkit/source/controls/roadmapcontrol.cxx b/toolkit/source/controls/roadmapcontrol.cxx index 64c1e25dc9d8..4d2e2a1d152a 100644 --- a/toolkit/source/controls/roadmapcontrol.cxx +++ b/toolkit/source/controls/roadmapcontrol.cxx @@ -357,8 +357,7 @@ static void lcl_throwIndexOutOfBoundsException( ) UnoRoadmapControl::UnoRoadmapControl() - :UnoControlRoadmap_Base() - ,maItemListeners( *this ) + :maItemListeners( *this ) { } diff --git a/toolkit/source/controls/roadmapentry.cxx b/toolkit/source/controls/roadmapentry.cxx index b7d12820238f..3de60f7071a2 100644 --- a/toolkit/source/controls/roadmapentry.cxx +++ b/toolkit/source/controls/roadmapentry.cxx @@ -23,8 +23,7 @@ #include <cppuhelper/supportsservice.hxx> -ORoadmapEntry::ORoadmapEntry() : ORoadmapEntry_Base( ) - ,OPropertyContainer( GetBroadcastHelper() ) +ORoadmapEntry::ORoadmapEntry() : OPropertyContainer( GetBroadcastHelper() ) { // registerProperty or registerMayBeVoidProperty or registerPropertyNoMember diff --git a/toolkit/source/controls/tkscrollbar.cxx b/toolkit/source/controls/tkscrollbar.cxx index f3c6ac33cb35..77a26096cedb 100644 --- a/toolkit/source/controls/tkscrollbar.cxx +++ b/toolkit/source/controls/tkscrollbar.cxx @@ -98,8 +98,7 @@ namespace toolkit //= UnoControlScrollBarModel UnoScrollBarControl::UnoScrollBarControl() - :UnoControlBase() - ,maAdjustmentListeners( *this ) + :maAdjustmentListeners( *this ) { } diff --git a/toolkit/source/controls/tkspinbutton.cxx b/toolkit/source/controls/tkspinbutton.cxx index f6716ae0b6a6..63e9171f3a8c 100644 --- a/toolkit/source/controls/tkspinbutton.cxx +++ b/toolkit/source/controls/tkspinbutton.cxx @@ -196,8 +196,7 @@ public: UnoSpinButtonControl::UnoSpinButtonControl() - :UnoControlBase() - ,maAdjustmentListeners( *this ) + :maAdjustmentListeners( *this ) { } diff --git a/toolkit/source/controls/tree/treecontrol.cxx b/toolkit/source/controls/tree/treecontrol.cxx index 81df5825804c..34cfb95acdb4 100644 --- a/toolkit/source/controls/tree/treecontrol.cxx +++ b/toolkit/source/controls/tree/treecontrol.cxx @@ -181,8 +181,7 @@ private: }; UnoTreeControl::UnoTreeControl() -: UnoTreeControl_Base() -, maSelectionListeners( *this ) +: maSelectionListeners( *this ) , maTreeExpansionListeners( *this ) , maTreeEditListeners( *this ) { diff --git a/toolkit/source/controls/tree/treecontrolpeer.cxx b/toolkit/source/controls/tree/treecontrolpeer.cxx index 1f7a22a5217e..69f994e666e7 100644 --- a/toolkit/source/controls/tree/treecontrolpeer.cxx +++ b/toolkit/source/controls/tree/treecontrolpeer.cxx @@ -1564,8 +1564,7 @@ void UnoTreeListItem::InitViewData( SvTreeListBox* pView,SvTreeListEntry* pEntry UnoTreeListEntry::UnoTreeListEntry( const Reference< XTreeNode >& xNode, TreeControlPeer* pPeer ) -: SvTreeListEntry() -, mxNode( xNode ) +: mxNode( xNode ) , mpPeer( pPeer ) { if( mpPeer ) diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx index 841c9e869773..0546801f2146 100644 --- a/toolkit/source/controls/unocontrol.cxx +++ b/toolkit/source/controls/unocontrol.cxx @@ -125,8 +125,7 @@ struct UnoControl_Data bool bLocalizationSupport; UnoControl_Data() - :aSuspendedPropertyNotifications() - ,bLocalizationSupport( false ) + :bLocalizationSupport( false ) { } }; diff --git a/toolkit/source/controls/unocontrolcontainer.cxx b/toolkit/source/controls/unocontrolcontainer.cxx index b1d0454fc492..e9a146e32087 100644 --- a/toolkit/source/controls/unocontrolcontainer.cxx +++ b/toolkit/source/controls/unocontrolcontainer.cxx @@ -363,15 +363,13 @@ void SAL_CALL DialogStepChangedListener::propertyChange( const beans::PropertyC UnoControlContainer::UnoControlContainer() - :UnoControlContainer_Base() - ,maCListeners( *this ) + :maCListeners( *this ) { mpControls.reset(new UnoControlHolderList); } UnoControlContainer::UnoControlContainer(const uno::Reference< awt::XWindowPeer >& xP ) - :UnoControlContainer_Base() - ,maCListeners( *this ) + :maCListeners( *this ) { setPeer( xP ); mbDisposePeer = false; diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx index 8adb0f7a2f3a..44ff22c53efe 100644 --- a/toolkit/source/controls/unocontrolmodel.cxx +++ b/toolkit/source/controls/unocontrolmodel.cxx @@ -110,7 +110,6 @@ static void lcl_ImplMergeFontProperty( FontDescriptor& rFD, sal_uInt16 nPropId, UnoControlModel::UnoControlModel( const Reference< XComponentContext >& rxContext ) :UnoControlModel_Base() - ,MutexAndBroadcastHelper() ,OPropertySetHelper( BrdcstHelper ) ,maDisposeListeners( *this ) ,m_xContext( rxContext ) @@ -121,7 +120,6 @@ UnoControlModel::UnoControlModel( const Reference< XComponentContext >& rxContex UnoControlModel::UnoControlModel( const UnoControlModel& rModel ) : UnoControlModel_Base() - , MutexAndBroadcastHelper() , OPropertySetHelper( BrdcstHelper ) , maData( rModel.maData ) , maDisposeListeners( *this ) diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx index 91f9af3e8ea5..3cb577d85392 100644 --- a/toolkit/source/controls/unocontrols.cxx +++ b/toolkit/source/controls/unocontrols.cxx @@ -154,8 +154,7 @@ stardiv_Toolkit_UnoControlEditModel_get_implementation( UnoEditControl::UnoEditControl() - :UnoControlBase() - ,maTextListeners( *this ) + :maTextListeners( *this ) ,mnMaxTextLen( 0 ) ,mbSetTextInPeer( false ) ,mbSetMaxTextLenInPeer( false ) @@ -544,7 +543,6 @@ stardiv_Toolkit_UnoControlFileControlModel_get_implementation( UnoFileControl::UnoFileControl() - :UnoEditControl() { } @@ -715,8 +713,7 @@ stardiv_Toolkit_UnoControlButtonModel_get_implementation( UnoButtonControl::UnoButtonControl() - :UnoButtonControl_Base() - ,maActionListeners( *this ) + :maActionListeners( *this ) ,maItemListeners( *this ) { maComponentInfos.nWidth = 50; @@ -970,8 +967,7 @@ stardiv_Toolkit_UnoControlImageControlModel_get_implementation( UnoImageControlControl::UnoImageControlControl() - :UnoImageControlControl_Base() - ,maActionListeners( *this ) + :maActionListeners( *this ) { // TODO: Where should I look for defaults? maComponentInfos.nWidth = 100; @@ -1098,8 +1094,7 @@ stardiv_Toolkit_UnoControlRadioButtonModel_get_implementation( UnoRadioButtonControl::UnoRadioButtonControl() - :UnoRadioButtonControl_Base() - ,maItemListeners( *this ) + :maItemListeners( *this ) ,maActionListeners( *this ) { maComponentInfos.nWidth = 100; @@ -1331,8 +1326,7 @@ stardiv_Toolkit_UnoControlCheckBoxModel_get_implementation( UnoCheckBoxControl::UnoCheckBoxControl() - :UnoCheckBoxControl_Base() - ,maItemListeners( *this ), maActionListeners( *this ) + :maItemListeners( *this ), maActionListeners( *this ) { maComponentInfos.nWidth = 100; maComponentInfos.nHeight = 12; @@ -1530,8 +1524,7 @@ stardiv_Toolkit_UnoControlFixedHyperlinkModel_get_implementation( UnoFixedHyperlinkControl::UnoFixedHyperlinkControl() - :UnoControlBase() - ,maActionListeners( *this ) + :maActionListeners( *this ) { maComponentInfos.nWidth = 100; maComponentInfos.nHeight = 12; @@ -1729,7 +1722,6 @@ stardiv_Toolkit_UnoControlFixedTextModel_get_implementation( UnoFixedTextControl::UnoFixedTextControl() - :UnoControlBase() { maComponentInfos.nWidth = 100; maComponentInfos.nHeight = 12; @@ -1894,7 +1886,6 @@ stardiv_Toolkit_UnoControlGroupBoxModel_get_implementation( UnoGroupBoxControl::UnoGroupBoxControl() - :UnoControlBase() { maComponentInfos.nWidth = 100; maComponentInfos.nHeight = 100; @@ -1941,16 +1932,11 @@ struct ListItem Any ItemData; ListItem() - :ItemText() - ,ItemImageURL() - ,ItemData() { } explicit ListItem( const OUString& i_rItemText ) :ItemText( i_rItemText ) - ,ItemImageURL() - ,ItemData() { } }; @@ -1976,7 +1962,6 @@ struct UnoControlListBoxModel_Data explicit UnoControlListBoxModel_Data( UnoControlListBoxModel& i_rAntiImpl ) :m_bSettingLegacyProperty( false ) ,m_rAntiImpl( i_rAntiImpl ) - ,m_aListItems() { } @@ -2486,8 +2471,7 @@ stardiv_Toolkit_UnoControlListBoxModel_get_implementation( UnoListBoxControl::UnoListBoxControl() - :UnoListBoxControl_Base() - ,maActionListeners( *this ) + :maActionListeners( *this ) ,maItemListeners( *this ) { maComponentInfos.nWidth = 100; @@ -2985,8 +2969,7 @@ stardiv_Toolkit_UnoControlComboBoxModel_get_implementation( UnoComboBoxControl::UnoComboBoxControl() - :UnoEditControl() - ,maActionListeners( *this ) + :maActionListeners( *this ) ,maItemListeners( *this ) { maComponentInfos.nWidth = 100; @@ -3299,8 +3282,7 @@ stardiv_Toolkit_UnoComboBoxControl_get_implementation( // UnoSpinFieldControl UnoSpinFieldControl::UnoSpinFieldControl() - :UnoEditControl() - ,maSpinListeners( *this ) + :maSpinListeners( *this ) { mbRepeat = false; } @@ -3453,7 +3435,6 @@ stardiv_Toolkit_UnoControlDateFieldModel_get_implementation( UnoDateFieldControl::UnoDateFieldControl() - :UnoSpinFieldControl() { mnFirst = util::Date( 1, 1, 1900 ); mnLast = util::Date( 31, 12, 2200 ); @@ -3722,7 +3703,6 @@ stardiv_Toolkit_UnoControlTimeFieldModel_get_implementation( UnoTimeFieldControl::UnoTimeFieldControl() - :UnoSpinFieldControl() { mnFirst = util::Time( 0, 0, 0, 0, false ); mnLast = util::Time( 999999999, 59, 59, 23, false ); @@ -3950,7 +3930,6 @@ stardiv_Toolkit_UnoControlNumericFieldModel_get_implementation( UnoNumericFieldControl::UnoNumericFieldControl() - :UnoSpinFieldControl() { mnFirst = 0; mnLast = 0x7FFFFFFF; @@ -4171,7 +4150,6 @@ stardiv_Toolkit_UnoControlCurrencyFieldModel_get_implementation( UnoCurrencyFieldControl::UnoCurrencyFieldControl() - :UnoSpinFieldControl() { mnFirst = 0; mnLast = 0x7FFFFFFF; @@ -4389,7 +4367,6 @@ stardiv_Toolkit_UnoControlPatternFieldModel_get_implementation( UnoPatternFieldControl::UnoPatternFieldControl() - :UnoSpinFieldControl() { } @@ -4566,7 +4543,6 @@ stardiv_Toolkit_UnoControlProgressBarModel_get_implementation( UnoProgressBarControl::UnoProgressBarControl() - :UnoControlBase() { } @@ -4725,7 +4701,6 @@ stardiv_Toolkit_UnoControlFixedLineModel_get_implementation( UnoFixedLineControl::UnoFixedLineControl() - :UnoControlBase() { maComponentInfos.nWidth = 100; // ?? maComponentInfos.nHeight = 100; // ?? diff --git a/toolkit/source/hatchwindow/hatchwindow.cxx b/toolkit/source/hatchwindow/hatchwindow.cxx index b6a5cc1aed92..510d1030b294 100644 --- a/toolkit/source/hatchwindow/hatchwindow.cxx +++ b/toolkit/source/hatchwindow/hatchwindow.cxx @@ -32,8 +32,7 @@ using namespace ::com::sun::star; VCLXHatchWindow::VCLXHatchWindow() -: VCLXWindow() -, pHatchWindow(nullptr) +: pHatchWindow(nullptr) { } diff --git a/tools/source/generic/b3dtrans.cxx b/tools/source/generic/b3dtrans.cxx index 623dc99c3c68..0215610956a8 100644 --- a/tools/source/generic/b3dtrans.cxx +++ b/tools/source/generic/b3dtrans.cxx @@ -351,8 +351,7 @@ basegfx::B3DPoint B3dTransformationSet::EyeToWorldCoor(const basegfx::B3DPoint& // B3dViewport ----------------------------------------------------------------- B3dViewport::B3dViewport() -: B3dTransformationSet(), - aVRP(0, 0, 0), +: aVRP(0, 0, 0), aVPN(0, 0, 1), aVUV(0, 1, 0) { @@ -390,8 +389,7 @@ void B3dViewport::CalcOrientation() B3dCamera::B3dCamera( const basegfx::B3DPoint& rPos, const basegfx::B3DVector& rLkAt, double fFocLen, double fBnkAng) -: B3dViewport(), - aPosition(rPos), +: aPosition(rPos), aLookAt(rLkAt), fFocalLength(fFocLen), fBankAngle(fBnkAng) diff --git a/tools/source/ref/globname.cxx b/tools/source/ref/globname.cxx index b4ce33f9a339..b38bda02ab9c 100644 --- a/tools/source/ref/globname.cxx +++ b/tools/source/ref/globname.cxx @@ -55,8 +55,7 @@ bool ImpSvGlobalName::operator == ( const ImpSvGlobalName & rObj ) const } // SvGlobalName ---------------------------------------------------------------- -SvGlobalName::SvGlobalName() : - pImp() +SvGlobalName::SvGlobalName() { } diff --git a/ucb/source/ucp/cmis/cmis_repo_content.cxx b/ucb/source/ucp/cmis/cmis_repo_content.cxx index 33ded7b33c76..fc5472bafce2 100644 --- a/ucb/source/ucp/cmis/cmis_repo_content.cxx +++ b/ucb/source/ucp/cmis/cmis_repo_content.cxx @@ -54,7 +54,6 @@ namespace cmis : ContentImplHelper( rxContext, pProvider, Identifier ), m_pProvider( pProvider ), m_aURL( Identifier->getContentIdentifier( ) ), - m_sRepositoryId( ), m_aRepositories( aRepos ) { // Split the URL into bits diff --git a/ucb/source/ucp/ext/ucpext_content.cxx b/ucb/source/ucp/ext/ucpext_content.cxx index b63d02dfd101..0209fa4fdffa 100644 --- a/ucb/source/ucp/ext/ucpext_content.cxx +++ b/ucb/source/ucp/ext/ucpext_content.cxx @@ -110,10 +110,6 @@ namespace ucb::ucp::ext const Reference< XContentIdentifier >& i_rIdentifier ) :Content_Base( rxContext, i_pProvider, i_rIdentifier ) ,m_eExtContentType( E_UNKNOWN ) - ,m_aIsFolder() - ,m_aContentType() - ,m_sExtensionId() - ,m_sPathIntoExtension() { const OUString sURL( getIdentifier()->getContentIdentifier() ); if ( denotesRootContent( sURL ) ) diff --git a/ucb/source/ucp/webdav-neon/DAVTypes.cxx b/ucb/source/ucp/webdav-neon/DAVTypes.cxx index c7c6ff356f7f..e39f5b2cf946 100644 --- a/ucb/source/ucp/webdav-neon/DAVTypes.cxx +++ b/ucb/source/ucp/webdav-neon/DAVTypes.cxx @@ -25,13 +25,9 @@ DAVOptions::DAVOptions() : m_isClass3( false ), m_isHeadAllowed( true ), m_isLocked( false ), - m_aAllowedMethods(), m_nStaleTime( 0 ), m_nRequestedTimeLife( 0 ), - m_sURL(), - m_sRedirectedURL(), - m_nHttpResponseStatusCode( 0 ), - m_sHttpResponseStatusText() + m_nHttpResponseStatusCode( 0 ) { } diff --git a/ucb/source/ucp/webdav-neon/PropfindCache.cxx b/ucb/source/ucp/webdav-neon/PropfindCache.cxx index 63cdff370c40..951f4a201790 100644 --- a/ucb/source/ucp/webdav-neon/PropfindCache.cxx +++ b/ucb/source/ucp/webdav-neon/PropfindCache.cxx @@ -16,16 +16,13 @@ namespace webdav_ucp // PropertyNames implementation PropertyNames::PropertyNames() : - m_nStaleTime( 0 ), - m_sURL(), - m_aPropertiesNames() + m_nStaleTime( 0 ) { } PropertyNames::PropertyNames( const OUString& rURL ) : m_nStaleTime( 0 ), - m_sURL( rURL ), - m_aPropertiesNames() + m_sURL( rURL ) { } diff --git a/unotools/source/config/bootstrap.cxx b/unotools/source/config/bootstrap.cxx index b11d4648383d..51d3625e4af0 100644 --- a/unotools/source/config/bootstrap.cxx +++ b/unotools/source/config/bootstrap.cxx @@ -75,8 +75,7 @@ public: // struct to cache the result of a path lookup PathStatus status; PathData() - : path() - , status(DATA_UNKNOWN) + : status(DATA_UNKNOWN) {} }; public: // data members diff --git a/unotools/source/misc/ZipPackageHelper.cxx b/unotools/source/misc/ZipPackageHelper.cxx index f543843890d2..75b8ead41189 100644 --- a/unotools/source/misc/ZipPackageHelper.cxx +++ b/unotools/source/misc/ZipPackageHelper.cxx @@ -55,10 +55,7 @@ using ::rtl::Uri; ZipPackageHelper::ZipPackageHelper( const Reference< XComponentContext >& rxContext, const OUString& sPackageURL) -: mxContext( rxContext ), - mxHNameAccess(), - mxFactory(), - mxRootFolder() +: mxContext( rxContext ) { // create the package zip file Sequence< Any > aArguments( 2 ); diff --git a/unotools/source/misc/mediadescriptor.cxx b/unotools/source/misc/mediadescriptor.cxx index f207faa3468b..a4d9b74a2ec7 100644 --- a/unotools/source/misc/mediadescriptor.cxx +++ b/unotools/source/misc/mediadescriptor.cxx @@ -331,7 +331,6 @@ const OUString& MediaDescriptor::PROP_SUGGESTEDSAVEASNAME() } MediaDescriptor::MediaDescriptor() - : SequenceAsHashMap() { } diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx index 7394f106bd4f..da0118a6d60d 100644 --- a/unotools/source/ucbhelper/ucblockbytes.cxx +++ b/unotools/source/ucbhelper/ucblockbytes.cxx @@ -419,16 +419,11 @@ Moderator::Moderator( Reference < XInteractionHandler > const & xInteract, const Command& rArg ) - : m_aMutex(), - - m_aRes(m_aMutex,*this), + : m_aRes(m_aMutex,*this), m_aResultType(ResultType::NORESULT), m_nIOErrorCode(IOErrorCode_ABORT), - m_aResult(), - m_aRep(m_aMutex,*this), m_aReplyType(NOREPLY), - m_aArg(rArg), m_aContent( xContent, diff --git a/unoxml/source/dom/document.cxx b/unoxml/source/dom/document.cxx index 27db21ebe09b..49c524b5ee99 100644 --- a/unoxml/source/dom/document.cxx +++ b/unoxml/source/dom/document.cxx @@ -87,7 +87,6 @@ namespace DOM : CDocument_Base(*this, m_Mutex, NodeType_DOCUMENT_NODE, reinterpret_cast<xmlNodePtr>(pDoc)) , m_aDocPtr(pDoc) - , m_streamListeners() , m_pEventDispatcher(new events::CEventDispatcher) { } diff --git a/unoxml/source/events/mouseevent.cxx b/unoxml/source/events/mouseevent.cxx index 8f276f0eae9a..ee22b8905c70 100644 --- a/unoxml/source/events/mouseevent.cxx +++ b/unoxml/source/events/mouseevent.cxx @@ -26,8 +26,7 @@ using namespace css::xml::dom::views; namespace DOM::events { CMouseEvent::CMouseEvent() - : CMouseEvent_Base() - , m_screenX(0) + : m_screenX(0) , m_screenY(0) , m_clientX(0) , m_clientY(0) diff --git a/unoxml/source/events/mutationevent.cxx b/unoxml/source/events/mutationevent.cxx index a81720c7c1e0..216c2b164022 100644 --- a/unoxml/source/events/mutationevent.cxx +++ b/unoxml/source/events/mutationevent.cxx @@ -26,8 +26,7 @@ using namespace css::xml::dom::events; namespace DOM::events { CMutationEvent::CMutationEvent() - : CMutationEvent_Base() - , m_attrChangeType(AttrChangeType_MODIFICATION) + : m_attrChangeType(AttrChangeType_MODIFICATION) { } diff --git a/unoxml/source/events/uievent.cxx b/unoxml/source/events/uievent.cxx index faa15113b824..6d4092fc6b24 100644 --- a/unoxml/source/events/uievent.cxx +++ b/unoxml/source/events/uievent.cxx @@ -26,8 +26,7 @@ using namespace css::xml::dom::views; namespace DOM::events { CUIEvent::CUIEvent() - : CUIEvent_Base() - , m_detail(0) + : m_detail(0) { } diff --git a/unoxml/source/rdf/CBlankNode.cxx b/unoxml/source/rdf/CBlankNode.cxx index 368102e511ab..6e0140cc90fa 100644 --- a/unoxml/source/rdf/CBlankNode.cxx +++ b/unoxml/source/rdf/CBlankNode.cxx @@ -57,8 +57,7 @@ private: OUString m_NodeID; }; -CBlankNode::CBlankNode() : - m_NodeID() +CBlankNode::CBlankNode() {} // com.sun.star.uno.XServiceInfo: diff --git a/unoxml/source/rdf/CLiteral.cxx b/unoxml/source/rdf/CLiteral.cxx index ac0eadcd6985..b1c756883e5e 100644 --- a/unoxml/source/rdf/CLiteral.cxx +++ b/unoxml/source/rdf/CLiteral.cxx @@ -64,8 +64,7 @@ private: css::uno::Reference< css::rdf::XURI > m_xDatatype; }; -CLiteral::CLiteral() : - m_Value(), m_Language(), m_xDatatype() +CLiteral::CLiteral() {} // com.sun.star.uno.XServiceInfo: diff --git a/unoxml/source/rdf/CURI.cxx b/unoxml/source/rdf/CURI.cxx index 9a5a5b677831..488aa3e90798 100644 --- a/unoxml/source/rdf/CURI.cxx +++ b/unoxml/source/rdf/CURI.cxx @@ -66,8 +66,7 @@ private: OUString m_LocalName; }; -CURI::CURI() : - m_Namespace(), m_LocalName() +CURI::CURI() {} // com.sun.star.uno.XServiceInfo: diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx index b3854d65a267..f9e918aff168 100644 --- a/unoxml/source/rdf/librdf_repository.cxx +++ b/unoxml/source/rdf/librdf_repository.cxx @@ -878,7 +878,6 @@ librdf_Repository::librdf_Repository( // m_pWorld (static_cast<librdf_world *>(0), safe_librdf_free_world ), , m_pStorage(static_cast<librdf_storage*>(nullptr), safe_librdf_free_storage) , m_pModel (static_cast<librdf_model *>(nullptr), safe_librdf_free_model ) - , m_NamedGraphs() , m_TypeConverter(i_xContext, *this) { OSL_ENSURE(i_xContext.is(), "librdf_Repository: null context"); diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx index 2c6465c9e0ff..1fb003796682 100644 --- a/uui/source/iahndl.cxx +++ b/uui/source/iahndl.cxx @@ -109,8 +109,7 @@ class HandleData : public osl::Condition public: explicit HandleData( uno::Reference< task::XInteractionRequest > const & rRequest) - : osl::Condition(), - m_rRequest(rRequest), + : m_rRequest(rRequest), bHandled( false ) { } |