diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-08 13:17:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-09 17:07:29 +0100 |
commit | de8c193833a7c60826015ecaed13d9fb3d1e0aba (patch) | |
tree | d057f3c759ab8ccd917038f6ef30b22b8a5d293b /hwpfilter/source/hwpread.cxx | |
parent | loplugin:indentation in framework (diff) | |
download | core-de8c193833a7c60826015ecaed13d9fb3d1e0aba.tar.gz core-de8c193833a7c60826015ecaed13d9fb3d1e0aba.zip |
loplugin:indentation in helpcompiler..io
Change-Id: Ia3f05662cc9542feeac3096d29e9dec6d1858620
Reviewed-on: https://gerrit.libreoffice.org/67558
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'hwpfilter/source/hwpread.cxx')
-rw-r--r-- | hwpfilter/source/hwpread.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/hwpfilter/source/hwpread.cxx b/hwpfilter/source/hwpread.cxx index c1899045c4e4..86c2dea33494 100644 --- a/hwpfilter/source/hwpread.cxx +++ b/hwpfilter/source/hwpread.cxx @@ -100,7 +100,7 @@ bool FieldCode::Read(HWPFile & hwpf) hwpf.SkipBlock(binlen); - if( type[0] == 3 && type[1] == 2 ){ /* It must create a format as created date. */ + if( type[0] == 3 && type[1] == 2 ){ /* It must create a format as created date. */ DateCode *pDate = new DateCode; for (int i = 0 ; i < static_cast<int>(len3_); i++) { if(str3[i] == 0 ) break; @@ -109,7 +109,7 @@ bool FieldCode::Read(HWPFile & hwpf) } hwpf.AddDateFormat(pDate); m_pDate.reset( pDate ); - } + } return true; } @@ -225,7 +225,7 @@ bool TxtBox::Read(HWPFile & hwpf) hwpf.Read2b(&dummy2, 1); style.boxnum = fboxnum++; - zorder = zindex++; + zorder = zindex++; hwpf.Read1b(style.anchor_type); hwpf.Read1b(style.txtflow); hwpf.Read2b(&style.xpos, 1); @@ -249,7 +249,7 @@ bool TxtBox::Read(HWPFile & hwpf) hwpf.Read2b(&pgx, 1); hwpf.Read2b(&pgy, 1); hwpf.Read2b(&pgno, 1); - if( ( pgno +1 ) != hwpf.getCurrentPage() ) + if( ( pgno +1 ) != hwpf.getCurrentPage() ) pgno = sal::static_int_cast<short>(hwpf.getCurrentPage() -1) ; hwpf.Read2b(&showpg, 1); @@ -380,7 +380,7 @@ bool Picture::Read(HWPFile & hwpf) hwpf.Read2b(&dummy2, 1); style.boxnum = fboxnum++; - zorder = zindex++; + zorder = zindex++; hwpf.Read1b(style.anchor_type); /* Reference position */ hwpf.Read1b(style.txtflow); /* Avoid painting. 0-2 (seat occupied, transparency, harmony) */ hwpf.Read2b(&style.xpos, 1); /* Horizontal position: 1=left, 2=right, 3=center, and others=any */ @@ -515,7 +515,7 @@ bool Line::Read(HWPFile & hwpf) hwpf.AddBox(this); style.boxnum = fboxnum++; - zorder = zindex++; + zorder = zindex++; style.boxtype = 'L'; hwpf.ReadBlock(&reserved2, 8); hwpf.Read1b(style.anchor_type); @@ -603,9 +603,9 @@ bool HeaderFooter::Read(HWPFile & hwpf) lnnumber = 0; hwpf.ReadParaList(plist, CH_HEADER_FOOTER); linenumber = sal::static_int_cast<unsigned char>(lnnumber); - m_nPageNumber = hwpf.getCurrentPage(); - hwpf.setMaxSettedPage(); - hwpf.AddHeaderFooter(this); + m_nPageNumber = hwpf.getCurrentPage(); + hwpf.setMaxSettedPage(); + hwpf.AddHeaderFooter(this); return !hwpf.State(); } @@ -704,8 +704,8 @@ bool ShowPageNum::Read(HWPFile & hwpf) if (hh != dummy){ return hwpf.SetState(HWP_InvalidFileFormat); } - m_nPageNumber = hwpf.getCurrentPage(); - hwpf.setMaxSettedPage(); + m_nPageNumber = hwpf.getCurrentPage(); + hwpf.setMaxSettedPage(); hwpf.AddPageNumber(this); return !hwpf.State(); } |