diff options
author | Eike Rathke <erack@redhat.com> | 2015-01-12 14:52:47 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-01-12 14:53:22 +0100 |
commit | 5865ab6bd27425912e2752020a966e2aac3279e5 (patch) | |
tree | b9883f756ebb649f9423ee3afec048ed8f915ebb | |
parent | 69753da13f7c86b6f1fccb814cd4d89427304690 (diff) |
get rid of C-style cast, fdo#87382 follow-up
Change-Id: I86dd6a96f69d9bedeabeebc04f953b9f22476543
-rw-r--r-- | sc/source/ui/view/gridwin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index 0907a3981910..785beeecb3db 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -5741,7 +5741,7 @@ void ScGridWindow::UpdateCursorOverlay() SCROW nY = pViewData->GetCurY(); ScDocument* pDoc = pViewData->GetDocument(); - const ScMergeAttr* pMerge = (const ScMergeAttr*) pDoc->GetAttr(nX, nY, nTab, ATTR_MERGE); + const ScMergeAttr* pMerge = static_cast<const ScMergeAttr*>(pDoc->GetAttr(nX, nY, nTab, ATTR_MERGE)); // fdo#87382 Also display the cell cursor for the visible part of merged // cells if the cell position is part of merged cells. |