summaryrefslogtreecommitdiff
path: root/include/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-17 09:53:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-17 11:30:32 +0200
commitff8e463ab486ae863ab3a86ce957f01ed7f8af90 (patch)
treeedb0a69cea1e326fa457664c9594f3bf6735d470 /include/comphelper
parentdf1d2d9d732e54a9596722b75e5117ed36cdc664 (diff)
loplugin:constparams in comphelper,unoidl
Change-Id: I411d431bd6620c594c5dafd42af6c2a8ac285f3f Reviewed-on: https://gerrit.libreoffice.org/40042 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/comphelper')
-rw-r--r--include/comphelper/accessibletexthelper.hxx2
-rw-r--r--include/comphelper/storagehelper.hxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/include/comphelper/accessibletexthelper.hxx b/include/comphelper/accessibletexthelper.hxx
index 3b633716c2b3..5a9b07e0d7d1 100644
--- a/include/comphelper/accessibletexthelper.hxx
+++ b/include/comphelper/accessibletexthelper.hxx
@@ -50,7 +50,7 @@ namespace comphelper
css::uno::Reference < css::i18n::XBreakIterator > const & implGetBreakIterator();
css::uno::Reference < css::i18n::XCharacterClassification > const & implGetCharacterClassification();
- static bool implIsValidBoundary( css::i18n::Boundary& rBoundary, sal_Int32 nLength );
+ static bool implIsValidBoundary( css::i18n::Boundary const & rBoundary, sal_Int32 nLength );
static bool implIsValidIndex( sal_Int32 nIndex, sal_Int32 nLength );
static bool implIsValidRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex, sal_Int32 nLength );
virtual OUString implGetText() = 0;
diff --git a/include/comphelper/storagehelper.hxx b/include/comphelper/storagehelper.hxx
index 18b12178eb29..84c958fb1f23 100644
--- a/include/comphelper/storagehelper.hxx
+++ b/include/comphelper/storagehelper.hxx
@@ -181,14 +181,14 @@ public:
static css::uno::Reference< css::embed::XStorage > GetStorageAtPath(
const css::uno::Reference< css::embed::XStorage > &xStorage,
- const OUString& aPath, sal_uInt32 nOpenMode, LifecycleProxy &rNastiness );
+ const OUString& aPath, sal_uInt32 nOpenMode, LifecycleProxy const &rNastiness );
static css::uno::Reference< css::io::XStream > GetStreamAtPath(
const css::uno::Reference< css::embed::XStorage > &xStorage,
- const OUString& aPath, sal_uInt32 nOpenMode, LifecycleProxy &rNastiness );
+ const OUString& aPath, sal_uInt32 nOpenMode, LifecycleProxy const &rNastiness );
static css::uno::Reference< css::io::XStream > GetStreamAtPackageURL(
const css::uno::Reference< css::embed::XStorage > &xStorage,
const OUString& rURL, sal_uInt32 const nOpenMode,
- LifecycleProxy & rNastiness );
+ LifecycleProxy const & rNastiness );
};
}