[Libreoffice-commits] core.git: sfx2/source sw/source

Miklos Vajna vmiklos at collabora.co.uk
Mon Feb 6 08:06:05 UTC 2017


 sfx2/source/view/lokhelper.cxx  |    4 ++--
 sw/source/core/doc/dbgoutsw.cxx |   18 +++++++++---------
 2 files changed, 11 insertions(+), 11 deletions(-)

New commits:
commit 7fb2b608047e613884d2ee1aab93795ce2f72243
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Feb 6 09:04:13 2017 +0100

    Indentation fixes
    
    Change-Id: I3e7262c26c848f8c16564d4b27218611bf880903

diff --git a/sfx2/source/view/lokhelper.cxx b/sfx2/source/view/lokhelper.cxx
index bfcd000..43e0c1f 100644
--- a/sfx2/source/view/lokhelper.cxx
+++ b/sfx2/source/view/lokhelper.cxx
@@ -111,8 +111,8 @@ bool SfxLokHelper::getViewIds(int* pArray, size_t nSize)
 void SfxLokHelper::notifyOtherView(SfxViewShell* pThisView, SfxViewShell* pOtherView, int nType, const OString& rKey, const OString& rPayload)
 {
     OString aPayload = OString("{ \"viewId\": \"") + OString::number(SfxLokHelper::getView(pThisView)) +
-        "\", \"part\": \"" + OString::number(pThisView->getPart()) +
-        "\", \"" + rKey + "\": \"" + rPayload + "\" }";
+                       "\", \"part\": \"" + OString::number(pThisView->getPart()) +
+                       "\", \"" + rKey + "\": \"" + rPayload + "\" }";
 
     pOtherView->libreOfficeKitViewCallback(nType, aPayload.getStr());
 }
diff --git a/sw/source/core/doc/dbgoutsw.cxx b/sw/source/core/doc/dbgoutsw.cxx
index f86ee1c..79c0b97 100644
--- a/sw/source/core/doc/dbgoutsw.cxx
+++ b/sw/source/core/doc/dbgoutsw.cxx
@@ -353,19 +353,19 @@ const char * dbg_out(const SwPosition & rPos)
 
 static OUString lcl_dbg_out(const SwPaM & rPam)
 {
-   OUString aStr("[ Pt: ");
+    OUString aStr("[ Pt: ");
 
-   aStr += lcl_dbg_out(*rPam.GetPoint());
+    aStr += lcl_dbg_out(*rPam.GetPoint());
 
-   if (rPam.HasMark())
-   {
-       aStr += ", Mk: ";
-       aStr += lcl_dbg_out(*rPam.GetMark());
-   }
+    if (rPam.HasMark())
+    {
+        aStr += ", Mk: ";
+        aStr += lcl_dbg_out(*rPam.GetMark());
+    }
 
-   aStr += " ]";
+    aStr += " ]";
 
-   return aStr;
+    return aStr;
 }
 
 const char * dbg_out(const SwPaM & rPam)


More information about the Libreoffice-commits mailing list