summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewling.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uiview/viewling.cxx')
-rw-r--r--sw/source/uibase/uiview/viewling.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/viewling.cxx b/sw/source/uibase/uiview/viewling.cxx
index 28fad568e8c1..380ecebcbc27 100644
--- a/sw/source/uibase/uiview/viewling.cxx
+++ b/sw/source/uibase/uiview/viewling.cxx
@@ -647,7 +647,7 @@ bool SwView::ExecSpellPopup(const Point& rPt)
m_pWrtShell->Push();
SwRect aToFill;
- SwCursorShell *pCursorShell = static_cast<SwCursorShell*>(m_pWrtShell.get());
+ SwCursorShell *pCursorShell = m_pWrtShell.get();
SwPaM *pCursor = pCursorShell->GetCursor();
SwPosition aPoint(*pCursor->GetPoint());
const SwTextNode *pNode = aPoint.nNode.GetNode().GetTextNode();