summaryrefslogtreecommitdiff
path: root/sw/source/core/uibase/fldui/fldmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/uibase/fldui/fldmgr.cxx')
-rw-r--r--sw/source/core/uibase/fldui/fldmgr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/uibase/fldui/fldmgr.cxx b/sw/source/core/uibase/fldui/fldmgr.cxx
index eda301efb268..f69a1c5cb068 100644
--- a/sw/source/core/uibase/fldui/fldmgr.cxx
+++ b/sw/source/core/uibase/fldui/fldmgr.cxx
@@ -780,11 +780,11 @@ bool SwFldMgr::GoNextPrev( bool bNext, SwFieldType* pTyp )
if (pTyp && pTyp->Which() == RES_DBFLD)
{
// for fieldcommand-edit (hop to all DB fields)
- return pSh->MoveFldType( 0, (bNext ? true : false), RES_DBFLD );
+ return pSh->MoveFldType( 0, bNext, RES_DBFLD );
}
return (pTyp && pSh)
- ? pSh->MoveFldType( pTyp, (bNext ? true : false) )
+ ? pSh->MoveFldType( pTyp, bNext )
: sal_False;
}