summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-19 14:04:47 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-19 14:48:28 +0200
commit63de6ba249a0e4349b66442821ad73aff71f25d8 (patch)
tree1cf800b4965ab45989b9137e2f4050990df213ee /comphelper
parent39ce314c12e3570c074475c7809c3b37b2241c41 (diff)
There is no css::uno::Sequence<sal_uInt8> in UNO
Change-Id: Ibf5095fea20314180a4e002295c89f570d66d45f
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/types.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/comphelper/source/misc/types.cxx b/comphelper/source/misc/types.cxx
index 06afb83e4b3c..025000dcb911 100644
--- a/comphelper/source/misc/types.cxx
+++ b/comphelper/source/misc/types.cxx
@@ -333,18 +333,6 @@ bool compare_impl(const Type& _rType, const void* pData, const Any& _rValue)
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())
{
Sequence<sal_Int16> aTemp;