diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2013-05-12 11:11:52 +1000 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-05-12 05:19:56 +0000 |
commit | 00fbf73b07adc4d8f0e37e36bb844f2e9d19ae15 (patch) | |
tree | 3e03e570c21ebf722f90d8a4ce1729fa12c4a66d /vcl | |
parent | fe93ea66cc3d75209ec535f34c260fd7414b0660 (diff) |
EMF+ fixes
A number of fixes have been made to commit
256e42646bedbeb9cba900f962f36ba4b1a1cda3:
* Missing redirect in SAL_WARN - only gets picked up when DBG_LEVEL > 1
* Some errant newlines in SAL_INFO
* Some missing braces
* Missing semi-colon fixed (!)
* Changed int to sal_Int32 (causing ambiguity error)
* Add dumpWords to the SAL_WARN that ensures that size is not greater
than length
* Show values when proessing EMF+ comment record (only enabled when
DBG_LEVEL > 2)
* Missing std::hex in SAL_INFO
Change-Id: I059ba24964dd428a56a31d100109cfec938a8a49
Reviewed-on: https://gerrit.libreoffice.org/3861
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/filter/wmf/enhwmf.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/filter/wmf/enhwmf.cxx b/vcl/source/filter/wmf/enhwmf.cxx index 9857c4c2eb7f..e0e69cf15bb5 100644 --- a/vcl/source/filter/wmf/enhwmf.cxx +++ b/vcl/source/filter/wmf/enhwmf.cxx @@ -466,7 +466,8 @@ sal_Bool EnhWMFReader::ReadEnhWMF() *pWMF >> length; - SAL_INFO("vcl.emf", "\tGDI comment\n\t\tlength: " << length); + SAL_INFO("vcl.emf", "\tGDI comment"); + SAL_INFO("vcl.emf", "\t\tlength: " << length); if( pWMF->good() && length >= 4 ) { sal_uInt32 id; |