Kaydet (Commit) 76ab37fe authored tarafından Miklos Vajna's avatar Miklos Vajna

Indentation fixes

Change-Id: Icafd56488f58a5cc580912d720f91dacd110a7c2
üst ef3aea79
...@@ -522,7 +522,7 @@ void SdTiledRenderingTest::testInsertDeletePage() ...@@ -522,7 +522,7 @@ void SdTiledRenderingTest::testInsertDeletePage()
SdXImpressDocument* pXImpressDocument = createDoc("insert-delete.odp"); SdXImpressDocument* pXImpressDocument = createDoc("insert-delete.odp");
pXImpressDocument->registerCallback(&SdTiledRenderingTest::callback, this); pXImpressDocument->registerCallback(&SdTiledRenderingTest::callback, this);
SdDrawDocument *pDoc = pXImpressDocument->GetDocShell()->GetDoc(); SdDrawDocument* pDoc = pXImpressDocument->GetDocShell()->GetDoc();
CPPUNIT_ASSERT(pDoc); CPPUNIT_ASSERT(pDoc);
// the document has 1 slide // the document has 1 slide
...@@ -531,11 +531,11 @@ void SdTiledRenderingTest::testInsertDeletePage() ...@@ -531,11 +531,11 @@ void SdTiledRenderingTest::testInsertDeletePage()
uno::Sequence<beans::PropertyValue> aArgs; uno::Sequence<beans::PropertyValue> aArgs;
// Insert slides // Insert slides
for(unsigned it = 1; it <= 10; it++) for (unsigned it = 1; it <= 10; it++)
comphelper::dispatchCommand(".uno:InsertPage", aArgs); comphelper::dispatchCommand(".uno:InsertPage", aArgs);
// Verify inserted slides // Verify inserted slides
for(auto i: m_aPageList) for (auto i: m_aPageList)
{ {
SdPage* pPage = pDoc->GetSdPage(i, PK_STANDARD); SdPage* pPage = pDoc->GetSdPage(i, PK_STANDARD);
CPPUNIT_ASSERT(pPage); CPPUNIT_ASSERT(pPage);
...@@ -544,11 +544,11 @@ void SdTiledRenderingTest::testInsertDeletePage() ...@@ -544,11 +544,11 @@ void SdTiledRenderingTest::testInsertDeletePage()
m_aPageList.clear(); m_aPageList.clear();
// Delete slides // Delete slides
for(unsigned it = 1; it <= 10; it++) for (unsigned it = 1; it <= 10; it++)
comphelper::dispatchCommand(".uno:DeletePage", aArgs); comphelper::dispatchCommand(".uno:DeletePage", aArgs);
// Verify deleted slides // Verify deleted slides
for(auto i: m_aPageList) for (auto i: m_aPageList)
{ {
SdPage* pPage = pDoc->GetSdPage(i, PK_STANDARD); SdPage* pPage = pDoc->GetSdPage(i, PK_STANDARD);
CPPUNIT_ASSERT(pPage == nullptr); CPPUNIT_ASSERT(pPage == nullptr);
...@@ -557,11 +557,11 @@ void SdTiledRenderingTest::testInsertDeletePage() ...@@ -557,11 +557,11 @@ void SdTiledRenderingTest::testInsertDeletePage()
m_aPageList.clear(); m_aPageList.clear();
// Undo deleted slides // Undo deleted slides
for(unsigned it = 1; it <= 10; it++) for (unsigned it = 1; it <= 10; it++)
comphelper::dispatchCommand(".uno:Undo", aArgs); comphelper::dispatchCommand(".uno:Undo", aArgs);
// Verify inserted slides // Verify inserted slides
for(auto i: m_aPageList) for (auto i: m_aPageList)
{ {
SdPage* pPage = pDoc->GetSdPage(i, PK_STANDARD); SdPage* pPage = pDoc->GetSdPage(i, PK_STANDARD);
CPPUNIT_ASSERT(pPage); CPPUNIT_ASSERT(pPage);
...@@ -570,11 +570,11 @@ void SdTiledRenderingTest::testInsertDeletePage() ...@@ -570,11 +570,11 @@ void SdTiledRenderingTest::testInsertDeletePage()
m_aPageList.clear(); m_aPageList.clear();
// Redo deleted slides // Redo deleted slides
for(unsigned it = 1; it <= 10; it++) for (unsigned it = 1; it <= 10; it++)
comphelper::dispatchCommand(".uno:Redo", aArgs); comphelper::dispatchCommand(".uno:Redo", aArgs);
// Verify deleted slides // Verify deleted slides
for(auto i: m_aPageList) for (auto i: m_aPageList)
{ {
SdPage* pPage = pDoc->GetSdPage(i, PK_STANDARD); SdPage* pPage = pDoc->GetSdPage(i, PK_STANDARD);
CPPUNIT_ASSERT(pPage == nullptr); CPPUNIT_ASSERT(pPage == nullptr);
......
...@@ -562,8 +562,8 @@ public: ...@@ -562,8 +562,8 @@ public:
virtual SwFieldType* Copy() const override; virtual SwFieldType* Copy() const override;
protected: protected:
/// Overlay, because there is nothing to update! /// Overlay, because there is nothing to update!
virtual void Modify( const SfxPoolItem*, const SfxPoolItem * ) override; virtual void Modify( const SfxPoolItem*, const SfxPoolItem * ) override;
}; };
// Relative page numbering. // Relative page numbering.
...@@ -599,7 +599,7 @@ class SwRefPageGetFieldType : public SwFieldType ...@@ -599,7 +599,7 @@ class SwRefPageGetFieldType : public SwFieldType
void UpdateField( SwTextField* pTextField, _SetGetExpFields& rSetList ); void UpdateField( SwTextField* pTextField, _SetGetExpFields& rSetList );
protected: protected:
/// overwritten to update all RefPageGet fields /// overwritten to update all RefPageGet fields
virtual void Modify( const SfxPoolItem*, const SfxPoolItem * ) override; virtual void Modify( const SfxPoolItem*, const SfxPoolItem * ) override;
public: public:
SwRefPageGetFieldType( SwDoc* pDoc ); SwRefPageGetFieldType( SwDoc* pDoc );
virtual SwFieldType* Copy() const override; virtual SwFieldType* Copy() const override;
......
...@@ -5184,7 +5184,7 @@ RTFError RTFDocumentImpl::popState() ...@@ -5184,7 +5184,7 @@ RTFError RTFDocumentImpl::popState()
{ {
aPictureURL = rtl::Uri::convertRelToAbs(aFileURL, m_aPicturePath); aPictureURL = rtl::Uri::convertRelToAbs(aFileURL, m_aPicturePath);
} }
catch(const rtl::MalformedUriException& rException) catch (const rtl::MalformedUriException& rException)
{ {
SAL_WARN("writerfilter", "rtl::Uri::convertRelToAbs() failed: " << rException.getMessage()); SAL_WARN("writerfilter", "rtl::Uri::convertRelToAbs() failed: " << rException.getMessage());
} }
......
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