diff options
Diffstat (limited to 'sw/source/uibase/shells/txtcrsr.cxx')
-rw-r--r-- | sw/source/uibase/shells/txtcrsr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/shells/txtcrsr.cxx b/sw/source/uibase/shells/txtcrsr.cxx index 151212e4198d..871eb5acc900 100644 --- a/sw/source/uibase/shells/txtcrsr.cxx +++ b/sw/source/uibase/shells/txtcrsr.cxx @@ -57,9 +57,9 @@ void SwTextShell::ExecBasicMove(SfxRequest &rReq) { const SfxPoolItem *pItem; if(SfxItemState::SET == pArgs->GetItemState(FN_PARAM_MOVE_COUNT, true, &pItem)) - nCount = ((const SfxInt32Item *)pItem)->GetValue(); + nCount = static_cast<const SfxInt32Item *>(pItem)->GetValue(); if(SfxItemState::SET == pArgs->GetItemState(FN_PARAM_MOVE_SELECTION, true, &pItem)) - bSelect = ((const SfxBoolItem *)pItem)->GetValue(); + bSelect = static_cast<const SfxBoolItem *>(pItem)->GetValue(); } switch(rReq.GetSlot()) { |