summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
Diffstat (limited to 'svx')
-rw-r--r--svx/source/accessibility/AccessibleGraphicShape.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/svx/source/accessibility/AccessibleGraphicShape.cxx b/svx/source/accessibility/AccessibleGraphicShape.cxx
index 91cded27bd54..fc7cab68b39d 100644
--- a/svx/source/accessibility/AccessibleGraphicShape.cxx
+++ b/svx/source/accessibility/AccessibleGraphicShape.cxx
@@ -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: */