[Libreoffice-commits] core.git: sc/source
Eike Rathke
erack at redhat.com
Mon Jan 12 05:54:17 PST 2015
sc/source/ui/view/gridwin.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 5865ab6bd27425912e2752020a966e2aac3279e5
Author: Eike Rathke <erack at redhat.com>
Date: Mon Jan 12 14:52:47 2015 +0100
get rid of C-style cast, fdo#87382 follow-up
Change-Id: I86dd6a96f69d9bedeabeebc04f953b9f22476543
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 0907a39..785beee 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.
More information about the Libreoffice-commits
mailing list