diff options
Diffstat (limited to 'sw/source/uibase/uno/unotxvw.cxx')
-rw-r--r-- | sw/source/uibase/uno/unotxvw.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx index e4fe0327d031..2379cb273602 100644 --- a/sw/source/uibase/uno/unotxvw.cxx +++ b/sw/source/uibase/uno/unotxvw.cxx @@ -1335,7 +1335,7 @@ sal_Bool SwXTextViewCursor::screenDown() SfxRequest aReq(FN_PAGEDOWN, SfxCallMode::SLOT, m_pView->GetPool()); m_pView->Execute(aReq); const SfxPoolItem* pRet = aReq.GetReturnValue(); - bRet = pRet && ((const SfxBoolItem*)pRet)->GetValue(); + bRet = pRet && static_cast<const SfxBoolItem*>(pRet)->GetValue(); } else throw uno::RuntimeException(); @@ -1352,7 +1352,7 @@ sal_Bool SwXTextViewCursor::screenUp() SfxRequest aReq(FN_PAGEUP, SfxCallMode::SLOT, m_pView->GetPool()); m_pView->Execute(aReq); const SfxPoolItem* pRet = aReq.GetReturnValue(); - bRet = pRet && ((const SfxBoolItem*)pRet)->GetValue(); + bRet = pRet && static_cast<const SfxBoolItem*>(pRet)->GetValue(); } else throw uno::RuntimeException(); |