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

Miklos Vajna vmiklos at collabora.co.uk
Fri Sep 11 00:26:24 PDT 2015


 sw/source/core/unocore/unoportenum.cxx |    2 +-
 sw/source/filter/ww8/docxsdrexport.cxx |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 226df017ee949429657dea20e2d21e2775e4d162
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Fri Sep 11 09:13:09 2015 +0200

    sw: indentation fixes
    
    Change-Id: I7cf97f06053275fa229bbd24a06f7b0104f024fb

diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx
index b90039b..447c02c 100644
--- a/sw/source/core/unocore/unoportenum.cxx
+++ b/sw/source/core/unocore/unoportenum.cxx
@@ -1392,7 +1392,7 @@ static void lcl_CreatePortions(
         }
     }
 
-   OSL_ENSURE((PortionStack.size() == 1) && !PortionStack.top().second,
+    OSL_ENSURE((PortionStack.size() == 1) && !PortionStack.top().second,
             "CreatePortions: stack error" );
 }
 
diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx
index 71a357e..361a9f5d 100644
--- a/sw/source/filter/ww8/docxsdrexport.cxx
+++ b/sw/source/filter/ww8/docxsdrexport.cxx
@@ -524,8 +524,8 @@ void DocxSdrExport::startDMLAnchorInline(const SwFrameFormat* pFrameFormat, cons
         // above the anchor line, which seems odd, but a tiny adjustment
         // here to bring the top down convinces msoffice to wrap like us
         if (nTwipstoEMU == 0 &&
-            (strcmp(relativeFromV, "line") == 0 || strcmp(relativeFromV, "paragraph") == 0) &&
-            (!alignV || strcmp(alignV, "top") == 0))
+                (strcmp(relativeFromV, "line") == 0 || strcmp(relativeFromV, "paragraph") == 0) &&
+                (!alignV || strcmp(alignV, "top") == 0))
         {
             alignV = NULL;
             nTwipstoEMU = 635;


More information about the Libreoffice-commits mailing list