From 3d1ea110264d0fdb79c302b0fa96e301fb67c578 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sun, 18 Jan 2015 21:41:32 +0100 Subject: Some more loplugin:cstylecast: unoxml Change-Id: I7467e033c998d9ee4283a146088c3b09d161f3cd --- unoxml/source/rdf/librdf_repository.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unoxml/source/rdf') 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(strchr(reinterpret_cast(pBuffer), '\n')); if (postcomment != NULL) { ++postcomment; -- cgit