summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-12 10:04:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-17 08:13:06 +0200
commitb9f9f8253f89151beed27499e6db5c11a7d81eba (patch)
tree67e1506ecce80867e8a7fbf07ffe2ac5c1f6ad11 /sfx2
parent0a910746b19f10f184f6ff8f41c868994a472ca9 (diff)
loplugin:constparams
Change-Id: I3d1b88dbd0ff73fddc08d52f50e0efb42daab89b Reviewed-on: https://gerrit.libreoffice.org/52756 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appinit.cxx2
-rw-r--r--sfx2/source/appl/linksrc.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/appl/appinit.cxx b/sfx2/source/appl/appinit.cxx
index 9879307d9830..b40d1d117c18 100644
--- a/sfx2/source/appl/appinit.cxx
+++ b/sfx2/source/appl/appinit.cxx
@@ -157,7 +157,7 @@ extern "C" { static void thisModule() {} }
#else
-extern "C" bool GetSpecialCharsForEdit( vcl::Window* i_pParent, const vcl::Font& i_rFont, OUString& o_rOutString );
+extern "C" bool GetSpecialCharsForEdit( vcl::Window const * i_pParent, const vcl::Font& i_rFont, OUString& o_rOutString );
#endif
diff --git a/sfx2/source/appl/linksrc.cxx b/sfx2/source/appl/linksrc.cxx
index 6d172d202f79..dde56a43d23f 100644
--- a/sfx2/source/appl/linksrc.cxx
+++ b/sfx2/source/appl/linksrc.cxx
@@ -97,7 +97,7 @@ public:
SvLinkSource_Entry_Impl *operator[](size_t idx) const { return mvData[idx].get(); }
void push_back(SvLinkSource_Entry_Impl* rData) { mvData.emplace_back(rData); }
- void DeleteAndDestroy(SvLinkSource_Entry_Impl* p)
+ void DeleteAndDestroy(SvLinkSource_Entry_Impl const * p)
{
for (auto it = mvData.begin(); it != mvData.end(); ++it)
if (it->get() == p)
@@ -118,7 +118,7 @@ public:
SvLinkSource_Entry_Impl* Curr()
{ return nPos < aArr.size() ? aArr[ nPos ] : nullptr; }
SvLinkSource_Entry_Impl* Next();
- bool IsValidCurrValue( SvLinkSource_Entry_Impl* pEntry );
+ bool IsValidCurrValue( SvLinkSource_Entry_Impl const * pEntry );
};
SvLinkSource_EntryIter_Impl::SvLinkSource_EntryIter_Impl(
@@ -129,7 +129,7 @@ SvLinkSource_EntryIter_Impl::SvLinkSource_EntryIter_Impl(
aArr.push_back(i.get());
}
-bool SvLinkSource_EntryIter_Impl::IsValidCurrValue( SvLinkSource_Entry_Impl* pEntry )
+bool SvLinkSource_EntryIter_Impl::IsValidCurrValue( SvLinkSource_Entry_Impl const * pEntry )
{
if ( nPos >= aArr.size() )
return false;