From 5f2b7007fd501025afa4a3ec62c4435bc8eaa18f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 21 Jun 2016 09:43:23 +0200 Subject: improve error message Change-Id: Id1408cb1d8f04b36ffab65b684a94b14db9d9c50 --- editeng/source/uno/unoipset.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editeng/source/uno/unoipset.cxx b/editeng/source/uno/unoipset.cxx index 3fd6de0310ab..f325079d6eba 100644 --- a/editeng/source/uno/unoipset.cxx +++ b/editeng/source/uno/unoipset.cxx @@ -302,7 +302,7 @@ void SvxUnoConvertToMM( const SfxMapUnit eSourceMapUnit, uno::Any & rMetric ) th rMetric <<= (sal_uInt32)(TWIPS_TO_MM(*o3tl::forceAccess(rMetric))); break; default: - OSL_FAIL("AW: Missing unit translation to 100th mm!"); + OSL_FAIL(OString("AW: Missing unit translation to 100th mm, " + OString::number(rMetric.getValueTypeClass())).getStr()); } break; } -- cgit