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

Miklos Vajna vmiklos at collabora.co.uk
Mon Mar 27 07:11:01 UTC 2017


 sd/qa/unit/tiledrendering/tiledrendering.cxx          |    3 ++-
 sw/qa/extras/tiledrendering/tiledrendering.cxx        |    3 ++-
 writerfilter/source/rtftok/rtfdispatchdestination.cxx |    6 +++---
 3 files changed, 7 insertions(+), 5 deletions(-)

New commits:
commit 6dc7d10e038f15c26b7c0732d730eeef2c5c3520
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Mar 27 09:10:32 2017 +0200

    Indentation fixes
    
    Change-Id: Idbd31b84f252abdab1787945c4964173ad5765ba

diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx
index ca40ef641a99..e1a709f3ecc7 100644
--- a/sd/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx
@@ -54,7 +54,8 @@ static const char* const DATA_DIRECTORY = "/sd/qa/unit/tiledrendering/data/";
 
 static std::ostream& operator<<(std::ostream& os, ViewShellId id)
 {
-    os << (sal_Int32)id; return os;
+    os << (sal_Int32)id;
+    return os;
 }
 
 class SdTiledRenderingTest : public SdModelTestBase, public XmlTestTools
diff --git a/sw/qa/extras/tiledrendering/tiledrendering.cxx b/sw/qa/extras/tiledrendering/tiledrendering.cxx
index 195cde9c31fc..4aee6c1d7ff2 100644
--- a/sw/qa/extras/tiledrendering/tiledrendering.cxx
+++ b/sw/qa/extras/tiledrendering/tiledrendering.cxx
@@ -38,7 +38,8 @@ static const char* const DATA_DIRECTORY = "/sw/qa/extras/tiledrendering/data/";
 
 static std::ostream& operator<<(std::ostream& os, ViewShellId id)
 {
-    os << (sal_Int32)id; return os;
+    os << (sal_Int32)id;
+    return os;
 }
 
 /// Testsuite for the SwXTextDocument methods implementing the vcl::ITiledRenderable interface.
diff --git a/writerfilter/source/rtftok/rtfdispatchdestination.cxx b/writerfilter/source/rtftok/rtfdispatchdestination.cxx
index 3863309b3601..cb48b5b3d890 100644
--- a/writerfilter/source/rtftok/rtfdispatchdestination.cxx
+++ b/writerfilter/source/rtftok/rtfdispatchdestination.cxx
@@ -73,15 +73,15 @@ RTFError RTFDocumentImpl::dispatchDestination(RTFKeyword nKeyword)
                 if ('\\' == ch)
                     bInKeyword = true;
                 if (!bInKeyword
-                    && rtl::isAsciiAlphanumeric(static_cast<unsigned char>(ch)))
+                        && rtl::isAsciiAlphanumeric(static_cast<unsigned char>(ch)))
                     aBuf.append(ch);
                 else if (bInKeyword
                          && rtl::isAsciiWhiteSpace(
                              static_cast<unsigned char>(ch)))
                     bInKeyword = false;
                 if (!aBuf.isEmpty()
-                    && !rtl::isAsciiAlphanumeric(
-                        static_cast<unsigned char>(ch)))
+                        && !rtl::isAsciiAlphanumeric(
+                            static_cast<unsigned char>(ch)))
                     bFoundCode = true;
             }
 


More information about the Libreoffice-commits mailing list