summaryrefslogtreecommitdiff
path: root/rsc/inc/rscstr.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/inc/rscstr.hxx')
-rw-r--r--rsc/inc/rscstr.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/rsc/inc/rscstr.hxx b/rsc/inc/rscstr.hxx
index 2b8ba770783d..e359d8ee0167 100644
--- a/rsc/inc/rscstr.hxx
+++ b/rsc/inc/rscstr.hxx
@@ -45,11 +45,11 @@ public:
sal_uInt32 Size() SAL_OVERRIDE { return nSize; }
void SetToDefault( const RSCINST & rInst ) SAL_OVERRIDE
{
- ((RscStringInst*)rInst.pData)->bDflt = true;
+ reinterpret_cast<RscStringInst*>(rInst.pData)->bDflt = true;
}
bool IsDefault( const RSCINST & rInst) SAL_OVERRIDE
{
- return ((RscStringInst*)rInst.pData)->bDflt;
+ return reinterpret_cast<RscStringInst*>(rInst.pData)->bDflt;
}
// Als Default setzen
bool IsValueDefault( const RSCINST & rInst, CLASS_DATA pDef ) SAL_OVERRIDE;