diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-31 15:12:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-01 08:54:41 +0200 |
commit | 1875b3d9f2a3873b592d5d207a46a6771649ca95 (patch) | |
tree | e05c86f77db9a70c4c9be5a710a32a1d6c5125ae /framework/source/fwe | |
parent | eb9d34dadbf78fd09ff39ba46d0e48c6ae9f9940 (diff) |
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.grandin@collabora.co.uk>
Diffstat (limited to 'framework/source/fwe')
8 files changed, 4 insertions, 20 deletions
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 ) |