summaryrefslogtreecommitdiff
path: root/svl/source/items
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-07-23 16:24:54 +0200
committerMichael Stahl <mstahl@redhat.com>2014-07-23 16:24:54 +0200
commit0b6437c9d6bb12359ed0fb1a7f507dfc3163c64d (patch)
tree292d985ea71d03ea709f123273b475d87ed09ed8 /svl/source/items
parentcd42e07785f7ab8ee3a0fb56d00d25824f3baef9 (diff)
svl: avoid warning C4715 "not all control paths return a value"
Change-Id: Id4b083b202930108c2cdfdae0a549aea29198b5c
Diffstat (limited to 'svl/source/items')
-rw-r--r--svl/source/items/poolio.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx
index 4b667c1b56e0..c1cd7b16c7cf 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();
}