summaryrefslogtreecommitdiff
path: root/accessibility/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-19 13:56:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-20 09:15:39 +0200
commit3b10ec87e383ce6ab14c0cede46ee98c13b11e61 (patch)
treec6bbdf92bc009b256c830a548bca1c4376034341 /accessibility/source
parent34e8f52d51cbf2010d1ea61c78757b38d8392f74 (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/source')
-rw-r--r--accessibility/source/extended/textwindowaccessibility.cxx8
-rw-r--r--accessibility/source/standard/vclxaccessiblelist.cxx2
-rw-r--r--accessibility/source/standard/vclxaccessibletoolbox.cxx2
3 files changed, 6 insertions, 6 deletions
diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx
index 306cf797ff21..d74ee64fcc5d 100644
--- a/accessibility/source/extended/textwindowaccessibility.cxx
+++ b/accessibility/source/extended/textwindowaccessibility.cxx
@@ -1121,7 +1121,7 @@ Document::retrieveRunAttributes(
return comphelper::mapValuesToSequence( aRunAttrSeq );
}
-void Document::changeParagraphText(Paragraph * pParagraph,
+void Document::changeParagraphText(Paragraph const * pParagraph,
OUString const & rText)
{
SolarMutexGuard aGuard;
@@ -1134,7 +1134,7 @@ void Document::changeParagraphText(Paragraph * pParagraph,
}
}
-void Document::changeParagraphText(Paragraph * pParagraph,
+void Document::changeParagraphText(Paragraph const * pParagraph,
::sal_Int32 nBegin, ::sal_Int32 nEnd,
bool bCut, bool bPaste,
OUString const & rText)
@@ -1179,7 +1179,7 @@ void Document::copyParagraphText(Paragraph const * pParagraph,
}
void Document::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)
{
SolarMutexGuard aGuard;
@@ -1211,7 +1211,7 @@ void Document::changeParagraphAttributes(
}
}
-void Document::changeParagraphSelection(Paragraph * pParagraph,
+void Document::changeParagraphSelection(Paragraph const * pParagraph,
::sal_Int32 nBegin, ::sal_Int32 nEnd)
{
SolarMutexGuard aGuard;
diff --git a/accessibility/source/standard/vclxaccessiblelist.cxx b/accessibility/source/standard/vclxaccessiblelist.cxx
index e7014650bf36..f5cb1602f0f3 100644
--- a/accessibility/source/standard/vclxaccessiblelist.cxx
+++ b/accessibility/source/standard/vclxaccessiblelist.cxx
@@ -289,7 +289,7 @@ void VCLXAccessibleList::UpdateSelection_Impl_Acc(bool bHasDropDownList)
}
}
-void VCLXAccessibleList::NotifyListItem(css::uno::Any& val)
+void VCLXAccessibleList::NotifyListItem(css::uno::Any const & val)
{
Reference< XAccessible > xCurItem;
val >>= xCurItem;
diff --git a/accessibility/source/standard/vclxaccessibletoolbox.cxx b/accessibility/source/standard/vclxaccessibletoolbox.cxx
index 680ee72e4de6..3bbd139ed9fb 100644
--- a/accessibility/source/standard/vclxaccessibletoolbox.cxx
+++ b/accessibility/source/standard/vclxaccessibletoolbox.cxx
@@ -303,7 +303,7 @@ void VCLXAccessibleToolBox::UpdateIndeterminate_Impl( ToolBox::ImplToolItems::si
}
}
-void VCLXAccessibleToolBox::implReleaseToolboxItem( ToolBoxItemsMap::iterator& _rMapPos,
+void VCLXAccessibleToolBox::implReleaseToolboxItem( ToolBoxItemsMap::iterator const & _rMapPos,
bool _bNotifyRemoval )
{
Reference< XAccessible > xItemAcc( _rMapPos->second );