| 2046 | |
| 2047 | |
| 2048 | XMLError XMLDocument::SaveFile( const char* filename, bool compact ) |
| 2049 | { |
| 2050 | FILE* fp = callfopen( filename, "w" ); |
| 2051 | if ( !fp ) { |
| 2052 | SetError( XML_ERROR_FILE_COULD_NOT_BE_OPENED, filename, 0 ); |
| 2053 | return _errorID; |
| 2054 | } |
| 2055 | SaveFile(fp, compact); |
| 2056 | fclose( fp ); |
| 2057 | return _errorID; |
| 2058 | } |
| 2059 | |
| 2060 | |
| 2061 | XMLError XMLDocument::SaveFile( FILE* fp, bool compact ) |
nothing calls this directly
no test coverage detected