diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-12-09 14:21:33 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-12-09 14:27:17 +1100 |
commit | 5757af8008cb6881e9a40ec2b4e28330bc4fef7f (patch) | |
tree | fbe4ec6c11d0ca802461ead4aba751f5801138f5 /vcl/source/gdi/gdimtf.cxx | |
parent | 54cbb57d4c3ccf1e1c8455ac413183edbdeb3416 (diff) |
vcl: add new metafile viewer demo - mainly for fdo#80503
This is going to be very helpful troubleshooting problems with metafiles
that just won't display.
Change-Id: I661dd40e04434a9c64a0f59d9310d36444601989
Diffstat (limited to 'vcl/source/gdi/gdimtf.cxx')
-rw-r--r-- | vcl/source/gdi/gdimtf.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx index cb7194953a96..20e4c2251315 100644 --- a/vcl/source/gdi/gdimtf.cxx +++ b/vcl/source/gdi/gdimtf.cxx @@ -2807,6 +2807,10 @@ SvStream& ReadGDIMetaFile( SvStream& rIStm, GDIMetaFile& rGDIMetaFile ) rIStm.SetNumberFormatInt( nOldFormat ); } + else + { + SAL_WARN("vcl.gdi", "Stream error: " << rIStm.GetError()); + } return rIStm; } |