Kaydet (Commit) 3f797a84 authored tarafından Miklos Vajna's avatar Miklos Vajna

sfx2 lokhelper: indentation fixes

These files had a consistent style before, let's keep them that way.

Change-Id: I8a05a8fbbc193373e0815f27d2cd9ff1272ba0eb
üst 7c774334
...@@ -39,9 +39,9 @@ public: ...@@ -39,9 +39,9 @@ public:
/// Invoke the LOK callback of all views except pThisView, with a payload of rKey-rPayload. /// 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); 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. /// 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. /// 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'. /// A special value to signify 'infinity'.
/// This value is chosen such that sal_Int32 will not overflow when manipulated. /// This value is chosen such that sal_Int32 will not overflow when manipulated.
static const long MaxTwips = 1e9; static const long MaxTwips = 1e9;
......
...@@ -120,7 +120,7 @@ bool SfxLokHelper::getViewIds(int* pArray, size_t nSize) ...@@ -120,7 +120,7 @@ bool SfxLokHelper::getViewIds(int* pArray, size_t nSize)
return true; 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)) + OString aPayload = OString("{ \"viewId\": \"") + OString::number(SfxLokHelper::getView(pThisView)) +
"\", \"part\": \"" + OString::number(pThisView->getPart()) + "\", \"part\": \"" + OString::number(pThisView->getPart()) +
...@@ -144,7 +144,7 @@ void SfxLokHelper::notifyOtherViews(SfxViewShell* pThisView, int nType, const OS ...@@ -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; OStringBuffer aBuf;
aBuf.append(rPayload); aBuf.append(rPayload);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment