diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-06-22 10:21:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-06-28 10:47:34 +0200 |
commit | bfc1600c6ade6f006eb774bffe7caa9c948e8603 (patch) | |
tree | c660fa18fc6a9e5f05c3cc58fa34411cdc4f4257 /sw/source/filter/xml | |
parent | f9514beb9bfed51aee69227797e74504afed31c6 (diff) |
loplugin:indentation improve checks for brace alignment
Change-Id: I333100fda7e181f68f36b03279b3fbb8cb768310
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117615
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/xml')
-rw-r--r-- | sw/source/filter/xml/xmliteme.cxx | 4 | ||||
-rw-r--r-- | sw/source/filter/xml/xmlithlp.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/filter/xml/xmliteme.cxx b/sw/source/filter/xml/xmliteme.cxx index 61a8205064ff..447abab52b67 100644 --- a/sw/source/filter/xml/xmliteme.cxx +++ b/sw/source/filter/xml/xmliteme.cxx @@ -129,8 +129,8 @@ void SwXMLTableItemMapper_Impl::handleSpecialItem( AddAttribute( rEntry.nNameSpace, rEntry.eLocalName, sValue, rNamespaceMap, rAttrList ); } - } - } + } + } } break; diff --git a/sw/source/filter/xml/xmlithlp.cxx b/sw/source/filter/xml/xmlithlp.cxx index 57f845e206f8..16e2a1128b08 100644 --- a/sw/source/filter/xml/xmlithlp.cxx +++ b/sw/source/filter/xml/xmlithlp.cxx @@ -164,7 +164,7 @@ bool sw_frmitems_setXMLBorder( std::unique_ptr<SvxBorderLine>& rpLine, ( bHasStyle && ((table::BorderLineStyle::SOLID == nStyle && rpLine->GetDistance()) || (table::BorderLineStyle::DOUBLE == nStyle && !rpLine->GetDistance())) ) ) - { + { bool bDouble = (bHasWidth && table::BorderLineStyle::DOUBLE == nStyle ) || rpLine->GetDistance(); @@ -190,7 +190,7 @@ bool sw_frmitems_setXMLBorder( std::unique_ptr<SvxBorderLine>& rpLine, } } sw_frmitems_setXMLBorderStyle( *rpLine, nStyle ); - } + } // set color if( bHasColor ) |