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

Michael Stahl Michael.Stahl at cib.de
Sun Jun 3 19:14:38 UTC 2018


 editeng/source/items/borderline.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1ec232b1479c751547b766769285284eef6bb2e3
Author: Michael Stahl <Michael.Stahl at cib.de>
Date:   Sun Jun 3 20:07:52 2018 +0200

    editeng: work around spurious GCC 7 -Werror=return-type
    
    gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)
    
    Change-Id: I3da508fba7757ffd823ed05f5c3d82bb8a300267
    Reviewed-on: https://gerrit.libreoffice.org/55251
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>

diff --git a/editeng/source/items/borderline.cxx b/editeng/source/items/borderline.cxx
index 351901fc271e..5c9042f307fe 100644
--- a/editeng/source/items/borderline.cxx
+++ b/editeng/source/items/borderline.cxx
@@ -243,8 +243,8 @@ ConvertBorderWidthFromWord(SvxBorderLineStyle const eStyle, double const i_fWidt
 
         default:
             assert(false); // should only be called for known border style
-            return 0;
     }
+    return 0;
 }
 
 double


More information about the Libreoffice-commits mailing list