Rebased ref, commits from common ancestor:
commit e6b6cdf475594939ef24a0b4f3211213fd2589ee
Author: Pranav Kant <[email protected]>
Date: Thu Sep 28 10:18:03 2017 +0530
const-ify
Change-Id: Ic0a0d50a8f8e4316d6cf254de04c08c0de533d78
diff --git a/include/sfx2/lokhelper.hxx b/include/sfx2/lokhelper.hxx
index 432628c89132..f1810ec98ab7 100644
--- a/include/sfx2/lokhelper.hxx
+++ b/include/sfx2/lokhelper.hxx
@@ -45,7 +45,7 @@ public:
/// Emits a LOK_CALLBACK_DIALOG_CHILD
static void notifyDialogChild(const OUString& rDialogID, const OUString&
rAction, const Point& rPos);
/// Emits a LOK_CALLBACK_INVALIDATE_TILES, but tweaks it according to
setOptionalFeatures() if needed.
- static void notifyInvalidation(SfxViewShell* pThisView, const OString&
rPayload);
+ static void notifyInvalidation(const SfxViewShell* pThisView, const
OString& rPayload);
/// A special value to signify 'infinity'.
/// This value is chosen such that sal_Int32 will not overflow when
manipulated.
static const long MaxTwips = 1e9;
diff --git a/sfx2/source/view/lokhelper.cxx b/sfx2/source/view/lokhelper.cxx
index 08a89eac49a8..6a576fb0549b 100644
--- a/sfx2/source/view/lokhelper.cxx
+++ b/sfx2/source/view/lokhelper.cxx
@@ -179,7 +179,7 @@ void SfxLokHelper::notifyDialogChild(const OUString&
rDialogID, const OUString&
}
}
-void SfxLokHelper::notifyInvalidation(SfxViewShell* pThisView, const OString&
rPayload)
+void SfxLokHelper::notifyInvalidation(const SfxViewShell* pThisView, const
OString& rPayload)
{
OStringBuffer aBuf;
aBuf.append(rPayload);
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits