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

Noel Grandin noel at peralex.com
Tue Jun 21 07:44:04 UTC 2016


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

New commits:
commit 5f2b7007fd501025afa4a3ec62c4435bc8eaa18f
Author: Noel Grandin <noel at 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;
         }


More information about the Libreoffice-commits mailing list