[Libreoffice-commits] core.git: sw/source

Julien Nabet serval2412 at yahoo.fr
Mon Apr 7 03:27:45 PDT 2014


 sw/source/filter/ww1/w1filter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e0f6559776b515a7d51331c7e848ac785e751c6a
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Apr 6 18:32:22 2014 +0200

    cppcheck: "else if" condition matches previous condition
    
    Change-Id: Ife67cc71ef89ba9af91994cd0242d9ae31935ab9
    Reviewed-on: https://gerrit.libreoffice.org/8874
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/filter/ww1/w1filter.cxx b/sw/source/filter/ww1/w1filter.cxx
index cbf59bf..2d77563 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;


More information about the Libreoffice-commits mailing list