[Libreoffice-commits] core.git: svx/source

Stephan Bergmann sbergman at redhat.com
Thu Nov 28 08:03:08 PST 2013


 svx/source/accessibility/AccessibleGraphicShape.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 41038b2b3d606508258ae4c1a99a5b9379c853d9
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Nov 28 17:02:39 2013 +0100

    warning C4702: unreachable code
    
    Change-Id: Id5cf39a4b8d55b2060a65103e4f02589d03e3ee1

diff --git a/svx/source/accessibility/AccessibleGraphicShape.cxx b/svx/source/accessibility/AccessibleGraphicShape.cxx
index 91cded2..fc7cab6 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: */


More information about the Libreoffice-commits mailing list