summaryrefslogtreecommitdiff
path: root/sal/textenc
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 /sal/textenc
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 'sal/textenc')
-rw-r--r--sal/textenc/convertisciidevangari.cxx2
-rw-r--r--sal/textenc/tencinfo.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sal/textenc/convertisciidevangari.cxx b/sal/textenc/convertisciidevangari.cxx
index 205e16d6abdf..27cc1ff91913 100644
--- a/sal/textenc/convertisciidevangari.cxx
+++ b/sal/textenc/convertisciidevangari.cxx
@@ -176,7 +176,7 @@ sal_Size IsciiDevanagariToUnicode::convert(
bNormal = true;
bDouble = false;
break;
- };
+ }
}
if (bNormal)
diff --git a/sal/textenc/tencinfo.cxx b/sal/textenc/tencinfo.cxx
index 0aaa2ff0c446..381b2f0a21e7 100644
--- a/sal/textenc/tencinfo.cxx
+++ b/sal/textenc/tencinfo.cxx
@@ -190,7 +190,7 @@ rtl_TextEncoding SAL_CALL rtl_getTextEncodingFromWindowsCharset( sal_uInt8 nWinC
case 238: eTextEncoding = RTL_TEXTENCODING_MS_1250; break; /* EASTEUROPE_CHARSET */
case 255: eTextEncoding = RTL_TEXTENCODING_IBM_850; break; /* OEM_CHARSET */
default: eTextEncoding = RTL_TEXTENCODING_DONTKNOW; break;
- };
+ }
return eTextEncoding;
}