From: Václav Slavík Date: Mon, 9 Apr 2007 06:50:28 +0000 (+0000) Subject: removed spurious semicolons X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1bb592b878bb9d4be76dfa2c9e5324d1b536dc5b removed spurious semicolons git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 ) {