From b388b9fc48ee0e92dfffef910f141a2ee338c413 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 19 Jan 2015 15:11:32 +0100 Subject: [PATCH] Some more loplugin:cstylecast: xmloff Change-Id: I45cb9467c618eed929c84656a26293c8d6087378 --- xmloff/source/style/impastpl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmloff/source/style/impastpl.cxx b/xmloff/source/style/impastpl.cxx index 5a54f78d0d04..3147edad34db 100644 --- a/xmloff/source/style/impastpl.cxx +++ b/xmloff/source/style/impastpl.cxx @@ -78,7 +78,7 @@ struct2string(void *data, result.append("{"); const typelib_CompoundTypeDescription *compoundType = - &((const typelib_StructTypeDescription*) type)->aBase; + &reinterpret_cast(type)->aBase; for (int i = 0; i < compoundType->nMembers; i++) {