| 1086 | |
| 1087 | |
| 1088 | XMLNode* XMLText::ShallowClone( XMLDocument* doc ) const |
| 1089 | { |
| 1090 | if ( !doc ) { |
| 1091 | doc = _document; |
| 1092 | } |
| 1093 | XMLText* text = doc->NewText( Value() ); // fixme: this will always allocate memory. Intern? |
| 1094 | text->SetCData( this->CData() ); |
| 1095 | return text; |
| 1096 | } |
| 1097 | |
| 1098 | |
| 1099 | bool XMLText::ShallowEqual( const XMLNode* compare ) const |
nothing calls this directly
no test coverage detected