diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-21 15:35:58 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-23 12:36:15 +0200 |
commit | 5f6f57c26ee15787ca2f775f853e57cfc11d666f (patch) | |
tree | 846d41ae24e8c84690f22ddd08929ba04120780f /lotuswordpro/source/filter/bencont.cxx | |
parent | loplugin: cstylecast (diff) | |
download | core-5f6f57c26ee15787ca2f775f853e57cfc11d666f.tar.gz core-5f6f57c26ee15787ca2f775f853e57cfc11d666f.zip |
loplugin: cstylecast
Change-Id: Id4c581724e7e5466ffe46f11f0a8da2527c23dc6
Diffstat (limited to 'lotuswordpro/source/filter/bencont.cxx')
-rw-r--r-- | lotuswordpro/source/filter/bencont.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/bencont.cxx b/lotuswordpro/source/filter/bencont.cxx index 340b7cc49ddd..8ed9df160237 100644 --- a/lotuswordpro/source/filter/bencont.cxx +++ b/lotuswordpro/source/filter/bencont.cxx @@ -125,7 +125,7 @@ LtcBenContainer::RegisterPropertyName(const char * sPropertyName, { if (! pNamedObject->IsPropertyName()) return BenErr_NameConflict; - else *ppPropertyName = (pCBenPropertyName) pNamedObject; + else *ppPropertyName = static_cast<pCBenPropertyName>(pNamedObject); } else { @@ -134,7 +134,7 @@ LtcBenContainer::RegisterPropertyName(const char * sPropertyName, return BenErr_DuplicateObjectID; *ppPropertyName = new CBenPropertyName(this, cNextAvailObjectID, - (pCBenObject) pPrevObject, sPropertyName, pPrevNamedObjectListElmt); + static_cast<pCBenObject>(pPrevObject), sPropertyName, pPrevNamedObjectListElmt); ++cNextAvailObjectID; } @@ -144,7 +144,7 @@ LtcBenContainer::RegisterPropertyName(const char * sPropertyName, pCBenObject LtcBenContainer::GetNextObject(pCBenObject pCurrObject) { - return (pCBenObject) cObjects.GetNextOrNULL(pCurrObject); + return static_cast<pCBenObject>(cObjects.GetNextOrNULL(pCurrObject)); } pCBenObject |