diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-07-08 00:00:34 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-07-10 11:35:30 +0000 |
commit | 272e761a13a6f58333cd574831852233e688d934 (patch) | |
tree | 473648cd88ad271f94394cd6bcce751ebda388d3 /binaryurp | |
parent | f5af917e3b91037002419ba33c6921a74ca7d4e1 (diff) |
split the assert into two
Change-Id: Iab515327c9ba6ad9b22d68971f097b6848e704ea
Reviewed-on: https://gerrit.libreoffice.org/27084
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
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; } |