summaryrefslogtreecommitdiff
path: root/sw/source/core/fields/ddefld.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/fields/ddefld.cxx')
-rw-r--r--sw/source/core/fields/ddefld.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/fields/ddefld.cxx b/sw/source/core/fields/ddefld.cxx
index d947cebad397..d0fd69dbe32f 100644
--- a/sw/source/core/fields/ddefld.cxx
+++ b/sw/source/core/fields/ddefld.cxx
@@ -217,8 +217,8 @@ bool SwIntrnlRefLink::IsInRange( sal_uLong nSttNd, sal_uLong nEndNd,
{
sal_uLong nNdPos = pNd->GetIndex();
if( nSttNd <= nNdPos && nNdPos <= nEndNd &&
- ( nNdPos != nSttNd || *pTFld->GetStart() >= nStt ) &&
- ( nNdPos != nEndNd || *pTFld->GetStart() < nEnd ))
+ ( nNdPos != nSttNd || pTFld->GetStart() >= nStt ) &&
+ ( nNdPos != nEndNd || pTFld->GetStart() < nEnd ))
return true;
}
}