diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-23 09:53:05 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-23 10:19:43 +0200 |
commit | 2f804099b7daa42aecb8fa445072a381671f3385 (patch) | |
tree | 782719392b4b8c35a186693baa872427978ba242 /framework/inc | |
parent | 5b79f5a4e5126a427c14c46e65b3a0b898024f60 (diff) |
loplugin:constantparam in framework
Change-Id: I7b7914365ef5d5c6f120f34c93f359c156aa6a02
Diffstat (limited to 'framework/inc')
-rw-r--r-- | framework/inc/classes/propertysethelper.hxx | 8 | ||||
-rw-r--r-- | framework/inc/classes/taskcreator.hxx | 3 | ||||
-rw-r--r-- | framework/inc/uielement/uielement.hxx | 5 |
3 files changed, 4 insertions, 12 deletions
diff --git a/framework/inc/classes/propertysethelper.hxx b/framework/inc/classes/propertysethelper.hxx index f843e98e5d15..e09c071d97f5 100644 --- a/framework/inc/classes/propertysethelper.hxx +++ b/framework/inc/classes/propertysethelper.hxx @@ -60,8 +60,6 @@ class FWI_DLLPUBLIC PropertySetHelper : public css::beans::XPropertySet ListenerHash m_lSimpleChangeListener; ListenerHash m_lVetoChangeListener; - bool m_bReleaseLockOnCall; - // hold it weak ... otherwise this helper has to be "killed" explicitly .-) css::uno::WeakReference< css::uno::XInterface > m_xBroadcaster; @@ -76,13 +74,9 @@ class FWI_DLLPUBLIC PropertySetHelper : public css::beans::XPropertySet * this helper must be used as a baseclass ... * but then it should synchronize its own calls * with the same transaction manager then it's superclass. - * - * @param bReleaseLockOnCall - * see member m_bReleaseLockOnCall */ PropertySetHelper( osl::Mutex & mutex, - TransactionManager* pExternalTransactionManager , - bool bReleaseLockOnCall ); + TransactionManager* pExternalTransactionManager); /** free all needed memory. */ diff --git a/framework/inc/classes/taskcreator.hxx b/framework/inc/classes/taskcreator.hxx index 57ca35896057..295fb21667c2 100644 --- a/framework/inc/classes/taskcreator.hxx +++ b/framework/inc/classes/taskcreator.hxx @@ -53,8 +53,7 @@ class TaskCreator TaskCreator( const css::uno::Reference< css::uno::XComponentContext >& xContext ); virtual ~TaskCreator( ); - css::uno::Reference< css::frame::XFrame > createTask( const OUString& sName , - bool bVisible ); + css::uno::Reference< css::frame::XFrame > createTask( const OUString& sName ); // helper private: diff --git a/framework/inc/uielement/uielement.hxx b/framework/inc/uielement/uielement.hxx index aa94bea415b6..177c99c19724 100644 --- a/framework/inc/uielement/uielement.hxx +++ b/framework/inc/uielement/uielement.hxx @@ -72,12 +72,11 @@ struct UIElement UIElement( const OUString& rName, const OUString& rType, - const css::uno::Reference< css::ui::XUIElement >& rUIElement, - bool bFloating = false + const css::uno::Reference< css::ui::XUIElement >& rUIElement ) : m_aType( rType ), m_aName( rName ), m_xUIElement( rUIElement ), - m_bFloating( bFloating ), + m_bFloating( false ), m_bVisible( true ), m_bUserActive( false ), m_bCreateNewRowCol0( false ), |