sw/source/filter/ww8/rtfattributeoutput.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 36c1239ae14ab7861f89db8efef121d0b1448636 Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Wed Oct 9 17:09:22 2013 +0200 OSL_ENSURE -> SAL_WARN_IF Change-Id: Id040721f5e41062605e635cb0f1e5b4c724052a3 diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index 1e15d24..5df5f7d 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -2582,8 +2582,7 @@ void RtfAttributeOutput::ParaNumRule_Impl( const SwTxtNode* pTxtNd, sal_Int32 nL if( pRule && pTxtNd->IsInList() ) { - OSL_ENSURE( pTxtNd->GetActualListLevel() >= 0 && pTxtNd->GetActualListLevel() < MAXLEVEL, - "<SwRTFWriter::OutListNum(..)> - text node does not have valid list level. Serious defect -> please inform OD" ); + SAL_WARN_IF(pTxtNd->GetActualListLevel() < 0 || pTxtNd->GetActualListLevel() >= MAXLEVEL, "sw.rtf", "text node does not have valid list level"); const bool bExportNumRule = USHRT_MAX != nNumId; const SwNumFmt* pFmt = pRule->GetNumFmt( nLvl ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits