diff --git a/ASCOfficeOdfFile/ASCOfficeOdfFile/version.h b/ASCOfficeOdfFile/ASCOfficeOdfFile/version.h index 06d5249b56..f1305c20bf 100644 --- a/ASCOfficeOdfFile/ASCOfficeOdfFile/version.h +++ b/ASCOfficeOdfFile/ASCOfficeOdfFile/version.h @@ -2,6 +2,6 @@ //1 //0 //1 -//192 -#define INTVER 1,0,1,192 -#define STRVER "1,0,1,192\0" +//193 +#define INTVER 1,0,1,193 +#define STRVER "1,0,1,193\0" diff --git a/ASCOfficeOdfFile/src/docx/docx_drawing.cpp b/ASCOfficeOdfFile/src/docx/docx_drawing.cpp index 4db544119f..0c42b45d2c 100644 --- a/ASCOfficeOdfFile/src/docx/docx_drawing.cpp +++ b/ASCOfficeOdfFile/src/docx/docx_drawing.cpp @@ -284,7 +284,10 @@ void docx_serialize_shape(std::wostream & strm, _docx_drawing const & val) shapeType = _ooxShapeType[val.sub_type]; } - if (shapeType.length()<1)return; + if (shapeType.length()<1) + { + shapeType = L"rect"; + } CP_XML_WRITER(strm) {