summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-06 15:32:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-06 18:37:47 +0200
commit1f8fbff65d91f1d8297b94dd67fffceb7475dce5 (patch)
tree35ecc29ca2734db28e69cfb22c54e0e2d0ad3580 /sd/inc
parent4bc31abb56f806ee399344160ce0d7c27af48f5e (diff)
loplugin:const* make some params and methods const
Change-Id: I97c5bbb929a2a4a029af4e6cb0fd571bbc2b698b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104030 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/Outliner.hxx4
-rw-r--r--sd/inc/sddll.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/inc/Outliner.hxx b/sd/inc/Outliner.hxx
index d49140a6ea3f..adee254359e1 100644
--- a/sd/inc/Outliner.hxx
+++ b/sd/inc/Outliner.hxx
@@ -360,8 +360,8 @@ private:
*/
bool SearchAndReplaceOnce(std::vector<::sd::SearchSelection>* pSelections = nullptr);
- void sendLOKSearchResultCallback(std::shared_ptr<sd::ViewShell>& pViewShell,
- OutlinerView* pOutlinerView,
+ void sendLOKSearchResultCallback(const std::shared_ptr<sd::ViewShell>& pViewShell,
+ const OutlinerView* pOutlinerView,
std::vector<sd::SearchSelection>* pSelections);
/** Detect changes of the document or view and react accordingly. Such
diff --git a/sd/inc/sddll.hxx b/sd/inc/sddll.hxx
index 5c3b876d6c66..082445e2ca28 100644
--- a/sd/inc/sddll.hxx
+++ b/sd/inc/sddll.hxx
@@ -40,7 +40,7 @@ class SD_DLLPUBLIC SdDLL final
static void RegisterRemotes();
#endif
static void RegisterFactorys();
- static void RegisterInterfaces(SdModule* pMod);
+ static void RegisterInterfaces(const SdModule* pMod);
static void RegisterControllers(SdModule* pMod);
public: