diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-05 11:11:03 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-05 11:54:17 +0000 |
commit | b4e12269e813338afc895986fbc4f2703cedd016 (patch) | |
tree | 8809ce08d9199ba14ffc51cd28db0869f826e208 /forms | |
parent | dbe0b5aa9dc016498c623e76babcc486894d4235 (diff) |
loplugin:countusersofdefaultparams in editeng..fpicker
Change-Id: I6356c95296d81736fc6d66e510cd70606ee55f68
Reviewed-on: https://gerrit.libreoffice.org/27897
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/DatabaseForm.hxx | 6 | ||||
-rw-r--r-- | forms/source/richtext/richtextcontrol.cxx | 2 | ||||
-rw-r--r-- | forms/source/richtext/richtextimplcontrol.hxx | 2 | ||||
-rw-r--r-- | forms/source/richtext/richtextvclcontrol.hxx | 2 | ||||
-rw-r--r-- | forms/source/xforms/submission.hxx | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/forms/source/component/DatabaseForm.hxx b/forms/source/component/DatabaseForm.hxx index 48ae9b6888dc..b7b601495e52 100644 --- a/forms/source/component/DatabaseForm.hxx +++ b/forms/source/component/DatabaseForm.hxx @@ -443,10 +443,10 @@ protected: virtual void _propertyChanged( const css::beans::PropertyChangeEvent& ) throw(css::uno::RuntimeException) override; private: - bool executeRowSet(::osl::ResettableMutexGuard& _rClearForNotifies, bool bMoveToFirst = true, - const css::uno::Reference< css::task::XInteractionHandler >& _rxCompletionHandler = css::uno::Reference< css::task::XInteractionHandler >()); + bool executeRowSet(::osl::ResettableMutexGuard& _rClearForNotifies, bool bMoveToFirst, + const css::uno::Reference< css::task::XInteractionHandler >& _rxCompletionHandler); bool fillParameters(::osl::ResettableMutexGuard& _rClearForNotifies, - const css::uno::Reference< css::task::XInteractionHandler >& _rxCompletionHandler = css::uno::Reference< css::task::XInteractionHandler >()); + const css::uno::Reference< css::task::XInteractionHandler >& _rxCompletionHandler); void updateParameterInfo(); bool hasValidParent() const; diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx index 471df8e83ec0..2ce0db903d7f 100644 --- a/forms/source/richtext/richtextcontrol.cxx +++ b/forms/source/richtext/richtextcontrol.cxx @@ -86,7 +86,7 @@ namespace frm } - void implAdjustTwoStateFlag( const Any& _rValue, WinBits& _rAllBits, WinBits _nFlag, bool _bInvert = false ) + void implAdjustTwoStateFlag( const Any& _rValue, WinBits& _rAllBits, WinBits _nFlag, bool _bInvert ) { bool bFlagValue = false; if ( _rValue >>= bFlagValue ) diff --git a/forms/source/richtext/richtextimplcontrol.hxx b/forms/source/richtext/richtextimplcontrol.hxx index 761bd9b1b0fe..2afbe9710bba 100644 --- a/forms/source/richtext/richtextimplcontrol.hxx +++ b/forms/source/richtext/richtextimplcontrol.hxx @@ -85,7 +85,7 @@ namespace frm void updateAttribute( AttributeId _nAttribute ); /// enables the callback for a particular attribute - void enableAttributeNotification( AttributeId _nAttributeId, ITextAttributeListener* _pListener = nullptr ); + void enableAttributeNotification( AttributeId _nAttributeId, ITextAttributeListener* _pListener ); /// disables the change notifications for a particular attribute void disableAttributeNotification( AttributeId _nAttributeId ); diff --git a/forms/source/richtext/richtextvclcontrol.hxx b/forms/source/richtext/richtextvclcontrol.hxx index a1789d4043b4..7c4cdec1a310 100644 --- a/forms/source/richtext/richtextvclcontrol.hxx +++ b/forms/source/richtext/richtextvclcontrol.hxx @@ -67,7 +67,7 @@ namespace frm If you previously already enabled the notification for this attribute, and specified a different listener, then the previous listener will be replaced with the new listener, provided the latter is not <NULL/>. */ - void enableAttributeNotification( AttributeId _nAttributeId, ITextAttributeListener* _pListener = nullptr ); + void enableAttributeNotification( AttributeId _nAttributeId, ITextAttributeListener* _pListener ); /** disables the change notifications for a particular attribute diff --git a/forms/source/xforms/submission.hxx b/forms/source/xforms/submission.hxx index 51158aa92691..b847477298a5 100644 --- a/forms/source/xforms/submission.hxx +++ b/forms/source/xforms/submission.hxx @@ -88,7 +88,7 @@ private: // this will extract the document from the model that will be submitted css::uno::Reference< css::xml::dom::XDocumentFragment > createSubmissionDocument(const css::uno::Reference< css::xml::xpath::XXPathObject >& aObject, - bool bRemoveWSNodes = false); + bool bRemoveWSNodes); static css::uno::Reference< css::xml::dom::XDocument > getInstanceDocument(const css::uno::Reference< css::xml::xpath::XXPathObject >& aObject); |