Kaydet (Commit) f5e3b7b0 authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Noel Grandin

loplugin:countusersofdefaultparams in accessibility,avmedia

Change-Id: Ic173f43c882384fe594e8ba3e44aedc3796a45f6
Reviewed-on: https://gerrit.libreoffice.org/27792Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 7f01cf67
......@@ -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
......
......@@ -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,
......
......@@ -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;
......
......@@ -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;
}
......
......@@ -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);
......
......@@ -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,
......
......@@ -318,7 +318,7 @@ bool MediaWindow::isMediaURL( const OUString& rURL, const OUString& rReferer, bo
{
uno::Reference< media::XPlayer > xPlayer( priv::MediaWindowImpl::createPlayer(
aURL.GetMainURL( INetURLObject::DECODE_UNAMBIGUOUS ),
rReferer ) );
rReferer, nullptr ) );
if( xPlayer.is() )
{
......
......@@ -83,7 +83,7 @@ public:
virtual void dispose() override;
static css::uno::Reference<css::media::XPlayer> createPlayer(const OUString& rURL, const OUString& rReferer, const OUString* pMimeType = nullptr);
static css::uno::Reference<css::media::XPlayer> createPlayer(const OUString& rURL, const OUString& rReferer, const OUString* pMimeType);
void setURL(const OUString& rURL, OUString const& rTempURL, OUString const& rReferer);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment