summaryrefslogtreecommitdiffstats
path: root/accessibility/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-02 14:55:18 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-04 05:48:30 +0000
commitf5e3b7b0e46dad98dc147bc85fa78248f374e2a9 (patch)
tree8efa1aa28aa007e82b10cae989f92e4fa3beac42 /accessibility/source
parenttdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor (diff)
downloadcore-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/source')
-rw-r--r--accessibility/source/extended/textwindowaccessibility.cxx2
-rw-r--r--accessibility/source/standard/vclxaccessiblelist.cxx2
-rw-r--r--accessibility/source/standard/vclxaccessibletoolbox.cxx2
3 files changed, 3 insertions, 3 deletions
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,