summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-04-29 13:15:58 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-04-29 13:32:25 +0200
commitb753c34a02b882d2b44e5d203fae95c5bcd781f3 (patch)
tree129fe0e16685ed3a8eafeb57227e2e619c6d85f6
parentf1b298e3588a34335a7f7b161c0ec846ed06115b (diff)
sw, xmlsecurity: indentation fixes
Change-Id: Iafb20132df4aba6b45cf49a7814084f66d087b25
-rw-r--r--sw/source/core/doc/docnum.cxx2
-rw-r--r--sw/source/core/text/inftxt.hxx2
-rw-r--r--sw/source/core/text/porlay.cxx4
-rw-r--r--sw/source/core/text/txtftn.cxx2
-rw-r--r--xmlsecurity/qa/unit/signing/signing.cxx4
5 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/core/doc/docnum.cxx b/sw/source/core/doc/docnum.cxx
index b4d652781b7f..32bfae2b4832 100644
--- a/sw/source/core/doc/docnum.cxx
+++ b/sw/source/core/doc/docnum.cxx
@@ -430,7 +430,7 @@ bool SwDoc::MoveOutlinePara( const SwPaM& rPam, short nOffset )
int nOutLineLevel = MAXLEVEL;
SwNode* pSrch = &aSttRg.GetNode();
- if( pSrch->IsTextNode())
+ if( pSrch->IsTextNode())
nOutLineLevel = static_cast<sal_uInt8>(pSrch->GetTextNode()->GetAttrOutlineLevel()-1);
SwNode* pEndSrch = &aEndRg.GetNode();
if( !GetNodes().GetOutLineNds().Seek_Entry( pSrch, &nAktPos ) )
diff --git a/sw/source/core/text/inftxt.hxx b/sw/source/core/text/inftxt.hxx
index f518c85ac3ca..02cc6dbf4724 100644
--- a/sw/source/core/text/inftxt.hxx
+++ b/sw/source/core/text/inftxt.hxx
@@ -721,7 +721,7 @@ class SwFontSave
public:
SwFontSave( const SwTextSizeInfo &rInf, SwFont *pFnt,
SwAttrIter* pItr = nullptr );
- ~SwFontSave();
+ ~SwFontSave();
};
inline sal_uInt16 SwTextSizeInfo::GetAscent() const
diff --git a/sw/source/core/text/porlay.cxx b/sw/source/core/text/porlay.cxx
index 062ac275801c..be55e849af9d 100644
--- a/sw/source/core/text/porlay.cxx
+++ b/sw/source/core/text/porlay.cxx
@@ -133,8 +133,8 @@ SwLineLayout::~SwLineLayout()
SwLinePortion *SwLineLayout::Insert( SwLinePortion *pIns )
{
- // First attribute change: copy mass and length from *pIns into the first
- // text portion
+ // First attribute change: copy mass and length from *pIns into the first
+ // text portion
if( !pPortion )
{
if( GetLen() )
diff --git a/sw/source/core/text/txtftn.cxx b/sw/source/core/text/txtftn.cxx
index 81cfb1470b4e..7d972ee4f760 100644
--- a/sw/source/core/text/txtftn.cxx
+++ b/sw/source/core/text/txtftn.cxx
@@ -1237,7 +1237,7 @@ public:
const SwTextFootnote *pTextFootnote,
const bool bApplyGivenScriptType,
const SwFontScript nGivenScriptType );
- ~SwFootnoteSave();
+ ~SwFootnoteSave();
};
SwFootnoteSave::SwFootnoteSave( const SwTextSizeInfo &rInf,
diff --git a/xmlsecurity/qa/unit/signing/signing.cxx b/xmlsecurity/qa/unit/signing/signing.cxx
index 45308d218b3a..d2a9f1741f34 100644
--- a/xmlsecurity/qa/unit/signing/signing.cxx
+++ b/xmlsecurity/qa/unit/signing/signing.cxx
@@ -421,7 +421,7 @@ void SigningTest::test96097Calc()
descSaveAs[0].Value <<= OUString("calc8");
xDocStorable->storeAsURL(aTempFileSaveAs.GetURL(), descSaveAs);
}
- catch(...)
+ catch (...)
{
CPPUNIT_FAIL("Fail to save as the document");
}
@@ -469,7 +469,7 @@ void SigningTest::test96097Doc()
descSaveAs[0].Value <<= OUString("writer8");
xDocStorable->storeAsURL(aTempFileSaveAs.GetURL(), descSaveAs);
}
- catch(...)
+ catch (...)
{
CPPUNIT_FAIL("Fail to save as the document");
}