// common conversion routines
// ---------------------------------------------------------------------------
-size_t wxString::WorstEncodingCase(size_t len, wxMBConv& WXUNUSED(conv))
+size_t wxString::WorstEncodingCase(size_t len, const wxMBConv& WXUNUSED(conv))
{
//Worst case for UTF7
return len * 5;