summaryrefslogtreecommitdiff
path: root/sfx2/source/control/dispatch.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:06:33 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:25 +0100
commit65e9940d8d13e0e2ac9cac3421955124d1c73390 (patch)
tree089685d7ac1e2978bba363900b02b9f3cc015452 /sfx2/source/control/dispatch.cxx
parent8d6c8d7fa0a4c56ebcf9d141d8cd99706d756991 (diff)
Clean up C-style casts from pointers to void
Change-Id: I717c260ecdc378a9fd33494f2b98eccec0417d66
Diffstat (limited to 'sfx2/source/control/dispatch.cxx')
-rw-r--r--sfx2/source/control/dispatch.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index 142646dc19f9..f7b2961ad309 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -1610,7 +1610,7 @@ void SfxDispatcher::SetSlotFilter(SfxSlotFilterState nEnable,
extern "C" int SAL_CALL SfxCompareSIDs_Impl(const void* pSmaller, const void* pBigger)
{
- return ( (long) *((sal_uInt16*)pSmaller) ) - ( (long) *((sal_uInt16*)pBigger) );
+ return ( (long) *static_cast<sal_uInt16 const *>(pSmaller) ) - ( (long) *static_cast<sal_uInt16 const *>(pBigger) );
}
/** Searches for 'nSID' in the Filter set by <SetSlotFilter()> and