[Libreoffice-commits] core.git: sw/source xmlsecurity/qa
Miklos Vajna
vmiklos at collabora.co.uk
Fri Apr 29 11:32:58 UTC 2016
sw/source/core/doc/docnum.cxx | 2 +-
sw/source/core/text/inftxt.hxx | 2 +-
sw/source/core/text/porlay.cxx | 4 ++--
sw/source/core/text/txtftn.cxx | 2 +-
xmlsecurity/qa/unit/signing/signing.cxx | 4 ++--
5 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit b753c34a02b882d2b44e5d203fae95c5bcd781f3
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Fri Apr 29 13:15:58 2016 +0200
sw, xmlsecurity: indentation fixes
Change-Id: Iafb20132df4aba6b45cf49a7814084f66d087b25
diff --git a/sw/source/core/doc/docnum.cxx b/sw/source/core/doc/docnum.cxx
index b4d6527..32bfae2 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 f518c85a..02cc6db 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 062ac27..be55e84 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 81cfb14..7d972ee 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 45308d2..d2a9f17 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");
}
More information about the Libreoffice-commits
mailing list