diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-29 15:13:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-29 15:13:45 +0200 |
commit | a52cf476e7cec9d0c70dd4ee93cbd328b66479ad (patch) | |
tree | 9e03f530d36c1c65f0db9d8698677e802137b3bb /sc/inc | |
parent | c266ba458f444e5f4a4bafbf4073710c31897536 (diff) |
Clean up template-parameter-dependent C-style casts
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/stlalgorithm.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/stlalgorithm.hxx b/sc/inc/stlalgorithm.hxx index 3c7014446fa4..6446097ed57b 100644 --- a/sc/inc/stlalgorithm.hxx +++ b/sc/inc/stlalgorithm.hxx @@ -65,7 +65,7 @@ public: pointer allocate(size_type n) { - return (pointer)rtl_allocateAlignedMemory(_Alignment, n*sizeof(value_type)); + return static_cast<pointer>(rtl_allocateAlignedMemory(_Alignment, n*sizeof(value_type))); } void deallocate(pointer p, size_type) |