From 1bfdea75d23d79e8b0d2d7c1548d716d0ca27488 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 28 Mar 2015 19:08:34 +0100 Subject: Clean up C-style casts from pointers to void Change-Id: Ie42bd7a48391615ea8f48b24d6bfe2bbebb31a0b --- xmlhelp/source/cxxhelp/provider/urlparameter.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx index 6deea999a7e9..6c86d789e587 100644 --- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx +++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx @@ -783,7 +783,7 @@ helpOpen(const char * URI) { static int helpRead(void * context, char * buffer, int len) { - Reference< XInputStream > *pRef = (Reference< XInputStream >*)context; + Reference< XInputStream > *pRef = static_cast*>(context); Sequence< sal_Int8 > aSeq; len = (*pRef)->readBytes( aSeq,len); @@ -800,7 +800,7 @@ zipRead(void * context, char * buffer, int len) { static int fileRead(void * context, char * buffer, int len) { int nRead = 0; - osl::File *pFile = (osl::File*)context; + osl::File *pFile = static_cast(context); if (pFile) { sal_uInt64 uRead = 0; @@ -812,14 +812,14 @@ fileRead(void * context, char * buffer, int len) { static int uriClose(void * context) { - Reference< XInputStream > *pRef = (Reference< XInputStream >*)context; + Reference< XInputStream > *pRef = static_cast*>(context); delete pRef; return 0; } static int fileClose(void * context) { - osl::File *pFile = (osl::File*)context; + osl::File *pFile = static_cast(context); if (pFile) { pFile->close(); -- cgit ibreoffice-6-2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2015-12-18dbaccess: module_dba not used anymoreMatúš Kukan
2014-05-11update_pch: add dbaThomas Arnhold
2013-09-10Remove unneeded lines.Andrzej J.R. Hunt
2013-08-16Do not use this ptr in ctorStephan Bergmann
2013-07-16Create new fdb and/or extract from .odb as appropriate.Andrzej J.R. Hunt
2013-05-19make OSingleSelectQueryComposer use *system* parse contextLionel Elie Mamane
2013-05-07connectivity: remove Package_generatedMichael Stahl
2013-05-07dbaccess: remove Package_incMichael Stahl
2013-04-25dbaccess: {DECLARE,IMPLEMENT}_CONSTASCII_USTRING are no longer neededMiklos Vajna
2013-04-25add missing deps on sqlbison.hxxDavid Tardon
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-05new module i18nlangtagEike Rathke