]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_list.cpp
removed #errors in 2.7 compilation
[wxWidgets.git] / src / html / m_list.cpp
index 9dc8f018a94cb11a24034a1a60a312819c969fa8..844cc73d71a4c92cbc9570d5b6006a3ccb24452c 100644 (file)
@@ -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();