diff options
author | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2021-06-02 17:01:55 +0200 |
---|---|---|
committer | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2021-06-02 19:40:50 +0200 |
commit | ff53b249885d788fa0539a0f7d5a9879d031d2ee (patch) | |
tree | 8e96a863727b205550b6bb58dcbf623ad4ac8edf /emfio/source/reader | |
parent | 3afac9467936fb3a5ae314878686c0f66ee7784f (diff) |
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 <gang65@poczta.onet.pl>
Diffstat (limited to 'emfio/source/reader')
-rw-r--r-- | emfio/source/reader/wmfreader.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
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; |