summaryrefslogtreecommitdiff
path: root/unoxml/source/rdf
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-18 21:41:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-20 09:06:53 +0100
commit3d1ea110264d0fdb79c302b0fa96e301fb67c578 (patch)
treeb30d792bc0f0fe45bbea347cb147cb05aeac2114 /unoxml/source/rdf
parent1f041f92b47ad8c3fbbcd37aead60cf000d4355d (diff)
Some more loplugin:cstylecast: unoxml
Change-Id: I7467e033c998d9ee4283a146088c3b09d161f3cd
Diffstat (limited to 'unoxml/source/rdf')
-rw-r--r--unoxml/source/rdf/librdf_repository.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx
index f768f7944471..b53c744edccf 100644
--- a/unoxml/source/rdf/librdf_repository.cxx
+++ b/unoxml/source/rdf/librdf_repository.cxx
@@ -1074,7 +1074,7 @@ void addChaffWhenEncryptedStorage(const uno::Reference< io::XOutputStream > &rSt
else
{
unsigned char *postcomment =
- (unsigned char*)strchr((const char*)pBuffer, '\n');
+ reinterpret_cast<unsigned char*>(strchr(reinterpret_cast<char*>(pBuffer), '\n'));
if (postcomment != NULL)
{
++postcomment;