diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-19 13:56:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-20 09:15:39 +0200 |
commit | 3b10ec87e383ce6ab14c0cede46ee98c13b11e61 (patch) | |
tree | c6bbdf92bc009b256c830a548bca1c4376034341 /accessibility/inc | |
parent | 34e8f52d51cbf2010d1ea61c78757b38d8392f74 (diff) |
loplugin:constparams in accessibility
Change-Id: I9c168295dcd6d4400c0f7c0b30ec22bd018cf93b
Reviewed-on: https://gerrit.libreoffice.org/40203
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility/inc')
-rw-r--r-- | accessibility/inc/extended/textwindowaccessibility.hxx | 8 | ||||
-rw-r--r-- | accessibility/inc/standard/vclxaccessiblelist.hxx | 2 | ||||
-rw-r--r-- | accessibility/inc/standard/vclxaccessibletoolbox.hxx | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/accessibility/inc/extended/textwindowaccessibility.hxx b/accessibility/inc/extended/textwindowaccessibility.hxx index d30259c2a70d..b77173398a92 100644 --- a/accessibility/inc/extended/textwindowaccessibility.hxx +++ b/accessibility/inc/extended/textwindowaccessibility.hxx @@ -422,7 +422,7 @@ public: // within Paragraph's constructor (i.e., when the Paragraph's ref count is // still zero), pass a "Paragraph const &" instead of a // "::rtl::Reference< Paragraph > const &". - void changeParagraphText(Paragraph * pParagraph, + void changeParagraphText(Paragraph const * pParagraph, OUString const & rText); // Must be called only after init has been called. @@ -431,7 +431,7 @@ public: // still zero), pass a "Paragraph const &" instead of a // "::rtl::Reference< Paragraph > const &". // Throws css::lang::IndexOutOfBoundsException. - void changeParagraphText(Paragraph * pParagraph, ::sal_Int32 nBegin, + void changeParagraphText(Paragraph const * pParagraph, ::sal_Int32 nBegin, ::sal_Int32 nEnd, bool bCut, bool bPaste, OUString const & rText); @@ -451,7 +451,7 @@ public: // "::rtl::Reference< Paragraph > const &". // Throws css::lang::IndexOutOfBoundsException. void changeParagraphAttributes( - Paragraph * pParagraph, ::sal_Int32 nBegin, ::sal_Int32 nEnd, + Paragraph const * pParagraph, ::sal_Int32 nBegin, ::sal_Int32 nEnd, css::uno::Sequence< css::beans::PropertyValue > const & rAttributeSet); @@ -461,7 +461,7 @@ public: // still zero), pass a "Paragraph const &" instead of a // "::rtl::Reference< Paragraph > const &". // Throws css::lang::IndexOutOfBoundsException. - void changeParagraphSelection(Paragraph * pParagraph, + void changeParagraphSelection(Paragraph const * pParagraph, ::sal_Int32 nBegin, ::sal_Int32 nEnd); css::i18n::Boundary diff --git a/accessibility/inc/standard/vclxaccessiblelist.hxx b/accessibility/inc/standard/vclxaccessiblelist.hxx index 3d3533dcee1a..370ebc3e6be8 100644 --- a/accessibility/inc/standard/vclxaccessiblelist.hxx +++ b/accessibility/inc/standard/vclxaccessiblelist.hxx @@ -126,7 +126,7 @@ public: void UpdateSelection_Acc (const ::rtl::OUString& sTextOfSelectedItem, bool b_IsDropDownList); void UpdateSelection_Impl_Acc (bool b_IsDropDownList); - static void NotifyListItem(css::uno::Any& val); + static void NotifyListItem(css::uno::Any const & val); ::accessibility::IComboListBoxHelper* getListBoxHelper() { return m_pListBoxHelper.get(); } protected: BoxType m_aBoxType; diff --git a/accessibility/inc/standard/vclxaccessibletoolbox.hxx b/accessibility/inc/standard/vclxaccessibletoolbox.hxx index b84add919884..0088bb16d1fd 100644 --- a/accessibility/inc/standard/vclxaccessibletoolbox.hxx +++ b/accessibility/inc/standard/vclxaccessibletoolbox.hxx @@ -96,7 +96,7 @@ public: private: void implReleaseToolboxItem( - ToolBoxItemsMap::iterator& _rMapPos, + ToolBoxItemsMap::iterator const & _rMapPos, bool _bNotifyRemoval ); }; |