diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-03-13 13:06:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-03-13 13:17:35 +0000 |
commit | ed740489ed39e0fc3ec43e3f3a1e6e9e366a2c5e (patch) | |
tree | c476ee2cd95c51ec6c70b87847f46c474b0e7558 /sw/source/filter/ww8/ww8par3.cxx | |
parent | 866a9a57fedf92767f64fc9348722ce42e17cde4 (diff) |
WaE: various warngs, e.g. unused argument, variables, ordering
Change-Id: I551ccf9b098d7f916bd889dbc82d22c0dc5c63f3
Diffstat (limited to 'sw/source/filter/ww8/ww8par3.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par3.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx index 6dfc40f399b2..6f3d2c7e91be 100644 --- a/sw/source/filter/ww8/ww8par3.cxx +++ b/sw/source/filter/ww8/ww8par3.cxx @@ -1070,9 +1070,9 @@ SwNumRule* WW8ListManager::CreateNextRule(bool bSimple) return pMyNumRule; } -SwNumRule* WW8ListManager::GetNumRule(int i) +SwNumRule* WW8ListManager::GetNumRule(size_t i) { - if ( i >= 0 && i < maLSTInfos.size() ) + if (i < maLSTInfos.size()) return maLSTInfos[i]->pNumRule; else return 0; |