diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-10 09:21:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-11 07:52:55 +0200 |
commit | ab6849db5540b1836f91708acc4ae8a9f49a6d7c (patch) | |
tree | cd08ac270a9b946f9b39b9af7035417b2beb913c /svx | |
parent | 3cd343ca62d80753f88135aa88ea0dc4d935f315 (diff) |
loplugin:virtualdown in AccessibleShape
Change-Id: I35c8c4b2c561f3ce4fdc3d94cc74463abbc087f4
Reviewed-on: https://gerrit.libreoffice.org/73769
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/accessibility/AccessibleShape.cxx | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/svx/source/accessibility/AccessibleShape.cxx b/svx/source/accessibility/AccessibleShape.cxx index 832852576472..5eb3bbfd5698 100644 --- a/svx/source/accessibility/AccessibleShape.cxx +++ b/svx/source/accessibility/AccessibleShape.cxx @@ -1069,70 +1069,6 @@ OUString AccessibleShape::GetFullAccessibleName (AccessibleShape *shape) return sName; } -OUString - AccessibleShape::CreateAccessibleDescription() -{ - DescriptionGenerator aDG (mxShape); - aDG.Initialize (CreateAccessibleBaseName()); - switch (ShapeTypeHandler::Instance().GetTypeId (mxShape)) - { - case DRAWING_3D_CUBE: - case DRAWING_3D_EXTRUDE: - case DRAWING_3D_LATHE: - case DRAWING_3D_SPHERE: - aDG.Add3DProperties (); - break; - - case DRAWING_3D_SCENE: - case DRAWING_GROUP: - case DRAWING_PAGE: - // No further information is appended. - break; - - case DRAWING_CAPTION: - case DRAWING_CLOSED_BEZIER: - case DRAWING_CLOSED_FREEHAND: - case DRAWING_ELLIPSE: - case DRAWING_POLY_POLYGON: - case DRAWING_POLY_POLYGON_PATH: - case DRAWING_RECTANGLE: - aDG.AddLineProperties (); - aDG.AddFillProperties (); - break; - - case DRAWING_CONNECTOR: - case DRAWING_LINE: - case DRAWING_MEASURE: - case DRAWING_OPEN_BEZIER: - case DRAWING_OPEN_FREEHAND: - case DRAWING_POLY_LINE: - case DRAWING_POLY_LINE_PATH: - aDG.AddLineProperties (); - break; - - case DRAWING_CONTROL: - aDG.AddProperty ("ControlBackground", DescriptionGenerator::PropertyType::Color, ""); - aDG.AddProperty ("ControlBorder", DescriptionGenerator::PropertyType::Integer, ""); - break; - - case DRAWING_TEXT: - aDG.AddTextProperties (); - break; - - default: - aDG.Initialize ("Unknown accessible shape"); - uno::Reference<drawing::XShapeDescriptor> xDescriptor (mxShape, uno::UNO_QUERY); - if (xDescriptor.is()) - { - aDG.AppendString ("service name="); - aDG.AppendString (xDescriptor->getShapeType()); - } - } - - return aDG(); -} - - // protected void AccessibleShape::disposing() { |