Kaydet (Commit) 41038b2b authored tarafından Stephan Bergmann's avatar Stephan Bergmann

warning C4702: unreachable code

Change-Id: Id5cf39a4b8d55b2060a65103e4f02589d03e3ee1
üst b7840fbb
......@@ -207,12 +207,10 @@ OUString AccessibleGraphicShape::CreateAccessibleDescription (void)
sal_Int16 SAL_CALL AccessibleGraphicShape::getAccessibleRole (void)
throw (::com::sun::star::uno::RuntimeException)
{
sal_Int16 nAccessibleRole = AccessibleRole::SHAPE;
if( m_pShape->GetModel()->GetImageMapForObject(m_pShape) != NULL )
return AccessibleRole::IMAGE_MAP;
else
return AccessibleShape::getAccessibleRole();
return nAccessibleRole;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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