accessibility/inc/extended/AccessibleBrowseBox.hxx        |    2 +-
 accessibility/inc/extended/textwindowaccessibility.hxx    |    2 +-
 accessibility/inc/helper/IComboListBoxHelper.hxx          |    2 +-
 accessibility/source/extended/textwindowaccessibility.cxx |    2 +-
 accessibility/source/standard/vclxaccessiblelist.cxx      |    2 +-
 accessibility/source/standard/vclxaccessibletoolbox.cxx   |    2 +-
 avmedia/source/viewer/mediawindow.cxx                     |    2 +-
 avmedia/source/viewer/mediawindow_impl.hxx                |    2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

New commits:
commit f5e3b7b0e46dad98dc147bc85fa78248f374e2a9
Author: Noel Grandin <n...@peralex.com>
Date:   Tue Aug 2 14:55:18 2016 +0200

    loplugin:countusersofdefaultparams in accessibility,avmedia
    
    Change-Id: Ic173f43c882384fe594e8ba3e44aedc3796a45f6
    Reviewed-on: https://gerrit.libreoffice.org/27792
    Reviewed-by: Noel Grandin <noelgran...@gmail.com>
    Tested-by: Noel Grandin <noelgran...@gmail.com>

diff --git a/accessibility/inc/extended/AccessibleBrowseBox.hxx 
b/accessibility/inc/extended/AccessibleBrowseBox.hxx
index 0b1d2fe..fe43d19 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 70fa94f..fbb7f9b 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 8d528be..bcb195b 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 5ddf1ca..4a5f0cb 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 b439dd1..42747d74 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 9efb926..126e4c1 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,
diff --git a/avmedia/source/viewer/mediawindow.cxx 
b/avmedia/source/viewer/mediawindow.cxx
index 110730c..a3d6bc7 100644
--- a/avmedia/source/viewer/mediawindow.cxx
+++ b/avmedia/source/viewer/mediawindow.cxx
@@ -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() )
                 {
diff --git a/avmedia/source/viewer/mediawindow_impl.hxx 
b/avmedia/source/viewer/mediawindow_impl.hxx
index ff649ae..43fba4e 100644
--- a/avmedia/source/viewer/mediawindow_impl.hxx
+++ b/avmedia/source/viewer/mediawindow_impl.hxx
@@ -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);
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to