summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-06 17:20:05 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-07 12:49:46 +0300
commitf2b0bd07b37f40048a4b58a561a3c787eb6a885b (patch)
tree9a7bee1fe0a9b26dda096b179f43d6bd83854612 /svx
parent5c46f61892c90e179a74e06d0d87e25c09fa7589 (diff)
WaE: unreachable code
Diffstat (limited to 'svx')
-rw-r--r--svx/source/items/viewlayoutitem.cxx2
-rw-r--r--svx/source/items/zoomitem.cxx2
-rw-r--r--svx/source/items/zoomslideritem.cxx2
-rw-r--r--svx/source/svdraw/svdhdl.cxx3
4 files changed, 0 insertions, 9 deletions
diff --git a/svx/source/items/viewlayoutitem.cxx b/svx/source/items/viewlayoutitem.cxx
index b1098357ae8f..6876f3196b60 100644
--- a/svx/source/items/viewlayoutitem.cxx
+++ b/svx/source/items/viewlayoutitem.cxx
@@ -206,8 +206,6 @@ bool SvxViewLayoutItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt
OSL_FAIL("svx::SvxViewLayoutItem::PutValue(), Wrong MemberId!");
return false;
}
-
- return true;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/items/zoomitem.cxx b/svx/source/items/zoomitem.cxx
index d15a5e43a193..4a2153b928b6 100644
--- a/svx/source/items/zoomitem.cxx
+++ b/svx/source/items/zoomitem.cxx
@@ -225,8 +225,6 @@ bool SvxZoomItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMem
OSL_FAIL("svx::SvxZoomItem::PutValue(), Wrong MemberId!");
return false;
}
-
- return true;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/items/zoomslideritem.cxx b/svx/source/items/zoomslideritem.cxx
index 816f2604038a..dd8ab767b7a5 100644
--- a/svx/source/items/zoomslideritem.cxx
+++ b/svx/source/items/zoomslideritem.cxx
@@ -262,8 +262,6 @@ bool SvxZoomSliderItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt
OSL_FAIL("svx::SvxZoomSliderItem::PutValue(), Wrong MemberId!");
return false;
}
-
- return true;
}
void SvxZoomSliderItem::AddSnappingPoint( sal_Int32 nNew )
diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx
index 837dcb9c4a17..62ee66b233de 100644
--- a/svx/source/svdraw/svdhdl.cxx
+++ b/svx/source/svdraw/svdhdl.cxx
@@ -267,9 +267,6 @@ const BitmapEx& SdrHdlBitmapSet::GetBitmapEx(BitmapMarkerKind eKindOfMarker, sal
return impGetOrCreateTargetBitmap((KIND_COUNT * INDEX_COUNT) + 3, Rectangle(Point(48, 68), Size(24, 23)));
}
}
-
- // cannot happen since all pathes return something; return Rect_7x7 as default (see switch)
- return maRealMarkers[0];
}
////////////////////////////////////////////////////////////////////////////////////////////////////