diff options
Diffstat (limited to 'binaryurp')
-rw-r--r-- | binaryurp/source/binaryany.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/binaryurp/source/binaryany.cxx b/binaryurp/source/binaryany.cxx index a1994178c8d0..f6fffc063541 100644 --- a/binaryurp/source/binaryany.cxx +++ b/binaryurp/source/binaryany.cxx @@ -70,10 +70,10 @@ css::uno::TypeDescription BinaryAny::getType() const throw () { void * BinaryAny::getValue(css::uno::TypeDescription const & type) const throw () { + assert(type.is()); assert( - type.is() && - (type.get()->eTypeClass == typelib_TypeClass_ANY || - type.equals(css::uno::TypeDescription(data_.pType)))); + type.get()->eTypeClass == typelib_TypeClass_ANY || + type.equals(css::uno::TypeDescription(data_.pType))); return type.get()->eTypeClass == typelib_TypeClass_ANY ? &data_ : data_.pData; } |