mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
fix misleading indentation in miniz, missing header, and missing forward declarations
This commit is contained in:
parent
05fb40438c
commit
4b174ab268
|
@ -22,6 +22,7 @@
|
||||||
// @author: see AUTHORS file
|
// @author: see AUTHORS file
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
#include <cstring>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
|
@ -3851,7 +3851,7 @@ mz_bool mz_zip_reader_init_file_v2(mz_zip_archive *pZip, const char *pFilename,
|
||||||
if ((!pZip) || (!pFilename) || ((archive_size) && (archive_size < MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE)))
|
if ((!pZip) || (!pFilename) || ((archive_size) && (archive_size < MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE)))
|
||||||
return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER);
|
return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER);
|
||||||
|
|
||||||
pFile = MZ_FOPEN(pFilename, "rb");
|
pFile = MZ_FOPEN(pFilename, "rb");
|
||||||
if (!pFile)
|
if (!pFile)
|
||||||
return mz_zip_set_error(pZip, MZ_ZIP_FILE_OPEN_FAILED);
|
return mz_zip_set_error(pZip, MZ_ZIP_FILE_OPEN_FAILED);
|
||||||
|
|
||||||
|
|
|
@ -35,8 +35,11 @@ class serializer;
|
||||||
|
|
||||||
namespace xlnt {
|
namespace xlnt {
|
||||||
|
|
||||||
|
class border;
|
||||||
class cell_reference;
|
class cell_reference;
|
||||||
class color;
|
class color;
|
||||||
|
class fill;
|
||||||
|
class font;
|
||||||
class path;
|
class path;
|
||||||
class relationship;
|
class relationship;
|
||||||
class workbook;
|
class workbook;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user