summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-04-06 18:32:22 +0200
committerCaolán McNamara <caolanm@redhat.com>2014-04-07 05:27:22 -0500
commite0f6559776b515a7d51331c7e848ac785e751c6a (patch)
tree9354a3c579d827f26e52fc5289b3f386b70ab6f6
parent49e04776cb03ba8f5e3c857529e1ea1033ccb6ae (diff)
cppcheck: "else if" condition matches previous condition
Change-Id: Ife67cc71ef89ba9af91994cd0242d9ae31935ab9 Reviewed-on: https://gerrit.libreoffice.org/8874 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sw/source/filter/ww1/w1filter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww1/w1filter.cxx b/sw/source/filter/ww1/w1filter.cxx
index cbf59bf74b14..2d7756332a4f 100644
--- a/sw/source/filter/ww1/w1filter.cxx
+++ b/sw/source/filter/ww1/w1filter.cxx
@@ -428,7 +428,7 @@ static WWDateTime GetTimeDatePara( const OUString& rForm,
if( pTime )
*pTime = TF_SSMM_24;
}
- else if (rForm.indexOf('H') != -1) // h -> 24h
+ else if (rForm.indexOf('h') != -1) // h -> 24h
{
if( pTime )
*pTime = TF_SSMM_12;