[Libreoffice-commits] core.git: include/sfx2 sfx2/source
Miklos Vajna
vmiklos at collabora.co.uk
Fri Jul 28 07:20:20 UTC 2017
include/sfx2/lokhelper.hxx | 4 ++--
sfx2/source/view/lokhelper.cxx | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 3f797a84c7c7b9891e78bea4e2f6bc74f050586f
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Fri Jul 28 09:09:11 2017 +0200
sfx2 lokhelper: indentation fixes
These files had a consistent style before, let's keep them that way.
Change-Id: I8a05a8fbbc193373e0815f27d2cd9ff1272ba0eb
diff --git a/include/sfx2/lokhelper.hxx b/include/sfx2/lokhelper.hxx
index 478897171ca3..9cf98fa40c88 100644
--- a/include/sfx2/lokhelper.hxx
+++ b/include/sfx2/lokhelper.hxx
@@ -39,9 +39,9 @@ public:
/// Invoke the LOK callback of all views except pThisView, with a payload of rKey-rPayload.
static void notifyOtherViews(SfxViewShell* pThisView, int nType, const OString& rKey, const OString& rPayload);
/// Same as notifyOtherViews(), but works on a selected "other" view, not on all of them.
- static void notifyOtherView(SfxViewShell* pThisView, SfxViewShell const * pOtherView, int nType, const OString& rKey, const OString& rPayload);
+ static void notifyOtherView(SfxViewShell* pThisView, SfxViewShell const* pOtherView, int nType, const OString& rKey, const OString& rPayload);
/// Emits a LOK_CALLBACK_INVALIDATE_TILES, but tweaks it according to setOptionalFeatures() if needed.
- static void notifyInvalidation(SfxViewShell const * pThisView, const OString& rPayload);
+ static void notifyInvalidation(SfxViewShell const* 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 70c42b1dd422..1597174af5b0 100644
--- a/sfx2/source/view/lokhelper.cxx
+++ b/sfx2/source/view/lokhelper.cxx
@@ -120,7 +120,7 @@ bool SfxLokHelper::getViewIds(int* pArray, size_t nSize)
return true;
}
-void SfxLokHelper::notifyOtherView(SfxViewShell* pThisView, SfxViewShell const * pOtherView, int nType, const OString& rKey, const OString& rPayload)
+void SfxLokHelper::notifyOtherView(SfxViewShell* pThisView, SfxViewShell const* pOtherView, int nType, const OString& rKey, const OString& rPayload)
{
OString aPayload = OString("{ \"viewId\": \"") + OString::number(SfxLokHelper::getView(pThisView)) +
"\", \"part\": \"" + OString::number(pThisView->getPart()) +
@@ -144,7 +144,7 @@ void SfxLokHelper::notifyOtherViews(SfxViewShell* pThisView, int nType, const OS
}
}
-void SfxLokHelper::notifyInvalidation(SfxViewShell const * pThisView, const OString& rPayload)
+void SfxLokHelper::notifyInvalidation(SfxViewShell const* pThisView, const OString& rPayload)
{
OStringBuffer aBuf;
aBuf.append(rPayload);
More information about the Libreoffice-commits
mailing list