From ff53b249885d788fa0539a0f7d5a9879d031d2ee Mon Sep 17 00:00:00 2001 From: Bartosz Kosiorek Date: Wed, 2 Jun 2021 17:01:55 +0200 Subject: 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 --- emfio/source/reader/wmfreader.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'emfio/source/reader/wmfreader.cxx') 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; -- cgit