summaryrefslogtreecommitdiff
path: root/binaryurp
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-09 16:42:09 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-09 16:42:42 +0100
commit31498259bb801dee7bb2d7cb2b40162876116aa4 (patch)
treebd59dee7607b636f052f8ad51f34d830aa52c2a4 /binaryurp
parent97a8b3ed5e5bd42e213d3230fa764b0f5d10f0f2 (diff)
loplugin:cstylecast: warn about certain redundant reinterpret_casts
Change-Id: Iaa46849742c215798722d03d9ee59bb39d8033f7
Diffstat (limited to 'binaryurp')
-rw-r--r--binaryurp/source/unmarshal.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/binaryurp/source/unmarshal.cxx b/binaryurp/source/unmarshal.cxx
index d04c8893265d..f34bfd3b4eb6 100644
--- a/binaryurp/source/unmarshal.cxx
+++ b/binaryurp/source/unmarshal.cxx
@@ -465,7 +465,7 @@ BinaryAny Unmarshal::readSequence(css::uno::TypeDescription const & type) {
static_cast< sal_Sequence * >(buf)->elements + i * ctd.get()->nSize,
const_cast< void * >(as[i].getValue(ctd)), ctd.get(), 0);
}
- return BinaryAny(type, reinterpret_cast< sal_Sequence ** >(&buf));
+ return BinaryAny(type, &buf);
}
void Unmarshal::readMemberValues(