summaryrefslogtreecommitdiff
path: root/jvmfwk/source/fwkutil.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-17 18:48:45 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-20 09:06:49 +0100
commit9c0cb4556283fdbe8e5bf9c0a7bc56945d2279e7 (patch)
tree335be8dbf80b24fd8699c254c2d16733965c9f07 /jvmfwk/source/fwkutil.cxx
parent62edaa0f8fd95a7f0c980d2bd36535f173a99003 (diff)
Some more loplugin:cstylecast: jvmfwk
Change-Id: Iaa1be4b338b75c340555eb4bf0760cadca16713f
Diffstat (limited to 'jvmfwk/source/fwkutil.cxx')
-rw-r--r--jvmfwk/source/fwkutil.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/jvmfwk/source/fwkutil.cxx b/jvmfwk/source/fwkutil.cxx
index fc8feb37da31..fcb622f2728a 100644
--- a/jvmfwk/source/fwkutil.cxx
+++ b/jvmfwk/source/fwkutil.cxx
@@ -134,7 +134,7 @@ rtl::ByteSequence encodeBase16(const rtl::ByteSequence& rawData)
pCurBuf++;
}
- rtl::ByteSequence ret((sal_Int8*) pBuf.get(), lenRaw * 2);
+ rtl::ByteSequence ret(reinterpret_cast<sal_Int8*>(pBuf.get()), lenRaw * 2);
return ret;
}
@@ -173,7 +173,7 @@ rtl::ByteSequence decodeBase16(const rtl::ByteSequence& data)
}
pBuf[i] = nibble;
}
- rtl::ByteSequence ret((sal_Int8*) pBuf.get(), lenBuf );
+ rtl::ByteSequence ret(reinterpret_cast<sal_Int8*>(pBuf.get()), lenBuf );
return ret;
}