summaryrefslogtreecommitdiff
path: root/helpcompiler/source/LuceneHelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'helpcompiler/source/LuceneHelper.cxx')
-rw-r--r--helpcompiler/source/LuceneHelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpcompiler/source/LuceneHelper.cxx b/helpcompiler/source/LuceneHelper.cxx
index a8e8f6429715..7002162a7862 100644
--- a/helpcompiler/source/LuceneHelper.cxx
+++ b/helpcompiler/source/LuceneHelper.cxx
@@ -30,10 +30,10 @@ OUString TCHARArrayToOUString(TCHAR const *str)
{
// UTF-16
if (sizeof(TCHAR) == sizeof(sal_Unicode))
- return OUString((const sal_Unicode*)(str));
+ return OUString(reinterpret_cast<const sal_Unicode*>(str));
// UTF-32
- return OUString((const sal_uInt32*)str, wcslen(str));
+ return OUString(reinterpret_cast<const sal_uInt32*>(str), wcslen(str));
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */