summaryrefslogtreecommitdiff
path: root/sc/source/filter/xcl97/XclExpChangeTrack.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-27 14:18:05 +0200
committerNoel Grandin <noel@peralex.com>2014-10-28 08:10:20 +0200
commit1e21c77561b802bae4cb84631614f8aa612785a6 (patch)
tree46e776222ba369e12256e1c8f29f4db6a8a2ef0b /sc/source/filter/xcl97/XclExpChangeTrack.cxx
parent14a2cfc27f86112469f2a2252bdc154ad8d3219f (diff)
loplugin: cstylecast
Change-Id: I287dcb0ca728747ec91b5c3cdd986e60998e3928
Diffstat (limited to 'sc/source/filter/xcl97/XclExpChangeTrack.cxx')
-rw-r--r--sc/source/filter/xcl97/XclExpChangeTrack.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/xcl97/XclExpChangeTrack.cxx b/sc/source/filter/xcl97/XclExpChangeTrack.cxx
index 04a64eb3d6d0..4cf119b0e634 100644
--- a/sc/source/filter/xcl97/XclExpChangeTrack.cxx
+++ b/sc/source/filter/xcl97/XclExpChangeTrack.cxx
@@ -709,7 +709,7 @@ void XclExpChTrAction::AddDependentContents(
for( itChangeAction = aActionMap.begin(); itChangeAction != aActionMap.end(); ++itChangeAction )
if( itChangeAction->second->GetType() == SC_CAT_CONTENT )
SetAddAction( new XclExpChTrCellContent(
- *((const ScChangeActionContent*) itChangeAction->second), rRoot, rIdBuffer ) );
+ *static_cast<const ScChangeActionContent*>(itChangeAction->second), rRoot, rIdBuffer ) );
}
void XclExpChTrAction::SetIndex( sal_uInt32& rIndex )
@@ -1567,7 +1567,7 @@ void XclExpChangeTrack::PushActionRecord( const ScChangeAction& rAction )
switch( rAction.GetType() )
{
case SC_CAT_CONTENT:
- pXclAction = new XclExpChTrCellContent( (const ScChangeActionContent&) rAction, GetRoot(), *pTabIdBuffer );
+ pXclAction = new XclExpChTrCellContent( static_cast<const ScChangeActionContent&>(rAction), GetRoot(), *pTabIdBuffer );
break;
case SC_CAT_INSERT_ROWS:
case SC_CAT_INSERT_COLS:
@@ -1587,7 +1587,7 @@ void XclExpChangeTrack::PushActionRecord( const ScChangeAction& rAction )
break;
case SC_CAT_MOVE:
if (pTempChangeTrack)
- pXclAction = new XclExpChTrMoveRange( (const ScChangeActionMove&) rAction, GetRoot(), *pTabIdBuffer, *pTempChangeTrack );
+ pXclAction = new XclExpChTrMoveRange( static_cast<const ScChangeActionMove&>(rAction), GetRoot(), *pTabIdBuffer, *pTempChangeTrack );
break;
default:;
}