diff options
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editdoc.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx index 01c6cab35811..67ab2af678b9 100644 --- a/editeng/source/editeng/editdoc.cxx +++ b/editeng/source/editeng/editdoc.cxx @@ -824,15 +824,11 @@ sal_Int32 ParaPortionList::FindParagraph(long nYOffset) const const ParaPortion* ParaPortionList::SafeGetObject(sal_Int32 nPos) const { - SAL_WARN_IF( nPos < 0 || nPos >= (sal_Int32)maPortions.size(), "editeng", - "ParaPortionList::SafeGetObject - nPos out of bounds: " << nPos << " size: " << maPortions.size()); return 0 <= nPos && nPos < (sal_Int32)maPortions.size() ? maPortions[nPos].get() : nullptr; } ParaPortion* ParaPortionList::SafeGetObject(sal_Int32 nPos) { - SAL_WARN_IF( nPos < 0 || nPos >= (sal_Int32)maPortions.size(), "editeng", - "ParaPortionList::SafeGetObject - nPos out of bounds: " << nPos << " size: " << maPortions.size()); return 0 <= nPos && nPos < (sal_Int32)maPortions.size() ? maPortions[nPos].get() : nullptr; } |