[Libreoffice-commits] core.git: extensions/source
Stephan Bergmann
sbergman at redhat.com
Wed May 4 11:17:04 UTC 2016
extensions/source/ole/unoconversionutilities.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6d1c52c5f79541d6129c83e7b4cdc2d5975e2e00
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed May 4 13:16:36 2016 +0200
Fix Windows-only code, part 2
Change-Id: I5e860cd88e851b7bce5fa503108ffe61a36c0817
diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx
index 5698558..1518199 100644
--- a/extensions/source/ole/unoconversionutilities.hxx
+++ b/extensions/source/ole/unoconversionutilities.hxx
@@ -1564,7 +1564,7 @@ void UnoConversionUtilities<T>::variantToAny( const VARIANT* pVariant, Any& rAny
rAny.setValue( & var.cVal, cppu::UnoType<sal_Int8>::get());
break;
case VT_UI1: // there is no unsigned char in UNO
- rAny.setValue( & var.bVal, cppu::UnoType<sal_Int8>::get());
+ rAny <<= sal_Int8(var.bVal);
break;
case VT_UI2:
rAny.setValue( & var.uiVal, cppu::UnoType<cppu::UnoUnsignedShortType>::get() );
More information about the Libreoffice-commits
mailing list