From 31498259bb801dee7bb2d7cb2b40162876116aa4 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 9 Jan 2015 16:42:09 +0100 Subject: loplugin:cstylecast: warn about certain redundant reinterpret_casts Change-Id: Iaa46849742c215798722d03d9ee59bb39d8033f7 --- binaryurp/source/unmarshal.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'binaryurp') 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( -- cgit