| 1367 | } |
| 1368 | |
| 1369 | XMLText* XMLDocument::NewText(const char* str) { |
| 1370 | XMLText* text = new (_textPool.Alloc()) XMLText(this); |
| 1371 | text->_memPool = &_textPool; |
| 1372 | text->SetValue(str); |
| 1373 | return text; |
| 1374 | } |
| 1375 | |
| 1376 | XMLDeclaration* XMLDocument::NewDeclaration(const char* str) { |
| 1377 | XMLDeclaration* dec = new (_commentPool.Alloc()) XMLDeclaration(this); |
no test coverage detected