svl/source/items/poolio.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 0b6437c9d6bb12359ed0fb1a7f507dfc3163c64d
Author: Michael Stahl <mst...@redhat.com>
Date:   Wed Jul 23 16:24:54 2014 +0200

    svl: avoid warning C4715 "not all control paths return a value"
    
    Change-Id: Id4b083b202930108c2cdfdae0a549aea29198b5c

diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx
index 4b667c1..c1cd7b1 100644
--- a/svl/source/items/poolio.cxx
+++ b/svl/source/items/poolio.cxx
@@ -53,6 +53,7 @@ static sal_uInt16 convertSfxItemKindToUInt16(SfxItemKind x)
     if ( x == SFX_ITEMS_POOLDEFAULT )
         return 0xffff;
     assert(false);
+    abort();
 }
 
 static SfxItemKind convertUInt16ToSfxItemKind(sal_uInt16 x)
@@ -66,6 +67,7 @@ static SfxItemKind convertUInt16ToSfxItemKind(sal_uInt16 x)
     if ( x == 0xffff )
         return SFX_ITEMS_POOLDEFAULT;
     assert(false);
+    abort();
 }
 
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to