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

Miklos Vajna vmiklos at collabora.co.uk
Thu Dec 8 08:26:23 UTC 2016


 sd/qa/unit/tiledrendering/tiledrendering.cxx |   10 +++++-----
 sw/inc/format.hxx                            |    2 +-
 sw/inc/ftninfo.hxx                           |    2 +-
 sw/inc/ndindex.hxx                           |    2 +-
 sw/inc/pagedesc.hxx                          |    2 +-
 sw/inc/section.hxx                           |    2 +-
 6 files changed, 10 insertions(+), 10 deletions(-)

New commits:
commit a215174eba5962abcef10a5a1a852fdc9364105b
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Thu Dec 8 09:25:32 2016 +0100

    Indentation fixes
    
    Change-Id: I35de0c30a3f4f82bc923e467d5f0acf0ed90684f

diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx
index d8f7f23..e031d06 100644
--- a/sd/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx
@@ -1432,9 +1432,9 @@ void SdTiledRenderingTest::testTdf104405()
     rEditView.SetSelection(ESelection(0, 0, 0, 3)); // start para, start char, end para, end char.
 
     // trigger the clone-formatting/paintbrush command to copy formatting contents of cell
-    uno::Sequence< beans::PropertyValue > aArgs( 1 );
+    uno::Sequence< beans::PropertyValue > aArgs(1);
     aArgs[0].Name  = "PersistentCopy";
-    aArgs[0].Value = uno::makeAny( true );
+    aArgs[0].Value = uno::makeAny(true);
     comphelper::dispatchCommand(".uno:FormatPaintbrush", aArgs);
 
     Scheduler::ProcessEventsToIdle();
@@ -1447,10 +1447,10 @@ void SdTiledRenderingTest::testTdf104405()
     rEditView2.SetSelection(ESelection(0, 0, 0, 3)); // start para, start char, end para, end char.
     Rectangle aRect = pTableObject->GetCurrentBoundRect();
     pXImpressDocument->postMouseEvent(LOK_MOUSEEVENT_MOUSEBUTTONDOWN,
-                                      convertMm100ToTwip(aRect.getX() ), convertMm100ToTwip(aRect.getY() ),
+                                      convertMm100ToTwip(aRect.getX()), convertMm100ToTwip(aRect.getY()),
                                       1, MOUSE_LEFT, 0);
     pXImpressDocument->postMouseEvent(LOK_MOUSEEVENT_MOUSEBUTTONUP,
-                                      convertMm100ToTwip(aRect.getX() ), convertMm100ToTwip(aRect.getY() ),
+                                      convertMm100ToTwip(aRect.getX()), convertMm100ToTwip(aRect.getY()),
                                       1, MOUSE_LEFT, 0);
 
     Scheduler::ProcessEventsToIdle();
@@ -1460,7 +1460,7 @@ void SdTiledRenderingTest::testTdf104405()
     OString aPrefix = "/SdDrawDocument/SdrModel/SdPage/SdrObjList/SdrTableObj/SdrTableObjImpl"
                       "/TableModel/Cell[1]/DefaultProperties/SfxItemSet/SdrTextVertAdjustItem";
     // the following name has a compiler-dependant part
-    CPPUNIT_ASSERT_EQUAL( getXPath(pXmlDoc, aPrefix, "value"), OUString("2") );
+    CPPUNIT_ASSERT_EQUAL(getXPath(pXmlDoc, aPrefix, "value"), OUString("2"));
     xmlFreeDoc(pXmlDoc);
 
     comphelper::LibreOfficeKit::setActive(false);
diff --git a/sw/inc/format.hxx b/sw/inc/format.hxx
index 21f8db5..a30af53 100644
--- a/sw/inc/format.hxx
+++ b/sw/inc/format.hxx
@@ -69,7 +69,7 @@ protected:
     SwFormat( SwAttrPool& rPool, const OUString &rFormatNm, const sal_uInt16* pWhichRanges,
             SwFormat *pDrvdFrame, sal_uInt16 nFormatWhich );
     SwFormat( const SwFormat& rFormat );
-   virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNewValue ) override;
+    virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNewValue ) override;
 
 public:
 
diff --git a/sw/inc/ftninfo.hxx b/sw/inc/ftninfo.hxx
index 3c5af52..d10ab32 100644
--- a/sw/inc/ftninfo.hxx
+++ b/sw/inc/ftninfo.hxx
@@ -38,7 +38,7 @@ class SW_DLLPUBLIC SwEndNoteInfo : public SwClient
     OUString sSuffix;
 protected:
     bool        m_bEndNote;
-   virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ) override;
+    virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ) override;
 
 public:
     SvxNumberType aFormat;
diff --git a/sw/inc/ndindex.hxx b/sw/inc/ndindex.hxx
index 435a313..66cac16 100644
--- a/sw/inc/ndindex.hxx
+++ b/sw/inc/ndindex.hxx
@@ -79,7 +79,7 @@ public:
         RegisterIndex( m_pNode->GetNodes() );
     }
 
-   virtual  ~SwNodeIndex() override
+    virtual  ~SwNodeIndex() override
         { DeRegisterIndex( m_pNode->GetNodes() ); }
 
     inline sal_uLong operator++();
diff --git a/sw/inc/pagedesc.hxx b/sw/inc/pagedesc.hxx
index 592886d..fec4ad5 100644
--- a/sw/inc/pagedesc.hxx
+++ b/sw/inc/pagedesc.hxx
@@ -184,7 +184,7 @@ class SW_DLLPUBLIC SwPageDesc : public SwModify
     };
 
 protected:
-   virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNewValue ) override;
+    virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNewValue ) override;
 
 public:
     const OUString& GetName() const { return m_StyleName; }
diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx
index 920ef8c..78a65d6 100644
--- a/sw/inc/section.hxx
+++ b/sw/inc/section.hxx
@@ -286,7 +286,7 @@ class SW_DLLPUBLIC SwSectionFormat
 
 protected:
     SwSectionFormat( SwFrameFormat* pDrvdFrame, SwDoc *pDoc );
-   virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ) override;
+    virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew ) override;
 
 public:
     virtual ~SwSectionFormat() override;


More information about the Libreoffice-commits mailing list