summaryrefslogtreecommitdiff
path: root/accessibility/inc/accessibility
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-08 16:40:23 +0200
committerNoel Grandin <noel@peralex.com>2016-03-09 10:07:47 +0200
commit978cfb856b013580921dc2c262565438692d4221 (patch)
tree88b41984a37043f16fa48a44bba0c13d1712f588 /accessibility/inc/accessibility
parent5c1c8f53d7f6fa5eeaac7fca75bafad9154e1be5 (diff)
loplugin:constantparam in accessibility
Change-Id: I65f2f39c6bd5c222d7d8a21748ad02c521b7377d
Diffstat (limited to 'accessibility/inc/accessibility')
-rw-r--r--accessibility/inc/accessibility/helper/IComboListBoxHelper.hxx2
-rw-r--r--accessibility/inc/accessibility/helper/listboxhelper.hxx4
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessibletoolboxitem.hxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/accessibility/inc/accessibility/helper/IComboListBoxHelper.hxx b/accessibility/inc/accessibility/helper/IComboListBoxHelper.hxx
index 237a72d1b2dc..7777e920b72a 100644
--- a/accessibility/inc/accessibility/helper/IComboListBoxHelper.hxx
+++ b/accessibility/inc/accessibility/helper/IComboListBoxHelper.hxx
@@ -41,7 +41,7 @@ namespace accessibility
virtual OUString GetEntry( sal_Int32 nPos ) const = 0;
virtual Rectangle GetDropDownPosSizePixel( ) const = 0;
virtual Rectangle GetBoundingRectangle( sal_uInt16 nItem ) const = 0;
- virtual Rectangle GetWindowExtentsRelative( vcl::Window* pRelativeWindow ) = 0;
+ virtual Rectangle GetWindowExtentsRelative() = 0;
virtual bool IsEnabled() const = 0;
virtual bool IsEntryVisible( sal_Int32 nPos ) const = 0;
virtual sal_uInt16 GetDisplayLineCount() const = 0;
diff --git a/accessibility/inc/accessibility/helper/listboxhelper.hxx b/accessibility/inc/accessibility/helper/listboxhelper.hxx
index eafbbbb9bf79..1dec33d21134 100644
--- a/accessibility/inc/accessibility/helper/listboxhelper.hxx
+++ b/accessibility/inc/accessibility/helper/listboxhelper.hxx
@@ -76,9 +76,9 @@ public:
return aRect;
}
- virtual Rectangle GetWindowExtentsRelative( vcl::Window* pRelativeWindow ) override
+ virtual Rectangle GetWindowExtentsRelative() override
{
- return m_aComboListBox.GetWindowExtentsRelative( pRelativeWindow );
+ return m_aComboListBox.GetWindowExtentsRelative( nullptr );
}
virtual bool IsEnabled() const override
diff --git a/accessibility/inc/accessibility/standard/vclxaccessibletoolboxitem.hxx b/accessibility/inc/accessibility/standard/vclxaccessibletoolboxitem.hxx
index 105a76e55e84..a5cda263d93f 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessibletoolboxitem.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessibletoolboxitem.hxx
@@ -75,7 +75,7 @@ protected:
virtual css::lang::Locale implGetLocale() override;
virtual void implGetSelection( sal_Int32& nStartIndex, sal_Int32& nEndIndex ) override;
- OUString GetText( bool _bAsName );
+ OUString GetText();
public:
VCLXAccessibleToolBoxItem( ToolBox* _pToolBox, sal_Int32 _nPos );