emfio/source/reader/wmfreader.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
New commits: commit ff53b249885d788fa0539a0f7d5a9879d031d2ee Author: Bartosz Kosiorek <gan...@poczta.onet.pl> AuthorDate: Wed Jun 2 17:01:55 2021 +0200 Commit: Bartosz Kosiorek <gan...@poczta.onet.pl> CommitDate: Wed Jun 2 19:40:50 2021 +0200 WMF: add more SAL warnings in case record was not implemented Change-Id: I1d58c4093817403caa5f1112b5d4d5a4e638b799 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116618 Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek <gan...@poczta.onet.pl> diff --git a/emfio/source/reader/wmfreader.cxx b/emfio/source/reader/wmfreader.cxx index f14949135ad4..b3998e2e811b 100644 --- a/emfio/source/reader/wmfreader.cxx +++ b/emfio/source/reader/wmfreader.cxx @@ -1125,18 +1125,21 @@ namespace emfio case W_META_CREATEBITMAPINDIRECT: { + SAL_WARN( "emfio", "TODO: W_META_CREATEBITMAPINDIRECT is not implemented. Please fill the bug report" ); CreateObject(); } break; case W_META_CREATEBITMAP: { + SAL_WARN( "emfio", "TODO: W_META_CREATEBITMAP is not implemented. Please fill the bug report" ); CreateObject(); } break; case W_META_CREATEREGION: { + SAL_WARN( "emfio", "TODO: W_META_CREATEREGION is not implemented. Please fill the bug report" ); CreateObject(); } break; @@ -1161,8 +1164,9 @@ namespace emfio case W_META_SELECTCLIPREGION: { - sal_Int16 nObjIndex = 0; - mpInputStream->ReadInt16( nObjIndex ); + sal_uInt16 nObjIndex; + mpInputStream->ReadUInt16( nObjIndex ); + SAL_WARN( "emfio", "TODO: W_META_SELECTCLIPREGION is not implemented. Please fill the bug report" ); if ( !nObjIndex ) { tools::PolyPolygon aEmptyPolyPoly; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits