Kaydet (Commit) 72f0029a authored tarafından Jian Hong Cheng's avatar Jian Hong Cheng

Revise the code for a compile warning

üst 54fe4ba9
...@@ -1122,7 +1122,7 @@ SwNumRule* WW8ListManager::CreateNextRule(bool bSimple) ...@@ -1122,7 +1122,7 @@ SwNumRule* WW8ListManager::CreateNextRule(bool bSimple)
SwNumRule* WW8ListManager::GetNumRule(sal_uInt16 i) SwNumRule* WW8ListManager::GetNumRule(sal_uInt16 i)
{ {
if ( i >= 0 && i < maLSTInfos.size() ) if ( i < maLSTInfos.size() )
return maLSTInfos[i]->pNumRule; return maLSTInfos[i]->pNumRule;
else else
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment