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