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

Miklos Vajna vmiklos at collabora.co.uk
Mon Nov 6 11:09:06 UTC 2017


 vcl/workben/fftester.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b2e888a0cd9dc272348b7293a2e8b083f7277cea
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Nov 6 12:07:19 2017 +0100

    vcl: fix loplugin:implicitboolconversion warning
    
    Change-Id: I3f84396def32c657f58842647e9af5d4a48e43be

diff --git a/vcl/workben/fftester.cxx b/vcl/workben/fftester.cxx
index 40dea13576b5..ad8cd79a1af8 100644
--- a/vcl/workben/fftester.cxx
+++ b/vcl/workben/fftester.cxx
@@ -124,7 +124,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
         {
             SvFileStream aFileStream(out, StreamMode::READ);
             vcl::PNGReader aReader(aFileStream);
-            ret = !!aReader.Read();
+            ret = (int) !!aReader.Read();
         }
         else if (strcmp(argv[2], "bmp") == 0)
         {


More information about the Libreoffice-commits mailing list