X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8da2fe8b423303b23fc9eb88a2ddfa2f5cdff55a..81f6ea4a29eb815dbed0adea369efdc8fece0269:/src/html/m_list.cpp?ds=inline diff --git a/src/html/m_list.cpp b/src/html/m_list.cpp index 9dc8f018a9..844cc73d71 100644 --- a/src/html/m_list.cpp +++ b/src/html/m_list.cpp @@ -6,13 +6,9 @@ // Copyright: (c) 1999 Vaclav Slavik // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation -#endif #include "wx/wxprec.h" - #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS @@ -257,9 +253,9 @@ TAG_HANDLER_BEGIN(OLULLI, "OL,UL,LI") else { c->SetAlignHor(wxHTML_ALIGN_RIGHT); - wxString mark; - mark.Printf(wxT("%i."), m_Numbering); - c->InsertCell(new wxHtmlWordCell(mark, *(m_WParser->GetDC()))); + wxString markStr; + markStr.Printf(wxT("%i."), m_Numbering); + c->InsertCell(new wxHtmlWordCell(markStr, *(m_WParser->GetDC()))); } m_WParser->CloseContainer();