From 5865ab6bd27425912e2752020a966e2aac3279e5 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Mon, 12 Jan 2015 14:52:47 +0100 Subject: get rid of C-style cast, fdo#87382 follow-up Change-Id: I86dd6a96f69d9bedeabeebc04f953b9f22476543 --- sc/source/ui/view/gridwin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(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. -- cgit v1.2.3