No changes, just remove unused variable from wxSVGFileDCImpl.

sWarn was never used, drop it.

See #14462.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2012-10-24 23:39:55 +00:00
parent c66bfe457c
commit 5d9dd2c6e1

View File

@ -538,7 +538,7 @@ void wxSVGFileDCImpl::NewGraphicsIfNeeded()
m_graphics_changed = false;
wxString s, sBrush, sPenCap, sPenJoin, sPenStyle, sLast, sWarn;
wxString s, sBrush, sPenCap, sPenJoin, sPenStyle, sLast;
sBrush = wxT("</g>\n<g style=\"") + wxBrushString ( m_brush.GetColour(), m_brush.GetStyle() )
+ wxPenString(m_pen.GetColour(), m_pen.GetStyle());
@ -572,7 +572,7 @@ void wxSVGFileDCImpl::NewGraphicsIfNeeded()
sLast.Printf( wxT("stroke-width:%d\" \n transform=\"translate(%s %s) scale(%s %s)\">"),
m_pen.GetWidth(), NumStr(m_logicalOriginX), NumStr(m_logicalOriginY), NumStr(m_scaleX), NumStr(m_scaleY) );
s = sBrush + sPenCap + sPenJoin + sPenStyle + sLast + wxT("\n") + sWarn;
s = sBrush + sPenCap + sPenJoin + sPenStyle + sLast + wxT("\n");
write(s);
}