summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-17 18:46:47 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-20 09:06:48 +0100
commitd69fb68f3074cea073d82f9d8c88756d2b169e42 (patch)
treea42801e20bd493fc47c0b6b5b95e1e6786d36c6a /framework
parent74b0c5d0bb91977a2392c8a58bba7f13595e4bfb (diff)
Some more loplugin:cstylecast: framework
Change-Id: Iebd80b596bcc1f740ff9f3b0f168472144cacbed
Diffstat (limited to 'framework')
-rw-r--r--framework/source/fwe/classes/imagewrapper.cxx2
-rw-r--r--framework/source/fwe/classes/rootactiontriggercontainer.cxx2
-rw-r--r--framework/source/recording/dispatchrecorder.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/fwe/classes/imagewrapper.cxx b/framework/source/fwe/classes/imagewrapper.cxx
index 9f3df1fcc6dd..6120a04480fe 100644
--- a/framework/source/fwe/classes/imagewrapper.cxx
+++ b/framework/source/fwe/classes/imagewrapper.cxx
@@ -35,7 +35,7 @@ namespace framework
static Sequence< sal_Int8 > impl_getStaticIdentifier()
{
static const sal_uInt8 pGUID[16] = { 0x46, 0xAD, 0x69, 0xFB, 0xA7, 0xBE, 0x44, 0x83, 0xB2, 0xA7, 0xB3, 0xEC, 0x59, 0x4A, 0xB7, 0x00 };
- static ::com::sun::star::uno::Sequence< sal_Int8 > seqID((const sal_Int8*)pGUID,16);
+ static ::com::sun::star::uno::Sequence< sal_Int8 > seqID(reinterpret_cast<const sal_Int8*>(pGUID), 16);
return seqID;
}
diff --git a/framework/source/fwe/classes/rootactiontriggercontainer.cxx b/framework/source/fwe/classes/rootactiontriggercontainer.cxx
index 65889207f885..18cae1562ed8 100644
--- a/framework/source/fwe/classes/rootactiontriggercontainer.cxx
+++ b/framework/source/fwe/classes/rootactiontriggercontainer.cxx
@@ -40,7 +40,7 @@ namespace framework
static Sequence< sal_Int8 > impl_getStaticIdentifier()
{
static const sal_uInt8 pGUID[16] = { 0x17, 0x0F, 0xA2, 0xC9, 0xCA, 0x50, 0x4A, 0xD3, 0xA6, 0x3B, 0x39, 0x99, 0xC5, 0x96, 0x43, 0x27 };
- static ::com::sun::star::uno::Sequence< sal_Int8 > seqID((const sal_Int8*)pGUID,16);
+ static ::com::sun::star::uno::Sequence< sal_Int8 > seqID(reinterpret_cast<const sal_Int8*>(pGUID), 16);
return seqID;
}
diff --git a/framework/source/recording/dispatchrecorder.cxx b/framework/source/recording/dispatchrecorder.cxx
index ea28b7decfe0..3de9ef6356b0 100644
--- a/framework/source/recording/dispatchrecorder.cxx
+++ b/framework/source/recording/dispatchrecorder.cxx
@@ -82,8 +82,8 @@ Sequence< Any > make_seq_out_of_struct(
}
::std::vector< Any > vec;
- vec.reserve( ((typelib_CompoundTypeDescription *)pTD)->nMembers ); // good guess
- flatten_struct_members( &vec, val.getValue(), (typelib_CompoundTypeDescription *)pTD );
+ vec.reserve( reinterpret_cast<typelib_CompoundTypeDescription *>(pTD)->nMembers ); // good guess
+ flatten_struct_members( &vec, val.getValue(), reinterpret_cast<typelib_CompoundTypeDescription *>(pTD) );
TYPELIB_DANGER_RELEASE( pTD );
return Sequence< Any >( &vec[ 0 ], vec.size() );
}