editeng/source/uno/unoipset.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5f2b7007fd501025afa4a3ec62c4435bc8eaa18f
Author: Noel Grandin <n...@peralex.com>
Date:   Tue Jun 21 09:43:23 2016 +0200

    improve error message
    
    Change-Id: Id1408cb1d8f04b36ffab65b684a94b14db9d9c50

diff --git a/editeng/source/uno/unoipset.cxx b/editeng/source/uno/unoipset.cxx
index 3fd6de0..f325079 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<sal_uInt32>(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;
         }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to