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

Caolán McNamara caolanm at redhat.com
Wed May 16 07:54:34 UTC 2018


 vcl/source/control/field2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 873dbd2c3a1a2fa3c27f4ecb8fe4e219f25f5751
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue May 15 15:36:27 2018 +0100

    coverity#1435605 silence Unchecked return value
    
    Change-Id: I1617ff8157ad69b467a0feaad5680e90e2c08a47
    Reviewed-on: https://gerrit.libreoffice.org/54382
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx
index 12a4e7dc4ff9..5b8b4b5cf767 100644
--- a/vcl/source/control/field2.cxx
+++ b/vcl/source/control/field2.cxx
@@ -2514,7 +2514,7 @@ void TimeFormatter::Reformat()
     if ( !aStr.isEmpty() )
     {
         ImplSetText( aStr );
-        TextToTime( aStr, maLastTime, GetFormat(), IsDuration(), ImplGetLocaleDataWrapper() );
+        (void)TextToTime(aStr, maLastTime, GetFormat(), IsDuration(), ImplGetLocaleDataWrapper());
     }
     else
         SetTime( maLastTime );


More information about the Libreoffice-commits mailing list