summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2015-04-09 18:34:29 +0200
committerAndras Timar <andras.timar@collabora.com>2015-04-09 19:20:34 +0000
commit7dbaf2b093136bc0e85c255f9b8a7cdac73db4cf (patch)
tree169dcbe2042455d4ca64c4761743e9ecc7395c44 /vcl
parent91b914882948c6acbb2dd6442083b8c6ccd9cf17 (diff)
more verbose debug message from WMFWriter::WriteRecords
Change-Id: Iebdc66d1c994e3702efa5609fb36b5b2b9273c86 Reviewed-on: https://gerrit.libreoffice.org/15217 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/filter/wmf/wmfwr.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/source/filter/wmf/wmfwr.cxx b/vcl/source/filter/wmf/wmfwr.cxx
index 9dcf64459367..2b6e6a40ddcd 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;
}