forms/source/component/ComboBox.cxx | 2 - forms/source/component/Filter.cxx | 3 -- forms/source/component/FormComponent.cxx | 4 --- forms/source/component/FormattedField.cxx | 3 -- forms/source/component/ImageControl.cxx | 2 - forms/source/component/ListBox.cxx | 2 - forms/source/component/cachedrowset.cxx | 4 --- forms/source/component/clickableimage.cxx | 1 forms/source/richtext/richtextcontrol.cxx | 1 forms/source/solar/component/navbarcontrol.cxx | 2 - forms/source/xforms/binding.cxx | 5 --- forms/source/xforms/boolexpression.cxx | 5 --- forms/source/xforms/computedexpression.cxx | 6 +--- forms/source/xforms/convert.cxx | 1 forms/source/xforms/model.cxx | 1 forms/source/xforms/pathexpression.cxx | 2 - forms/source/xforms/submission.cxx | 13 ---------- fpicker/source/office/PlacesListBox.cxx | 3 -- fpicker/source/office/contentenumeration.cxx | 1 framework/source/accelerators/presethandler.cxx | 3 -- framework/source/fwe/classes/actiontriggercontainer.cxx | 3 -- framework/source/fwe/classes/actiontriggerpropertyset.cxx | 1 framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx | 1 framework/source/fwe/classes/rootactiontriggercontainer.cxx | 3 -- framework/source/fwe/dispatch/interaction.cxx | 1 framework/source/fwe/helper/propertysetcontainer.cxx | 2 - framework/source/fwe/helper/titlehelper.cxx | 4 --- framework/source/fwe/helper/undomanagerhelper.cxx | 9 +----- framework/source/helper/titlebarupdate.cxx | 1 framework/source/interaction/quietinteraction.cxx | 1 framework/source/layoutmanager/layoutmanager.cxx | 4 +-- framework/source/services/ContextChangeEventMultiplexer.cxx | 3 -- framework/source/services/desktop.cxx | 11 -------- framework/source/services/frame.cxx | 7 ----- framework/source/services/pathsettings.cxx | 6 ---- framework/source/uielement/buttontoolbarcontroller.cxx | 1 framework/source/uielement/genericstatusbarcontroller.cxx | 1 framework/source/uifactory/uicontrollerfactory.cxx | 1 38 files changed, 17 insertions(+), 107 deletions(-)
New commits: commit 1875b3d9f2a3873b592d5d207a46a6771649ca95 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Tue Aug 31 15:12:18 2021 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Wed Sep 1 08:54:41 2021 +0200 clang-tidy:readability-redundant-member-init Change-Id: I67edbea77b12940ac807ccbadfd74b250902809d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121378 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/forms/source/component/ComboBox.cxx b/forms/source/component/ComboBox.cxx index 6ef66237a174..9b1bd9b9c7bd 100644 --- a/forms/source/component/ComboBox.cxx +++ b/forms/source/component/ComboBox.cxx @@ -112,7 +112,6 @@ OComboBoxModel::OComboBoxModel(const Reference<XComponentContext>& _rxFactory) // use the old control name for compatibility reasons ,OEntryListHelper( static_cast<OControlModel&>(*this) ) ,OErrorBroadcaster( OComponentHelper::rBHelper ) - ,m_aListRowSet() ,m_eListSourceType(ListSourceType_TABLE) ,m_bEmptyIsNull(true) { @@ -125,7 +124,6 @@ OComboBoxModel::OComboBoxModel( const OComboBoxModel* _pOriginal, const Referenc :OBoundControlModel( _pOriginal, _rxFactory ) ,OEntryListHelper( *_pOriginal, static_cast<OControlModel&>(*this) ) ,OErrorBroadcaster( OComponentHelper::rBHelper ) - ,m_aListRowSet() ,m_aListSource( _pOriginal->m_aListSource ) ,m_aDefaultText( _pOriginal->m_aDefaultText ) ,m_eListSourceType( _pOriginal->m_eListSourceType ) diff --git a/forms/source/component/Filter.cxx b/forms/source/component/Filter.cxx index 141e011ad792..0bf85648ddba 100644 --- a/forms/source/component/Filter.cxx +++ b/forms/source/component/Filter.cxx @@ -78,8 +78,7 @@ namespace frm using namespace ::connectivity; OFilterControl::OFilterControl( const Reference< XComponentContext >& _rxORB ) - :UnoControl() - ,m_aTextListeners( *this ) + :m_aTextListeners( *this ) ,m_xContext( _rxORB ) ,m_nControlClass( FormComponentType::TEXTFIELD ) ,m_bFilterList( false ) diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx index c71c02c1c34f..0f67f8433e95 100644 --- a/forms/source/component/FormComponent.cxx +++ b/forms/source/component/FormComponent.cxx @@ -1128,8 +1128,6 @@ OBoundControlModel::OBoundControlModel( const bool _bCommitable, const bool _bSupportExternalBinding, const bool _bSupportsValidation ) :OControlModel( _rxFactory, _rUnoControlModelTypeName, _rDefault, false ) ,OPropertyChangeListener( m_aMutex ) - ,m_xField() - ,m_xAmbientForm() ,m_nValuePropertyAggregateHandle( -1 ) ,m_nFieldType( DataType::OTHER ) ,m_bValuePropertyMayBeVoid( false ) @@ -1159,8 +1157,6 @@ OBoundControlModel::OBoundControlModel( const OBoundControlModel* _pOriginal, const Reference< XComponentContext>& _rxFactory ) :OControlModel( _pOriginal, _rxFactory, true, false ) ,OPropertyChangeListener( m_aMutex ) - ,m_xField() - ,m_xAmbientForm() ,m_nValuePropertyAggregateHandle( _pOriginal->m_nValuePropertyAggregateHandle ) ,m_nFieldType( DataType::OTHER ) ,m_bValuePropertyMayBeVoid( _pOriginal->m_bValuePropertyMayBeVoid ) diff --git a/forms/source/component/FormattedField.cxx b/forms/source/component/FormattedField.cxx index 00388525a63b..7bef964464e9 100644 --- a/forms/source/component/FormattedField.cxx +++ b/forms/source/component/FormattedField.cxx @@ -92,8 +92,7 @@ protected: WeakReference< XNumberFormatsSupplier > StandardFormatsSupplier::s_xDefaultFormatsSupplier; StandardFormatsSupplier::StandardFormatsSupplier(const Reference< XComponentContext > & _rxContext,LanguageType _eSysLanguage) - :SvNumberFormatsSupplierObj() - ,m_pMyPrivateFormatter(new SvNumberFormatter(_rxContext, _eSysLanguage)) + :m_pMyPrivateFormatter(new SvNumberFormatter(_rxContext, _eSysLanguage)) { SetNumberFormatter(m_pMyPrivateFormatter.get()); // #i29147# diff --git a/forms/source/component/ImageControl.cxx b/forms/source/component/ImageControl.cxx index f072f5929605..f51988ee4ca2 100644 --- a/forms/source/component/ImageControl.cxx +++ b/forms/source/component/ImageControl.cxx @@ -131,8 +131,6 @@ OImageControlModel::OImageControlModel(const Reference<XComponentContext>& _rxFa // use the old control name for compytibility reasons ,m_bExternalGraphic( true ) ,m_bReadOnly( false ) - ,m_sImageURL() - ,m_xGraphicObject() { m_nClassId = FormComponentType::IMAGECONTROL; initOwnValueProperty( PROPERTY_IMAGE_URL ); diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx index e998e701f57c..b58fb00cd8e9 100644 --- a/forms/source/component/ListBox.cxx +++ b/forms/source/component/ListBox.cxx @@ -148,7 +148,6 @@ namespace frm // use the old control name for compatibility reasons ,OEntryListHelper( static_cast<OControlModel&>(*this) ) ,OErrorBroadcaster( OComponentHelper::rBHelper ) - ,m_aListRowSet() ,m_nConvertedBoundValuesType(0) ,m_nNULLPos(-1) ,m_nBoundColumnType( DataType::SQLNULL ) @@ -167,7 +166,6 @@ namespace frm :OBoundControlModel( _pOriginal, _rxFactory ) ,OEntryListHelper( *_pOriginal, static_cast<OControlModel&>(*this) ) ,OErrorBroadcaster( OComponentHelper::rBHelper ) - ,m_aListRowSet() ,m_eListSourceType( _pOriginal->m_eListSourceType ) ,m_aBoundColumn( _pOriginal->m_aBoundColumn ) ,m_aListSourceValues( _pOriginal->m_aListSourceValues ) diff --git a/forms/source/component/cachedrowset.cxx b/forms/source/component/cachedrowset.cxx index f18246a4c177..77368f76cff2 100644 --- a/forms/source/component/cachedrowset.cxx +++ b/forms/source/component/cachedrowset.cxx @@ -57,9 +57,7 @@ namespace frm bool bStatementDirty; CachedRowSet_Data() - :sCommand() - ,bEscapeProcessing( false ) - ,xConnection() + :bEscapeProcessing( false ) ,bStatementDirty( true ) { } diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx index d04ffdf49ffd..8dd3489967f5 100644 --- a/forms/source/component/clickableimage.cxx +++ b/forms/source/component/clickableimage.cxx @@ -448,7 +448,6 @@ namespace frm const OUString& rDefault ) :OControlModel( _rxFactory, _rUnoControlModelTypeName, rDefault ) ,OPropertyChangeListener(m_aMutex) - ,m_xGraphicObject() ,m_bDispatchUrlInternal(false) ,m_bProdStarted(false) { diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx index 7aeb8410b568..e6416ca2d0da 100644 --- a/forms/source/richtext/richtextcontrol.cxx +++ b/forms/source/richtext/richtextcontrol.cxx @@ -53,7 +53,6 @@ namespace frm using namespace ::com::sun::star::frame; ORichTextControl::ORichTextControl() - :UnoEditControl() { } diff --git a/forms/source/solar/component/navbarcontrol.cxx b/forms/source/solar/component/navbarcontrol.cxx index 14e9c27ce74f..92d7ac4635cc 100644 --- a/forms/source/solar/component/navbarcontrol.cxx +++ b/forms/source/solar/component/navbarcontrol.cxx @@ -56,7 +56,7 @@ namespace frm } ONavigationBarControl::ONavigationBarControl( const Reference< XComponentContext >& _rxORB) - :UnoControl(), m_xContext(_rxORB) + : m_xContext(_rxORB) { } diff --git a/forms/source/xforms/binding.cxx b/forms/source/xforms/binding.cxx index 06a21384d8d6..adb66aba283c 100644 --- a/forms/source/xforms/binding.cxx +++ b/forms/source/xforms/binding.cxx @@ -112,16 +112,11 @@ using com::sun::star::xsd::XDataType; Binding::Binding() : - mxModel(), - msBindingID(), - maBindingExpression(), - maReadonly(), mxNamespaces( new NameContainer<OUString>() ), mbInCalculate( false ), mnDeferModifyNotifications( 0 ), mbValueModified( false ), mbBindingModified( false ) - { initializePropertySet(); } diff --git a/forms/source/xforms/boolexpression.cxx b/forms/source/xforms/boolexpression.cxx index 6b3f57564d66..af45c8c38fd8 100644 --- a/forms/source/xforms/boolexpression.cxx +++ b/forms/source/xforms/boolexpression.cxx @@ -27,10 +27,7 @@ namespace xforms * As this class has no virtual methods, it should never be used * polymorphically. */ -BoolExpression::BoolExpression() - : ComputedExpression() -{ -} +BoolExpression::BoolExpression() {} BoolExpression::~BoolExpression() {} diff --git a/forms/source/xforms/computedexpression.cxx b/forms/source/xforms/computedexpression.cxx index 633492335be5..add8d4350ac7 100644 --- a/forms/source/xforms/computedexpression.cxx +++ b/forms/source/xforms/computedexpression.cxx @@ -44,10 +44,8 @@ namespace xforms { ComputedExpression::ComputedExpression() - : msExpression(), - mbIsEmpty( true ), - mbIsSimple( true ), - mxResult() + : mbIsEmpty( true ), + mbIsSimple( true ) { } diff --git a/forms/source/xforms/convert.cxx b/forms/source/xforms/convert.cxx index d68018f47d22..332262fdb900 100644 --- a/forms/source/xforms/convert.cxx +++ b/forms/source/xforms/convert.cxx @@ -39,7 +39,6 @@ using namespace std; using namespace utl; Convert::Convert() - : maMap() { init(); } diff --git a/forms/source/xforms/model.cxx b/forms/source/xforms/model.cxx index b82b0fc9de80..6320ff732229 100644 --- a/forms/source/xforms/model.cxx +++ b/forms/source/xforms/model.cxx @@ -87,7 +87,6 @@ void Model::ensureAtLeastOneInstance() /** Model default constructor; create empty model */ Model::Model() : - msID(), mxInstances( new InstanceCollection ), mxNamespaces( new NameContainer<OUString>() ), mbInitialized( false ), diff --git a/forms/source/xforms/pathexpression.cxx b/forms/source/xforms/pathexpression.cxx index ea8fb8e63fd3..d7ffb6012eca 100644 --- a/forms/source/xforms/pathexpression.cxx +++ b/forms/source/xforms/pathexpression.cxx @@ -40,8 +40,6 @@ namespace xforms { PathExpression::PathExpression() - : ComputedExpression(), - maNodes() { } diff --git a/forms/source/xforms/submission.cxx b/forms/source/xforms/submission.cxx index 1acfe50e87d2..c8b28fc0c135 100644 --- a/forms/source/xforms/submission.cxx +++ b/forms/source/xforms/submission.cxx @@ -71,21 +71,10 @@ using namespace com::sun::star::lang; using namespace com::sun::star::xml::dom; Submission::Submission() : - msID(), - msBind(), - maRef(), - msAction(), - msMethod(), - msVersion(), mbIndent(), - msMediaType(), - msEncoding(), mbOmitXmlDeclaration(), mbStandalone(), - msCDataSectionElement(), - msReplace( "none" ), - msSeparator(), - msIncludeNamespacePrefixes() + msReplace( "none" ) { initializePropertySet(); } diff --git a/fpicker/source/office/PlacesListBox.cxx b/fpicker/source/office/PlacesListBox.cxx index 0ad9e0f4c88d..a7a90281bb11 100644 --- a/fpicker/source/office/PlacesListBox.cxx +++ b/fpicker/source/office/PlacesListBox.cxx @@ -16,8 +16,7 @@ PlacesListBox::PlacesListBox(std::unique_ptr<weld::TreeView> xControl, std::unique_ptr<weld::Button> xAdd, std::unique_ptr<weld::Button> xDel, SvtFileDialog* pFileDlg) - : maPlaces( ) - , mpDlg(pFileDlg) + : mpDlg(pFileDlg) , mxImpl(std::move(xControl)) , mxAddBtn(std::move(xAdd)) , mxDelBtn(std::move(xDel)) diff --git a/fpicker/source/office/contentenumeration.cxx b/fpicker/source/office/contentenumeration.cxx index 044e67e7bc43..b167fef3d190 100644 --- a/fpicker/source/office/contentenumeration.cxx +++ b/fpicker/source/office/contentenumeration.cxx @@ -81,7 +81,6 @@ namespace svt ,m_xCommandEnv ( _rxCommandEnv ) ,m_pResultHandler ( nullptr ) ,m_bCancelled ( false ) - ,m_rDenyList ( css::uno::Sequence< OUString >() ) { } diff --git a/framework/source/accelerators/presethandler.cxx b/framework/source/accelerators/presethandler.cxx index e4ae9251ab84..44a6131a2951 100644 --- a/framework/source/accelerators/presethandler.cxx +++ b/framework/source/accelerators/presethandler.cxx @@ -57,8 +57,6 @@ struct TSharedStorages final StorageHolder m_lStoragesUser; TSharedStorages() - : m_lStoragesShare() - , m_lStoragesUser () {}; }; @@ -73,7 +71,6 @@ struct SharedStorages: public rtl::Static<TSharedStorages, SharedStorages> {}; PresetHandler::PresetHandler(const css::uno::Reference< css::uno::XComponentContext >& xContext) : m_xContext(xContext) , m_eConfigType(E_GLOBAL) - , m_lDocumentStorages() { } diff --git a/framework/source/fwe/classes/actiontriggercontainer.cxx b/framework/source/fwe/classes/actiontriggercontainer.cxx index c21dbcbbd94d..e6675cf17c96 100644 --- a/framework/source/fwe/classes/actiontriggercontainer.cxx +++ b/framework/source/fwe/classes/actiontriggercontainer.cxx @@ -32,8 +32,7 @@ using namespace com::sun::star::container; namespace framework { -ActionTriggerContainer::ActionTriggerContainer() : - PropertySetContainer() +ActionTriggerContainer::ActionTriggerContainer() { } diff --git a/framework/source/fwe/classes/actiontriggerpropertyset.cxx b/framework/source/fwe/classes/actiontriggerpropertyset.cxx index 404e7f00a6bf..4592174df5ad 100644 --- a/framework/source/fwe/classes/actiontriggerpropertyset.cxx +++ b/framework/source/fwe/classes/actiontriggerpropertyset.cxx @@ -58,7 +58,6 @@ namespace framework ActionTriggerPropertySet::ActionTriggerPropertySet() : OBroadcastHelper ( m_aMutex ) , OPropertySetHelper ( *static_cast< OBroadcastHelper * >(this) ) - , OWeakObject () { } diff --git a/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx b/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx index 4d090384194c..104d765f5ca3 100644 --- a/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx +++ b/framework/source/fwe/classes/actiontriggerseparatorpropertyset.cxx @@ -52,7 +52,6 @@ namespace framework ActionTriggerSeparatorPropertySet::ActionTriggerSeparatorPropertySet() : OBroadcastHelper ( m_aMutex ) , OPropertySetHelper ( *static_cast< OBroadcastHelper * >(this) ) - , OWeakObject () , m_nSeparatorType( 0 ) { } diff --git a/framework/source/fwe/classes/rootactiontriggercontainer.cxx b/framework/source/fwe/classes/rootactiontriggercontainer.cxx index 8a59027aae1b..0732959d1a80 100644 --- a/framework/source/fwe/classes/rootactiontriggercontainer.cxx +++ b/framework/source/fwe/classes/rootactiontriggercontainer.cxx @@ -44,8 +44,7 @@ static Sequence< sal_Int8 > const & impl_getStaticIdentifier() } RootActionTriggerContainer::RootActionTriggerContainer( const Menu* pMenu, const OUString* pMenuIdentifier ) : - PropertySetContainer() - , m_bContainerCreated( false ) + m_bContainerCreated( false ) , m_pMenu( pMenu ) , m_pMenuIdentifier( pMenuIdentifier ) { diff --git a/framework/source/fwe/dispatch/interaction.cxx b/framework/source/fwe/dispatch/interaction.cxx index 19793e8f98b9..73be5153c37c 100644 --- a/framework/source/fwe/dispatch/interaction.cxx +++ b/framework/source/fwe/dispatch/interaction.cxx @@ -70,7 +70,6 @@ class ContinuationFilterSelect : public comphelper::OInteraction< css::document: // initialize continuation with right start values ContinuationFilterSelect::ContinuationFilterSelect() - : m_sFilter( OUString() ) { } diff --git a/framework/source/fwe/helper/propertysetcontainer.cxx b/framework/source/fwe/helper/propertysetcontainer.cxx index 9707b4fac4ae..ad7d639539b7 100644 --- a/framework/source/fwe/helper/propertysetcontainer.cxx +++ b/framework/source/fwe/helper/propertysetcontainer.cxx @@ -35,8 +35,6 @@ namespace framework { PropertySetContainer::PropertySetContainer() - : OWeakObject() - { } diff --git a/framework/source/fwe/helper/titlehelper.cxx b/framework/source/fwe/helper/titlehelper.cxx index 246032945512..a3854489d0f8 100644 --- a/framework/source/fwe/helper/titlehelper.cxx +++ b/framework/source/fwe/helper/titlehelper.cxx @@ -51,11 +51,7 @@ namespace framework{ TitleHelper::TitleHelper(const css::uno::Reference< css::uno::XComponentContext >& rxContext) : ::cppu::BaseMutex () , m_xContext (rxContext) - , m_xOwner () - , m_xUntitledNumbers() - , m_xSubTitle () , m_bExternalTitle (false) - , m_sTitle () , m_nLeasedNumber (css::frame::UntitledNumbersConst::INVALID_NUMBER) , m_aListener (m_aMutex) { diff --git a/framework/source/fwe/helper/undomanagerhelper.cxx b/framework/source/fwe/helper/undomanagerhelper.cxx index 33d1fade47c7..ef6a9da4a5b4 100644 --- a/framework/source/fwe/helper/undomanagerhelper.cxx +++ b/framework/source/fwe/helper/undomanagerhelper.cxx @@ -89,8 +89,7 @@ namespace framework } UndoActionWrapper::UndoActionWrapper( Reference< XUndoAction > const& i_undoAction ) - :SfxUndoAction() - ,m_xUndoAction( i_undoAction ) + : m_xUndoAction( i_undoAction ) { ENSURE_OR_THROW( m_xUndoAction.is(), "illegal undo action" ); } @@ -147,8 +146,6 @@ namespace framework public: explicit UndoManagerRequest( ::std::function<void ()> const& i_request ) :m_request( i_request ) - ,m_caughtException() - ,m_finishCondition() { m_finishCondition.reset(); } @@ -221,9 +218,7 @@ namespace framework public: explicit UndoManagerHelper_Impl( IUndoManagerImplementation& i_undoManagerImpl ) - :m_aMutex() - ,m_aQueueMutex() - ,m_bAPIActionRunning( false ) + :m_bAPIActionRunning( false ) ,m_bProcessingEvents( false ) ,m_nLockCount( 0 ) ,m_aUndoListeners( m_aMutex ) diff --git a/framework/source/helper/titlebarupdate.cxx b/framework/source/helper/titlebarupdate.cxx index 0ca094c6d5b0..d74439758def 100644 --- a/framework/source/helper/titlebarupdate.cxx +++ b/framework/source/helper/titlebarupdate.cxx @@ -43,7 +43,6 @@ const ::sal_Int32 DEFAULT_ICON_ID = 0; TitleBarUpdate::TitleBarUpdate(const css::uno::Reference< css::uno::XComponentContext >& xContext) : m_xContext (xContext ) - , m_xFrame ( ) { } diff --git a/framework/source/interaction/quietinteraction.cxx b/framework/source/interaction/quietinteraction.cxx index b6f3495fff09..e9dc218576e0 100644 --- a/framework/source/interaction/quietinteraction.cxx +++ b/framework/source/interaction/quietinteraction.cxx @@ -34,7 +34,6 @@ namespace framework{ QuietInteraction::QuietInteraction() - : m_aRequest ( ) { } diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx index 973ec6bbaf92..3b0de8bdca71 100644 --- a/framework/source/layoutmanager/layoutmanager.cxx +++ b/framework/source/layoutmanager/layoutmanager.cxx @@ -83,8 +83,8 @@ namespace framework IMPLEMENT_FORWARD_XTYPEPROVIDER2( LayoutManager, LayoutManager_Base, LayoutManager_PBase ) IMPLEMENT_FORWARD_XINTERFACE2( LayoutManager, LayoutManager_Base, LayoutManager_PBase ) -LayoutManager::LayoutManager( const Reference< XComponentContext >& xContext ) : LayoutManager_Base() - , ::cppu::OBroadcastHelperVar< ::cppu::OMultiTypeInterfaceContainerHelper, ::cppu::OMultiTypeInterfaceContainerHelper::keyType >(m_aMutex) +LayoutManager::LayoutManager( const Reference< XComponentContext >& xContext ) : + ::cppu::OBroadcastHelperVar< ::cppu::OMultiTypeInterfaceContainerHelper, ::cppu::OMultiTypeInterfaceContainerHelper::keyType >(m_aMutex) , LayoutManager_PBase( *static_cast< ::cppu::OBroadcastHelper* >(this) ) , m_xContext( xContext ) , m_xURLTransformer( URLTransformer::create(xContext) ) diff --git a/framework/source/services/ContextChangeEventMultiplexer.cxx b/framework/source/services/ContextChangeEventMultiplexer.cxx index 3e647985cb40..0dea0823c52b 100644 --- a/framework/source/services/ContextChangeEventMultiplexer.cxx +++ b/framework/source/services/ContextChangeEventMultiplexer.cxx @@ -106,8 +106,7 @@ public: }; ContextChangeEventMultiplexer::ContextChangeEventMultiplexer() - : ContextChangeEventMultiplexerInterfaceBase(m_aMutex), - maListeners() + : ContextChangeEventMultiplexerInterfaceBase(m_aMutex) { } diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx index 55af0d9c109a..c3d2c79ecdbe 100644 --- a/framework/source/services/desktop.cxx +++ b/framework/source/services/desktop.cxx @@ -147,20 +147,9 @@ Desktop::Desktop( const css::uno::Reference< css::uno::XComponentContext >& xCon , m_bIsShutdown(false) // see dispose() for further information! , m_bSession ( false ) , m_xContext ( xContext ) - , m_aChildTaskContainer ( ) , m_aListenerContainer ( m_aMutex ) - , m_xFramesHelper ( ) - , m_xDispatchHelper ( ) , m_eLoadState ( E_NOTSET ) , m_bSuspendQuickstartVeto( false ) - , m_sName ( ) - , m_sTitle ( ) - , m_xDispatchRecorderSupplier( ) - , m_xPipeTerminator ( ) - , m_xQuickLauncher ( ) - , m_xSWThreadManager ( ) - , m_xSfxTerminator ( ) - , m_xTitleNumberGenerator ( ) { } diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index 56a1a7b1e623..db26f59aec0b 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -456,21 +456,14 @@ XFrameImpl::XFrameImpl( const css::uno::Reference< css::uno::XComponentContext > // init member , m_xContext ( xContext ) , m_aListenerContainer ( m_aMutex ) - , m_xParent () - , m_xContainerWindow () - , m_xComponentWindow () - , m_xController () , m_eActiveState ( E_INACTIVE ) - , m_sName () , m_bIsFrameTop ( true ) // I think we are top without a parent ... and there is no parent yet! , m_bConnected ( false ) // There exist no component inside of use => sal_False, we are not connected! , m_nExternalLockCount ( 0 ) , m_bSelfClose ( false ) // Important! , m_bIsHidden ( true ) - , m_xTitleHelper () , 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 865028876400..2fedd2ac65fa 100644 --- a/framework/source/services/pathsettings.cxx +++ b/framework/source/services/pathsettings.cxx @@ -100,11 +100,7 @@ class PathSettings : private cppu::BaseMutex public: PathInfo() - : sPathName () - , lInternalPaths() - , lUserPaths () - , sWritePath () - , bIsSinglePath (false) + : bIsSinglePath (false) , bIsReadonly (false) {} diff --git a/framework/source/uielement/buttontoolbarcontroller.cxx b/framework/source/uielement/buttontoolbarcontroller.cxx index a3ccbc0cd38d..cfdcd23979db 100644 --- a/framework/source/uielement/buttontoolbarcontroller.cxx +++ b/framework/source/uielement/buttontoolbarcontroller.cxx @@ -45,7 +45,6 @@ ButtonToolbarController::ButtonToolbarController( const uno::Reference< uno::XComponentContext >& rxContext, ToolBox* pToolBar, const OUString& aCommand ) : - cppu::OWeakObject(), m_bInitialized( false ), m_bDisposed( false ), m_aCommandURL( aCommand ), diff --git a/framework/source/uielement/genericstatusbarcontroller.cxx b/framework/source/uielement/genericstatusbarcontroller.cxx index 59515ce1422b..68d0f20b7f16 100644 --- a/framework/source/uielement/genericstatusbarcontroller.cxx +++ b/framework/source/uielement/genericstatusbarcontroller.cxx @@ -47,7 +47,6 @@ GenericStatusbarController::GenericStatusbarController( , m_bEnabled( false ) , m_bOwnerDraw( false ) , m_pItemData( pItemData ) - , m_xGraphic() { m_xStatusbarItem = rxItem; if ( m_xStatusbarItem.is() ) diff --git a/framework/source/uifactory/uicontrollerfactory.cxx b/framework/source/uifactory/uicontrollerfactory.cxx index 0566a90c1db8..0c013c9eb59d 100644 --- a/framework/source/uifactory/uicontrollerfactory.cxx +++ b/framework/source/uifactory/uicontrollerfactory.cxx @@ -77,7 +77,6 @@ UIControllerFactory::UIControllerFactory( : UIControllerFactory_BASE(m_aMutex) , m_bConfigRead( false ) , m_xContext( xContext ) - , m_pConfigAccess() { m_pConfigAccess = new ConfigurationAccess_ControllerFactory(m_xContext, OUString::Concat("/org.openoffice.Office.UI.Controller/Registered/")