summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwptblformula.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-21 15:35:58 +0200
committerNoel Grandin <noel@peralex.com>2014-10-23 12:36:15 +0200
commit5f6f57c26ee15787ca2f775f853e57cfc11d666f (patch)
tree846d41ae24e8c84690f22ddd08929ba04120780f /lotuswordpro/source/filter/lwptblformula.cxx
parentloplugin: cstylecast (diff)
downloadcore-5f6f57c26ee15787ca2f775f853e57cfc11d666f.tar.gz
core-5f6f57c26ee15787ca2f775f853e57cfc11d666f.zip
loplugin: cstylecast
Change-Id: Id4c581724e7e5466ffe46f11f0a8da2527c23dc6
Diffstat (limited to 'lotuswordpro/source/filter/lwptblformula.cxx')
-rw-r--r--lotuswordpro/source/filter/lwptblformula.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/lwptblformula.cxx b/lotuswordpro/source/filter/lwptblformula.cxx
index 9623ef168d42..4f6bca048031 100644
--- a/lotuswordpro/source/filter/lwptblformula.cxx
+++ b/lotuswordpro/source/filter/lwptblformula.cxx
@@ -167,12 +167,12 @@ bool LwpFormulaInfo::ReadCellRange()
bool readSucceeded = true;
if (!ReadCellID( )) // start
readSucceeded = false;
- LwpFormulaCellAddr* pStartCellAddr = (LwpFormulaCellAddr*)m_aStack.back();
+ LwpFormulaCellAddr* pStartCellAddr = static_cast<LwpFormulaCellAddr*>(m_aStack.back());
m_aStack.pop_back();
if (!ReadCellID()) // end
readSucceeded = false;
- LwpFormulaCellAddr* pEndCellAddr = (LwpFormulaCellAddr*)m_aStack.back();
+ LwpFormulaCellAddr* pEndCellAddr = static_cast<LwpFormulaCellAddr*>(m_aStack.back());
m_aStack.pop_back();
m_aStack.push_back( new LwpFormulaCellRangeAddr(pStartCellAddr->GetCol(),
@@ -368,7 +368,7 @@ void LwpFormulaInfo::Read()
{
LwpCellList::Read();
{
- LwpRowList* pRowList =(LwpRowList*)cParent.obj().get();
+ LwpRowList* pRowList = static_cast<LwpRowList*>(cParent.obj().get());
if (pRowList)
{
m_nFormulaRow = pRowList->GetRowID();