summaryrefslogtreecommitdiff
path: root/sw/source/filter/basflt/iodetect.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-22 08:11:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-22 08:13:42 +0100
commite6c124ae3b4de78848344a172003de934e1cb163 (patch)
tree99bbb9c600af26b18842ef33fca9790685d55ccc /sw/source/filter/basflt/iodetect.cxx
parent08bdb40656898fc484f5200b63610a31369ddd87 (diff)
Some more loplugin:cstylecast: sw
note the two TODOs about suspicious casts Change-Id: I324fa05b30a5c8aa1d9e9a6d488a1e295226e788
Diffstat (limited to 'sw/source/filter/basflt/iodetect.cxx')
-rw-r--r--sw/source/filter/basflt/iodetect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/basflt/iodetect.cxx b/sw/source/filter/basflt/iodetect.cxx
index 3ab18d83be1f..cef4d239ab84 100644
--- a/sw/source/filter/basflt/iodetect.cxx
+++ b/sw/source/filter/basflt/iodetect.cxx
@@ -302,7 +302,7 @@ bool SwIoSystem::IsDetectableText(const sal_Char* pBuf, sal_uLong &rLen,
if (bLE != bNativeLE)
{
bSwap = true;
- sal_Char* pF = (sal_Char*)pNewBuf;
+ sal_Char* pF = reinterpret_cast<char*>(pNewBuf);
sal_Char* pN = pF+1;
for(sal_uLong n = 0; n < nNewLen; ++n, pF+=2, pN+=2 )
{