| 1864 | |
| 1865 | |
| 1866 | XMLError XMLDocument::SaveFile( const char* filename, bool compact ) |
| 1867 | { |
| 1868 | FILE* fp = callfopen( filename, "w" ); |
| 1869 | if ( !fp ) { |
| 1870 | SetError( XML_ERROR_FILE_COULD_NOT_BE_OPENED, filename, 0 ); |
| 1871 | return _errorID; |
| 1872 | } |
| 1873 | SaveFile(fp, compact); |
| 1874 | fclose( fp ); |
| 1875 | return _errorID; |
| 1876 | } |
| 1877 | |
| 1878 | |
| 1879 | XMLError XMLDocument::SaveFile( FILE* fp, bool compact ) |
nothing calls this directly
no test coverage detected