diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-20 22:38:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-24 08:47:00 +0100 |
commit | 6525d1663f8d03e2c28e626fadc2e3e848798224 (patch) | |
tree | 4053fffa1b5a0e0d57b3587ef5c6dee7e2b61bbb /extensions | |
parent | dc5cb4d47dc7908ce2ea165cb9aa26ceca4f8701 (diff) |
-Werror,-Wenum-compare
Change-Id: I165daea216ac3b960d11dfece861f4fb21209ed0
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/ole/unoconversionutilities.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx index 02acbe5bfd02..0599c1ed609d 100644 --- a/extensions/source/ole/unoconversionutilities.hxx +++ b/extensions/source/ole/unoconversionutilities.hxx @@ -2071,7 +2071,7 @@ void UnoConversionUtilities<T>::dispatchExObject2Sequence( const VARIANTARG* pva else { // type after conversion must be the element type of the sequence - OSL_ENSURE( (any.getValueTypeClass() == typeElement), "wrong conversion"); + OSL_ENSURE(any.getValueTypeClass() == css::uno::TypeClass(typeElement), "wrong conversion"); uno_type_assignData( pDest, pSeqElemDescRef,const_cast<void*>( any.getValue()), any.getValueTypeRef(), cpp_queryInterface, cpp_acquire, cpp_release); } |