diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-10-09 17:09:22 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-10-09 17:11:17 +0200 |
commit | 36c1239ae14ab7861f89db8efef121d0b1448636 (patch) | |
tree | 1e1390681acf978ba39a9151bdabe3c3a3026aaa /sw/source/filter | |
parent | 2b91dc3ae674648da6909b0ab96129a7d7d3ed39 (diff) |
OSL_ENSURE -> SAL_WARN_IF
Change-Id: Id040721f5e41062605e635cb0f1e5b4c724052a3
Diffstat (limited to 'sw/source/filter')
-rw-r--r-- | sw/source/filter/ww8/rtfattributeoutput.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index 1e15d24d1e53..5df5f7d41b0a 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 ); |