git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30178
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
static wxString FormatV(const wxChar *pszFormat, va_list argptr);
// returns the highest possible memory allocation for encoding
static wxString FormatV(const wxChar *pszFormat, va_list argptr);
// returns the highest possible memory allocation for encoding
- static size_t WorstEncodingCase(size_t len, wxMBConv& conv);
+ static size_t WorstEncodingCase(size_t len, const wxMBConv& conv);
// raw access to string memory
// ensure that string has space for at least nLen characters
// raw access to string memory
// ensure that string has space for at least nLen characters
// common conversion routines
// ---------------------------------------------------------------------------
// 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;
{
//Worst case for UTF7
return len * 5;