From: Mattia Barbon Date: Thu, 11 Sep 2003 20:50:11 +0000 (+0000) Subject: Compilation fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a2a6aef2bfa5471dc24c3c69600512fdf0a40c69 Compilation fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/svg/dcsvg.cpp b/contrib/src/svg/dcsvg.cpp index baf6095050..73654c6ff9 100644 --- a/contrib/src/svg/dcsvg.cpp +++ b/contrib/src/svg/dcsvg.cpp @@ -840,7 +840,7 @@ wxCoord wxSVGFileDC::LogicalToDeviceYRel(wxCoord y) const void wxSVGFileDC::write(const wxString &s) { - wxWX2MBbuf buf = s.mb_str(wxConvUTF8); + const wxWX2MBbuf buf = s.mb_str(wxConvUTF8); m_outfile->Write(buf, strlen((const char *)buf)); m_OK = m_outfile->Ok(); } diff --git a/src/common/dcsvg.cpp b/src/common/dcsvg.cpp index baf6095050..73654c6ff9 100644 --- a/src/common/dcsvg.cpp +++ b/src/common/dcsvg.cpp @@ -840,7 +840,7 @@ wxCoord wxSVGFileDC::LogicalToDeviceYRel(wxCoord y) const void wxSVGFileDC::write(const wxString &s) { - wxWX2MBbuf buf = s.mb_str(wxConvUTF8); + const wxWX2MBbuf buf = s.mb_str(wxConvUTF8); m_outfile->Write(buf, strlen((const char *)buf)); m_OK = m_outfile->Ok(); }