summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-28 13:50:17 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-28 13:50:37 +0100
commit4e3da621fe26c2ad85258692c63a044d0541bd64 (patch)
tree05607d0de471c5d9451b197945243f735ee168b0 /lotuswordpro
parent4b60941b60262be4861f5e8fba95366d3187c445 (diff)
Some more loplugin:cstylecast clean-up
Change-Id: I132d22e2af3cf673c17d8964f690d48990834884
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwptools.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/lotuswordpro/source/filter/lwptools.cxx b/lotuswordpro/source/filter/lwptools.cxx
index 7015651dc309..72a86e04f8ec 100644
--- a/lotuswordpro/source/filter/lwptools.cxx
+++ b/lotuswordpro/source/filter/lwptools.cxx
@@ -261,13 +261,13 @@ XFDateStyle* LwpTools::GetSystemDateStyle(bool bLongFormat)
UErrorCode status = U_ZERO_ERROR;
UChar* pattern = NULL;
- nLengthNeed = udat_toPattern((void *const *)fmt,sal_False,NULL,nLength,&status);
+ nLengthNeed = udat_toPattern(reinterpret_cast<void **>(fmt),sal_False,NULL,nLength,&status);
if (status == U_BUFFER_OVERFLOW_ERROR)
{
status = U_ZERO_ERROR;
nLength = nLengthNeed +1;
pattern = (UChar*)malloc(sizeof(UChar)*nLength);
- udat_toPattern((void *const *)fmt,sal_False,pattern,nLength,&status);
+ udat_toPattern(reinterpret_cast<void **>(fmt),sal_False,pattern,nLength,&status);
}
if (pattern == NULL)
return NULL;
@@ -649,13 +649,13 @@ XFTimeStyle* LwpTools::GetSystemTimeStyle()
int32_t nLengthNeed;
UErrorCode status = U_ZERO_ERROR;
UChar* pattern = NULL;
- nLengthNeed = udat_toPattern((void *const *)fmt,false,NULL,nLength,&status);
+ nLengthNeed = udat_toPattern(reinterpret_cast<void **>(fmt),false,NULL,nLength,&status);
if (status == U_BUFFER_OVERFLOW_ERROR)
{
status = U_ZERO_ERROR;
nLength = nLengthNeed +1;
pattern = (UChar*)malloc(sizeof(UChar)*nLength);
- udat_toPattern((void *const *)fmt,false,pattern,nLength,&status);
+ udat_toPattern(reinterpret_cast<void **>(fmt),false,pattern,nLength,&status);
}
if (pattern == NULL)