summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/view/auditsh.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-27 14:18:59 +0200
committerNoel Grandin <noel@peralex.com>2014-10-28 08:11:26 +0200
commit282e954477f904524ca192256c4e33ab0585e2f6 (patch)
treee0971d31fda3c2e8b1e4b806831534547e18cab1 /sc/source/ui/view/auditsh.cxx
parentloplugin: cstylecast (diff)
downloadcore-282e954477f904524ca192256c4e33ab0585e2f6.tar.gz
core-282e954477f904524ca192256c4e33ab0585e2f6.zip
loplugin: cstylecast
Change-Id: I42cd0be78478536322357ca7a03cf30e624b1afc
Diffstat (limited to 'sc/source/ui/view/auditsh.cxx')
-rw-r--r--sc/source/ui/view/auditsh.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/auditsh.cxx b/sc/source/ui/view/auditsh.cxx
index ac5b37f777c5..80ccc5f3acc5 100644
--- a/sc/source/ui/view/auditsh.cxx
+++ b/sc/source/ui/view/auditsh.cxx
@@ -97,8 +97,8 @@ void ScAuditingShell::Execute( SfxRequest& rReq )
{
OSL_ENSURE( pXItem->ISA(SfxInt16Item) && pYItem->ISA(SfxInt32Item),
"wrong items" );
- SCsCOL nCol = static_cast<SCsCOL>(((const SfxInt16Item*) pXItem)->GetValue());
- SCsROW nRow = static_cast<SCsROW>(((const SfxInt32Item*) pYItem)->GetValue());
+ SCsCOL nCol = static_cast<SCsCOL>(static_cast<const SfxInt16Item*>(pXItem)->GetValue());
+ SCsROW nRow = static_cast<SCsROW>(static_cast<const SfxInt32Item*>(pYItem)->GetValue());
ScViewFunc* pView = pViewData->GetView();
pView->MoveCursorAbs( nCol, nRow, SC_FOLLOW_LINE, false, false );
switch ( nFunction )