summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/textidx.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/shells/textidx.cxx')
-rw-r--r--sw/source/uibase/shells/textidx.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/textidx.cxx b/sw/source/uibase/shells/textidx.cxx
index 601883ed072b..5f635ecb178a 100644
--- a/sw/source/uibase/shells/textidx.cxx
+++ b/sw/source/uibase/shells/textidx.cxx
@@ -125,7 +125,7 @@ void SwTextShell::ExecIdx(SfxRequest &rReq)
bool bGlobal = false;
if(pItem)
{
- pCurTOX = (const SwTOXBase* )((SwPtrItem*)pItem)->GetValue();
+ pCurTOX = (const SwTOXBase* )static_cast<const SwPtrItem*>(pItem)->GetValue();
bGlobal = true;
}
else