summaryrefslogtreecommitdiff
path: root/svtools/source/svrtf/rtfkeywd.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:28:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:28:33 +0200
commit95f03f49940f88ebd49a02e1d133cf83259eef47 (patch)
treea9c91e5f9719f2b5668bd2ffda66eae691194888 /svtools/source/svrtf/rtfkeywd.cxx
parent58f60b5108c584aa44f353f2fcbd07b81d474e48 (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I0df3b3737e02e6467fc9d71bc948a58797582173
Diffstat (limited to 'svtools/source/svrtf/rtfkeywd.cxx')
-rw-r--r--svtools/source/svrtf/rtfkeywd.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/svrtf/rtfkeywd.cxx b/svtools/source/svrtf/rtfkeywd.cxx
index b64a25fa5111..93f0092e15df 100644
--- a/svtools/source/svrtf/rtfkeywd.cxx
+++ b/svtools/source/svrtf/rtfkeywd.cxx
@@ -1209,7 +1209,7 @@ int GetRTFToken( const OUString& rSearch )
{
if( !bSortKeyWords )
{
- qsort( (void*) aRTFTokenTab,
+ qsort( static_cast<void*>(aRTFTokenTab),
sizeof( aRTFTokenTab ) / sizeof( RTF_TokenEntry ),
sizeof( RTF_TokenEntry ),
RTFKeyCompare );
@@ -1223,7 +1223,7 @@ int GetRTFToken( const OUString& rSearch )
aSrch.nToken = -1;
if( 0 != ( pFound = bsearch( &aSrch,
- (void*) aRTFTokenTab,
+ static_cast<void*>(aRTFTokenTab),
sizeof( aRTFTokenTab ) / sizeof( RTF_TokenEntry ),
sizeof( RTF_TokenEntry ),
RTFKeyCompare )))