]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/benchmarks/htmlparser/htmlpars.cpp
Extract compiler-specific macro definitions in a new wx/compiler.h.
[wxWidgets.git] / tests / benchmarks / htmlparser / htmlpars.cpp
index 3bc1dea94a7a5f97a1afedd9f6f53ab8ed6efe5e..7cb3b223621d49b088b259557a30a8c04d3c1c47 100644 (file)
@@ -295,7 +295,7 @@ void wx28HtmlParser::DoParsing(int begin_pos, int end_pos)
             // Add text:
             AddText(GetEntitiesParser()->Parse(
                        m_Source.Mid(pieces[m_CurTextPiece].m_pos,
-                                    pieces[m_CurTextPiece].m_lng)));
+                                    pieces[m_CurTextPiece].m_lng)).t_str());
             begin_pos = pieces[m_CurTextPiece].m_pos +
                         pieces[m_CurTextPiece].m_lng;
             m_CurTextPiece++;