summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorPeter Senna Tschudin <peter.senna@gmail.com>2014-05-26 19:41:16 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-05-27 01:19:00 -0500
commit3b24dcc8a8138c1e1495c3dba5ffe5748cb183c2 (patch)
tree8250ea36b767d906cc6606ab81d198ffda2e8ee1 /svx/source
parenta1dedadbf0d87a1db24e9b336257678e059882f0 (diff)
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 'svx/source')
-rw-r--r--svx/source/sidebar/nbdtmg.cxx8
-rw-r--r--svx/source/tbxctrls/extrusioncontrols.cxx2
-rw-r--r--svx/source/unodraw/unoshape.cxx2
3 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx
index 567e3ea94975..5c321396422c 100644
--- a/svx/source/sidebar/nbdtmg.cxx
+++ b/svx/source/sidebar/nbdtmg.cxx
@@ -757,7 +757,7 @@ OUString GraphyicBulletsTypeMgr::GetDescription(sal_uInt16 nIndex, bool /*isDefa
if ( pEntry )
{
sRet = pEntry->sDescription;
- };
+ }
}
return sRet;
}
@@ -777,7 +777,7 @@ bool GraphyicBulletsTypeMgr::IsCustomized(sal_uInt16 nIndex)
if ( pEntry )
{
bRet = pEntry->bIsCustomized;
- };
+ }
}
return bRet;
@@ -1901,7 +1901,7 @@ OUString OutlineTypeMgr::GetDescription(sal_uInt16 nIndex, bool isDefault)
if ( pItemArr )
{
sRet = pItemArr->sDescription;
- };
+ }
}
return sRet;
}
@@ -1921,7 +1921,7 @@ bool OutlineTypeMgr::IsCustomized(sal_uInt16 nIndex)
if ( pItemArr )
{
bRet = pItemArr->bIsCustomized;
- };
+ }
}
return bRet;
diff --git a/svx/source/tbxctrls/extrusioncontrols.cxx b/svx/source/tbxctrls/extrusioncontrols.cxx
index 42dfaa55c440..30fd7b4b5aca 100644
--- a/svx/source/tbxctrls/extrusioncontrols.cxx
+++ b/svx/source/tbxctrls/extrusioncontrols.cxx
@@ -382,7 +382,7 @@ void ExtrusionDepthWindow::implFillStrings( FieldUnit eUnit )
{
OUString aStr( SVX_RESSTR( nResource + i ) );
setEntryText( i, aStr );
- };
+ }
}
diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 55afb1ff01a2..1557bba05d20 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -3952,7 +3952,7 @@ void SvxShape::updateShapeKind()
}
break;
}
- };
+ }
}
/***********************************************************************