summaryrefslogtreecommitdiff
path: root/rsc/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:27:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:27:13 +0200
commite56bec5ccd7bdd91e0389381dc4e2f1e48f2c32d (patch)
tree27fddaf04e20cf3a4eb81b9894d12a5df9ffd6b6 /rsc/inc
parentf61f7609db7520246346c5c2c1c5c0496e4773ef (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I27516cc532e46b6e43a2f2f292246f1414e9f9b3
Diffstat (limited to 'rsc/inc')
-rw-r--r--rsc/inc/rscclobj.hxx4
-rw-r--r--rsc/inc/rsctools.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/rsc/inc/rscclobj.hxx b/rsc/inc/rscclobj.hxx
index 674b6b196486..18151148c7e6 100644
--- a/rsc/inc/rscclobj.hxx
+++ b/rsc/inc/rscclobj.hxx
@@ -47,7 +47,7 @@ public:
bool Insert( ObjNode* pTN ) //< insert a new node in the b-tree
{
- return IdNode::Insert( (IdNode *)pTN );
+ return IdNode::Insert( static_cast<IdNode *>(pTN) );
}
CLASS_DATA GetRscObj() //< get the Object from this Node
@@ -76,7 +76,7 @@ public:
}
bool Insert( RefNode* pTN ) //< insert a new node in the b-tree
{
- return IdNode::Insert( (IdNode *)pTN );
+ return IdNode::Insert( static_cast<IdNode *>(pTN) );
}
bool PutObjNode( ObjNode * pPutObject );
diff --git a/rsc/inc/rsctools.hxx b/rsc/inc/rsctools.hxx
index f8d50c02e077..bfff4d5629ac 100644
--- a/rsc/inc/rsctools.hxx
+++ b/rsc/inc/rsctools.hxx
@@ -74,7 +74,7 @@ public:
~RscPtrPtr();
void Reset();
sal_uInt32 Append( void * );
- sal_uInt32 Append( char * pStr ) { return Append( (void *)pStr ); }
+ sal_uInt32 Append( char * pStr ) { return Append( static_cast<void *>(pStr) ); }
sal_uInt32 GetCount() { return nCount; }
void * GetEntry( sal_uInt32 nEle );
void ** GetBlock() { return pMem; }