| 905 | |
| 906 | |
| 907 | XMLNode* XMLText::ShallowClone( XMLDocument* doc ) const { |
| 908 | if ( !doc ) { |
| 909 | doc = _document; |
| 910 | } |
| 911 | XMLText* text = doc->NewText( Value() ); // fixme: this will always allocate memory. Intern? |
| 912 | text->SetCData( this->CData() ); |
| 913 | return text; |
| 914 | } |
| 915 | |
| 916 | |
| 917 | bool XMLText::ShallowEqual( const XMLNode* compare ) const { |
nothing calls this directly
no test coverage detected