summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode/thints.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/txtnode/thints.cxx')
-rw-r--r--sw/source/core/txtnode/thints.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx
index 10a78df2fdb6..8d179e3a87b1 100644
--- a/sw/source/core/txtnode/thints.cxx
+++ b/sw/source/core/txtnode/thints.cxx
@@ -1146,7 +1146,7 @@ void SwTxtNode::DestroyAttr( SwTxtAttr* pAttr )
case RES_DBNUMSETFLD:
case RES_DBNEXTSETFLD:
if( !pDoc->IsNewFldLst() && GetNodes().IsDocNodes() )
- pDoc->InsDelFldInFldLst( sal_False, *(SwTxtFld*)pAttr );
+ pDoc->InsDelFldInFldLst( false, *(SwTxtFld*)pAttr );
break;
case RES_DDEFLD:
if( GetNodes().IsDocNodes() &&
@@ -2122,7 +2122,7 @@ lcl_CollectHintSpans(const SwpHints& i_rHints, const sal_uInt16 nLength,
{
// insert dummy span covering the gap
o_rSpanMap.insert(AttrSpanMap_t::value_type(
- AttrSpan_t(nLastEnd, aSpan.first), 0));
+ AttrSpan_t(nLastEnd, aSpan.first), (const SwTxtAttr *)0));
}
nLastEnd = aSpan.second;
@@ -2133,7 +2133,7 @@ lcl_CollectHintSpans(const SwpHints& i_rHints, const sal_uInt16 nLength,
if (nLastEnd != nLength && nLength != 0)
{
o_rSpanMap.insert(
- AttrSpanMap_t::value_type(AttrSpan_t(nLastEnd, nLength), 0));
+ AttrSpanMap_t::value_type(AttrSpan_t(nLastEnd, nLength), (const SwTxtAttr *)0));
}
}
@@ -2627,9 +2627,9 @@ bool SwpHints::TryInsertHint( SwTxtAttr* const pHint, SwTxtNode &rNode,
case RES_DBNEXTSETFLD:
{
if( bDelFirst )
- pDoc->InsDelFldInFldLst( sal_False, *(SwTxtFld*)pHint );
+ pDoc->InsDelFldInFldLst( false, *(SwTxtFld*)pHint );
if( rNode.GetNodes().IsDocNodes() )
- pDoc->InsDelFldInFldLst( sal_True, *(SwTxtFld*)pHint );
+ pDoc->InsDelFldInFldLst( true, *(SwTxtFld*)pHint );
}
break;
case RES_DDEFLD: