Kaydet (Commit) f2b0bd07 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: unreachable code

üst 5c46f618
...@@ -206,8 +206,6 @@ bool SvxViewLayoutItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt ...@@ -206,8 +206,6 @@ bool SvxViewLayoutItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt
OSL_FAIL("svx::SvxViewLayoutItem::PutValue(), Wrong MemberId!"); OSL_FAIL("svx::SvxViewLayoutItem::PutValue(), Wrong MemberId!");
return false; return false;
} }
return true;
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -225,8 +225,6 @@ bool SvxZoomItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMem ...@@ -225,8 +225,6 @@ bool SvxZoomItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMem
OSL_FAIL("svx::SvxZoomItem::PutValue(), Wrong MemberId!"); OSL_FAIL("svx::SvxZoomItem::PutValue(), Wrong MemberId!");
return false; return false;
} }
return true;
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -262,8 +262,6 @@ bool SvxZoomSliderItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt ...@@ -262,8 +262,6 @@ bool SvxZoomSliderItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt
OSL_FAIL("svx::SvxZoomSliderItem::PutValue(), Wrong MemberId!"); OSL_FAIL("svx::SvxZoomSliderItem::PutValue(), Wrong MemberId!");
return false; return false;
} }
return true;
} }
void SvxZoomSliderItem::AddSnappingPoint( sal_Int32 nNew ) void SvxZoomSliderItem::AddSnappingPoint( sal_Int32 nNew )
......
...@@ -267,9 +267,6 @@ const BitmapEx& SdrHdlBitmapSet::GetBitmapEx(BitmapMarkerKind eKindOfMarker, sal ...@@ -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))); 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];
} }
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment