[Libreoffice-commits] core.git: vcl/source

Andras Timar andras.timar at collabora.com
Thu Apr 9 12:20:57 PDT 2015


 vcl/source/filter/wmf/wmfwr.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 7dbaf2b093136bc0e85c255f9b8a7cdac73db4cf
Author: Andras Timar <andras.timar at collabora.com>
Date:   Thu Apr 9 18:34:29 2015 +0200

    more verbose debug message from WMFWriter::WriteRecords
    
    Change-Id: Iebdc66d1c994e3702efa5609fb36b5b2b9273c86
    Reviewed-on: https://gerrit.libreoffice.org/15217
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/vcl/source/filter/wmf/wmfwr.cxx b/vcl/source/filter/wmf/wmfwr.cxx
index 9dcf644..2b6e6a4 100644
--- a/vcl/source/filter/wmf/wmfwr.cxx
+++ b/vcl/source/filter/wmf/wmfwr.cxx
@@ -25,6 +25,7 @@
 #include <unotools/fontcvt.hxx>
 #include "emfwr.hxx"
 #include <rtl/crc.h>
+#include <rtl/strbuf.hxx>
 #include <rtl/tencinfo.h>
 #include <tools/bigint.hxx>
 #include <tools/helpers.hxx>
@@ -1630,7 +1631,9 @@ void WMFWriter::WriteRecords( const GDIMetaFile & rMTF )
 
                 default:
                 {
-                    OSL_FAIL( "Unsupported meta action!" );
+                    OSL_FAIL(OStringBuffer(
+                        "WMFWriter::WriteRecords: unsupported MetaAction #" ).
+                         append(static_cast<sal_Int32>(pMA->GetType())).getStr());
                 }
                 break;
           }


More information about the Libreoffice-commits mailing list