Kaydet (Commit) 63de6ba2 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

There is no css::uno::Sequence<sal_uInt8> in UNO

Change-Id: Ibf5095fea20314180a4e002295c89f570d66d45f
üst 39ce314c
...@@ -333,18 +333,6 @@ bool compare_impl(const Type& _rType, const void* pData, const Any& _rValue) ...@@ -333,18 +333,6 @@ bool compare_impl(const Type& _rType, const void* pData, const Any& _rValue)
memcmp(rLeftSeq.getConstArray(), rRightSeq.getConstArray(), rLeftSeq.getLength()) == 0; memcmp(rLeftSeq.getConstArray(), rRightSeq.getConstArray(), rLeftSeq.getLength()) == 0;
} }
} }
else if (_rType == cppu::UnoType<Sequence<sal_uInt8>>::get())
{
Sequence<sal_uInt8> aTemp;
bConversionSuccess = _rValue >>= aTemp;
if (bConversionSuccess)
{
const Sequence<sal_uInt8>& rLeftSeq = *static_cast<const Sequence<sal_uInt8>*>(pData);
const Sequence<sal_uInt8>& rRightSeq = aTemp;
bRes = rLeftSeq.getLength() == rRightSeq.getLength() &&
memcmp(rLeftSeq.getConstArray(), rRightSeq.getConstArray(), rLeftSeq.getLength()) == 0;
}
}
else if (_rType == cppu::UnoType<Sequence<sal_Int16>>::get()) else if (_rType == cppu::UnoType<Sequence<sal_Int16>>::get())
{ {
Sequence<sal_Int16> aTemp; Sequence<sal_Int16> aTemp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment