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

New commits:
commit 1ec232b1479c751547b766769285284eef6bb2e3
Author: Michael Stahl <[email protected]>
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 <[email protected]>
    Reviewed-by: Michael Stahl <[email protected]>

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
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to