From 1bb592b878bb9d4be76dfa2c9e5324d1b536dc5b Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 9 Apr 2007 06:50:28 +0000 Subject: [PATCH] removed spurious semicolons git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/string.h | 2 +- src/common/dcsvg.cpp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/wx/string.h b/include/wx/string.h index a931a09fae..a39ea5636b 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -2335,7 +2335,7 @@ inline wxCStrData::~wxCStrData() inline wxCStrData::operator bool() const { return !m_str->empty(); -}; +} // simple cases for AsChar() and AsWChar(), the complicated ones are // in string.cpp diff --git a/src/common/dcsvg.cpp b/src/common/dcsvg.cpp index 330b76995f..0fc94d97de 100644 --- a/src/common/dcsvg.cpp +++ b/src/common/dcsvg.cpp @@ -30,7 +30,7 @@ #define semicolon wxString(wxT(";")) #define wx_round(a) (int)((a)+.5) -static inline double DegToRad(double deg) { return (deg * M_PI) / 180.0; } ; +static inline double DegToRad(double deg) { return (deg * M_PI) / 180.0; } wxString wxColStr ( wxColour c ) { @@ -137,17 +137,17 @@ wxSVGFileDC::wxSVGFileDC (wxString f) { // quarter 640x480 screen display at 72 dpi Init (f,320,240,72.0); -}; +} wxSVGFileDC::wxSVGFileDC (wxString f, int Width, int Height) { Init (f,Width,Height,72.0); -}; +} wxSVGFileDC::wxSVGFileDC (wxString f, int Width, int Height, float dpi) { Init (f,Width,Height,dpi); -}; +} wxSVGFileDC::~wxSVGFileDC() { @@ -172,7 +172,7 @@ void wxSVGFileDC::DoDrawLine (wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2) CalcBoundingBox(x1, y1) ; CalcBoundingBox(x2, y2) ; return; -}; +} void wxSVGFileDC::DoDrawLines(int n, wxPoint points[], wxCoord xoffset , wxCoord yoffset ) { -- 2.50.0