summaryrefslogtreecommitdiff
path: root/sw/source/ui/fldui/fldedt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/fldui/fldedt.cxx')
-rw-r--r--sw/source/ui/fldui/fldedt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/fldui/fldedt.cxx b/sw/source/ui/fldui/fldedt.cxx
index 2290a3b632fc..aaaf1e21d28f 100644
--- a/sw/source/ui/fldui/fldedt.cxx
+++ b/sw/source/ui/fldui/fldedt.cxx
@@ -285,7 +285,7 @@ IMPL_LINK(SwFieldEditDlg, NextPrevHdl, weld::Button&, rButton, void)
SwFieldMgr& rMgr = pTabPage->GetFieldMgr();
SwField *pCurField = rMgr.GetCurField();
if (pCurField->GetTypeId() == TYP_DBFLD)
- pOldTyp = static_cast<SwDBFieldType*>(pCurField->GetTyp());
+ pOldTyp = pCurField->GetTyp();
rMgr.GoNextPrev( bNext, pOldTyp );
pCurField = rMgr.GetCurField();