diff options
author | Peter Senna Tschudin <peter.senna@gmail.com> | 2014-05-26 19:41:16 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-05-27 01:19:00 -0500 |
commit | 3b24dcc8a8138c1e1495c3dba5ffe5748cb183c2 (patch) | |
tree | 8250ea36b767d906cc6606ab81d198ffda2e8ee1 /lotuswordpro/source/filter/lwpframelayout.cxx | |
parent | resolved fdo#79228 resync ScPatternAttr if changed in GetNeededSize() (diff) | |
download | core-3b24dcc8a8138c1e1495c3dba5ffe5748cb183c2.tar.gz core-3b24dcc8a8138c1e1495c3dba5ffe5748cb183c2.zip |
Remove unnecessary semicolons
A simplified version of the semantic match that finds this problem is
follows: (http://coccinelle.lip6.fr/)
// <smpl>
@r1@
statement S;
position p,p1;
@@
S@p1;@p
@script:python r2@
p << r1.p;
p1 << r1.p1;
@@
if p[0].line != p1[0].line_end:
cocci.include_match(False)
@@
position r1.p;
@@
-;@p
// </smpl>
Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e
Reviewed-on: https://gerrit.libreoffice.org/9493
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'lotuswordpro/source/filter/lwpframelayout.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpframelayout.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpframelayout.cxx b/lotuswordpro/source/filter/lwpframelayout.cxx index 2245d65fb22e..173bb7eca38c 100644 --- a/lotuswordpro/source/filter/lwpframelayout.cxx +++ b/lotuswordpro/source/filter/lwpframelayout.cxx @@ -1212,8 +1212,8 @@ void LwpRubyLayout::Read() { LwpFrameLayout::Read(); m_nPlacement = m_pObjStrm->QuickReaduInt8(); - m_nAlignment = m_pObjStrm->QuickReaduInt8();; - m_nStateFlag = m_pObjStrm->QuickReaduInt16();; + m_nAlignment = m_pObjStrm->QuickReaduInt8(); + m_nStateFlag = m_pObjStrm->QuickReaduInt16(); m_nXOffset = m_pObjStrm->QuickReadInt32(); m_nYOffset = m_pObjStrm->QuickReadInt32(); m_objRubyMarker.ReadIndexed(m_pObjStrm); |