diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-02 14:55:18 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-04 05:48:30 +0000 |
commit | f5e3b7b0e46dad98dc147bc85fa78248f374e2a9 (patch) | |
tree | 8efa1aa28aa007e82b10cae989f92e4fa3beac42 /accessibility | |
parent | tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor (diff) | |
download | core-f5e3b7b0e46dad98dc147bc85fa78248f374e2a9.tar.gz core-f5e3b7b0e46dad98dc147bc85fa78248f374e2a9.zip |
loplugin:countusersofdefaultparams in accessibility,avmedia
Change-Id: Ic173f43c882384fe594e8ba3e44aedc3796a45f6
Reviewed-on: https://gerrit.libreoffice.org/27792
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'accessibility')
6 files changed, 6 insertions, 6 deletions
diff --git a/accessibility/inc/extended/AccessibleBrowseBox.hxx b/accessibility/inc/extended/AccessibleBrowseBox.hxx index 0b1d2fe3e4d2..fe43d19ad2f0 100644 --- a/accessibility/inc/extended/AccessibleBrowseBox.hxx +++ b/accessibility/inc/extended/AccessibleBrowseBox.hxx @@ -109,7 +109,7 @@ public: */ void commitHeaderBarEvent(sal_Int16 nEventId, const css::uno::Any& rNewValue, - const css::uno::Any& rOldValue,bool _bColumnHeaderBar = true); + const css::uno::Any& rOldValue, bool _bColumnHeaderBar); // helper functions /** commitTableEvent commit the event at all listeners of the table diff --git a/accessibility/inc/extended/textwindowaccessibility.hxx b/accessibility/inc/extended/textwindowaccessibility.hxx index 70fa94f2cb88..fbb7f9b810a2 100644 --- a/accessibility/inc/extended/textwindowaccessibility.hxx +++ b/accessibility/inc/extended/textwindowaccessibility.hxx @@ -538,7 +538,7 @@ public: css::i18n::Boundary retrieveParagraphLineBoundary( Paragraph const * pParagraph, - ::sal_Int32 nIndex, ::sal_Int32 *pLineNo = nullptr); + ::sal_Int32 nIndex, ::sal_Int32 *pLineNo); css::i18n::Boundary retrieveParagraphBoundaryOfLine( Paragraph const * pParagraph, diff --git a/accessibility/inc/helper/IComboListBoxHelper.hxx b/accessibility/inc/helper/IComboListBoxHelper.hxx index 8d528be793db..bcb195b4c8a5 100644 --- a/accessibility/inc/helper/IComboListBoxHelper.hxx +++ b/accessibility/inc/helper/IComboListBoxHelper.hxx @@ -55,7 +55,7 @@ namespace accessibility virtual void SelectEntryPos( sal_Int32 nPos, bool bSelect = true ) = 0; virtual sal_Int32 GetSelectEntryCount() const = 0; virtual void SetNoSelection() = 0; - virtual sal_Int32 GetSelectEntryPos( sal_Int32 nSelIndex = 0 ) const = 0; + virtual sal_Int32 GetSelectEntryPos( sal_Int32 nSelIndex ) const = 0; virtual bool IsInDropDown() const = 0; virtual Rectangle GetEntryCharacterBounds( const sal_Int32 _nEntryPos, const sal_Int32 _nCharacterIndex ) const = 0; virtual long GetIndexForPoint( const Point& rPoint, sal_Int32 & nPos ) const = 0; diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx index 5ddf1cacfcc2..4a5f0cb0e5b0 100644 --- a/accessibility/source/extended/textwindowaccessibility.cxx +++ b/accessibility/source/extended/textwindowaccessibility.cxx @@ -725,7 +725,7 @@ void Paragraph::implGetLineBoundary( css::i18n::Boundary& rBoundary, if ( implIsValidIndex( nIndex, nLength ) || nIndex == nLength ) { css::i18n::Boundary aBoundary = - m_xDocument->retrieveParagraphLineBoundary( this, nIndex ); + m_xDocument->retrieveParagraphLineBoundary( this, nIndex, nullptr ); rBoundary.startPos = aBoundary.startPos; rBoundary.endPos = aBoundary.endPos; } diff --git a/accessibility/source/standard/vclxaccessiblelist.cxx b/accessibility/source/standard/vclxaccessiblelist.cxx index b439dd122fb6..42747d74cb3b 100644 --- a/accessibility/source/standard/vclxaccessiblelist.cxx +++ b/accessibility/source/standard/vclxaccessiblelist.cxx @@ -89,7 +89,7 @@ VCLXAccessibleList::VCLXAccessibleList (VCLXWindow* pVCLWindow, BoxType aBoxType UpdateVisibleLineCount(); if(m_pListBoxHelper) { - m_nCurSelectedPos=m_pListBoxHelper->GetSelectEntryPos(); + m_nCurSelectedPos=m_pListBoxHelper->GetSelectEntryPos(0); } sal_uInt16 nCount = static_cast<sal_uInt16>(getAccessibleChildCount()); m_aAccessibleChildren.reserve(nCount); diff --git a/accessibility/source/standard/vclxaccessibletoolbox.cxx b/accessibility/source/standard/vclxaccessibletoolbox.cxx index 9efb9266ae30..126e4c1758d3 100644 --- a/accessibility/source/standard/vclxaccessibletoolbox.cxx +++ b/accessibility/source/standard/vclxaccessibletoolbox.cxx @@ -89,7 +89,7 @@ namespace inline sal_Int32 getIndexInParent() const { return m_nIndexInParent; } inline void setIndexInParent( sal_Int32 _nNewIndex ) { m_nIndexInParent = _nNewIndex; } - static bool isWindowItem( const Reference< XAccessible >& _rxAcc, OToolBoxWindowItem** /* [out] */ _ppImplementation = nullptr ); + static bool isWindowItem( const Reference< XAccessible >& _rxAcc, OToolBoxWindowItem** /* [out] */ _ppImplementation ); public: OToolBoxWindowItem(sal_Int32 _nIndexInParent, |