openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chen...@apache.org
Subject svn commit: r1416743 - /openoffice/trunk/main/sw/source/filter/ww8/ww8par3.cxx
Date Tue, 04 Dec 2012 01:43:32 GMT
Author: chengjh
Date: Tue Dec  4 01:43:31 2012
New Revision: 1416743

URL: http://svn.apache.org/viewvc?rev=1416743&view=rev
Log:
Revise the code for a compile warning

Modified:
    openoffice/trunk/main/sw/source/filter/ww8/ww8par3.cxx

Modified: openoffice/trunk/main/sw/source/filter/ww8/ww8par3.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/filter/ww8/ww8par3.cxx?rev=1416743&r1=1416742&r2=1416743&view=diff
==============================================================================
--- openoffice/trunk/main/sw/source/filter/ww8/ww8par3.cxx (original)
+++ openoffice/trunk/main/sw/source/filter/ww8/ww8par3.cxx Tue Dec  4 01:43:31 2012
@@ -1122,7 +1122,7 @@ SwNumRule* WW8ListManager::CreateNextRul
 
 SwNumRule* WW8ListManager::GetNumRule(sal_uInt16 i)
 {
-	if ( i >= 0 && i < maLSTInfos.size() )
+	if ( i < maLSTInfos.size() )
 		return maLSTInfos[i]->pNumRule;
 	else
 		return 0;



Mime
View raw message