diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-01-22 20:36:32 +0100 |
---|---|---|
committer | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-01-22 20:37:52 +0100 |
commit | bd99ab11e38b57e00bc29bd7d54c231fbc1638e2 (patch) | |
tree | 67b812575d0f8a17f9a4805b6f9ca61183fad579 /svx/source/accessibility/SvxShapeTypes.cxx | |
parent | Remove fprintf usage from vcl/builder (diff) | |
download | core-bd99ab11e38b57e00bc29bd7d54c231fbc1638e2.tar.gz core-bd99ab11e38b57e00bc29bd7d54c231fbc1638e2.zip |
Remove RTL_CONSTASCII_USTRINGPARAM in svx
replaced equals() with ==
Change-Id: I8697cc700d9780306ac83f52253b60ea55be6853
Diffstat (limited to 'svx/source/accessibility/SvxShapeTypes.cxx')
-rw-r--r-- | svx/source/accessibility/SvxShapeTypes.cxx | 93 |
1 files changed, 31 insertions, 62 deletions
diff --git a/svx/source/accessibility/SvxShapeTypes.cxx b/svx/source/accessibility/SvxShapeTypes.cxx index e88236ed02be..373b227fc1b6 100644 --- a/svx/source/accessibility/SvxShapeTypes.cxx +++ b/svx/source/accessibility/SvxShapeTypes.cxx @@ -90,98 +90,67 @@ void RegisterDrawShapeTypes (void) <type>SvxShapeTypes</type> enum. */ ShapeTypeDescriptor aSvxShapeTypeList[] = { - ShapeTypeDescriptor (DRAWING_TEXT, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.TextShape")), + ShapeTypeDescriptor ( DRAWING_TEXT, "com.sun.star.drawing.TextShape", CreateSvxAccessibleShape), - ShapeTypeDescriptor (DRAWING_RECTANGLE, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.RectangleShape")), + ShapeTypeDescriptor (DRAWING_RECTANGLE, "com.sun.star.drawing.RectangleShape", CreateSvxAccessibleShape), - ShapeTypeDescriptor ( DRAWING_ELLIPSE, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.EllipseShape")), + ShapeTypeDescriptor ( DRAWING_ELLIPSE, "com.sun.star.drawing.EllipseShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_CONTROL, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.ControlShape")), + ShapeTypeDescriptor ( DRAWING_CONTROL, "com.sun.star.drawing.ControlShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_CONNECTOR, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.ConnectorShape")), + ShapeTypeDescriptor ( DRAWING_CONNECTOR, "com.sun.star.drawing.ConnectorShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_MEASURE, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.MeasureShape")), + ShapeTypeDescriptor ( DRAWING_MEASURE, "com.sun.star.drawing.MeasureShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_LINE, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.LineShape")), + ShapeTypeDescriptor ( DRAWING_LINE, "com.sun.star.drawing.LineShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_POLY_POLYGON, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.PolyPolygonShape")), + ShapeTypeDescriptor ( DRAWING_POLY_POLYGON, "com.sun.star.drawing.PolyPolygonShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_POLY_LINE, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.PolyLineShape")), + ShapeTypeDescriptor ( DRAWING_POLY_LINE, "com.sun.star.drawing.PolyLineShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_OPEN_BEZIER, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.OpenBezierShape")), + ShapeTypeDescriptor ( DRAWING_OPEN_BEZIER, "com.sun.star.drawing.OpenBezierShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_CLOSED_BEZIER, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.ClosedBezierShape")), + ShapeTypeDescriptor ( DRAWING_CLOSED_BEZIER, "com.sun.star.drawing.ClosedBezierShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_OPEN_FREEHAND, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.OpenFreeHandShape")), + ShapeTypeDescriptor ( DRAWING_OPEN_FREEHAND, "com.sun.star.drawing.OpenFreeHandShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_CLOSED_FREEHAND, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.ClosedFreeHandShape")), + ShapeTypeDescriptor ( DRAWING_CLOSED_FREEHAND, "com.sun.star.drawing.ClosedFreeHandShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_POLY_POLYGON_PATH, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.PolyPolygonPathShape")), + ShapeTypeDescriptor ( DRAWING_POLY_POLYGON_PATH, "com.sun.star.drawing.PolyPolygonPathShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_POLY_LINE_PATH, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.PolyLinePathShape")), + ShapeTypeDescriptor ( DRAWING_POLY_LINE_PATH, "com.sun.star.drawing.PolyLinePathShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_GRAPHIC_OBJECT, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.GraphicObjectShape")), + ShapeTypeDescriptor ( DRAWING_GRAPHIC_OBJECT, "com.sun.star.drawing.GraphicObjectShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_GROUP, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.GroupShape")), + ShapeTypeDescriptor ( DRAWING_GROUP, "com.sun.star.drawing.GroupShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_OLE, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.OLE2Shape")), + ShapeTypeDescriptor ( DRAWING_OLE, "com.sun.star.drawing.OLE2Shape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_PAGE, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.PageShape")), + ShapeTypeDescriptor ( DRAWING_PAGE, "com.sun.star.drawing.PageShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_CAPTION, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.CaptionShape")), + ShapeTypeDescriptor ( DRAWING_CAPTION, "com.sun.star.drawing.CaptionShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_FRAME, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.FrameShape")), + ShapeTypeDescriptor ( DRAWING_FRAME, "com.sun.star.drawing.FrameShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_PLUGIN, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.PluginShape")), + ShapeTypeDescriptor ( DRAWING_PLUGIN, "com.sun.star.drawing.PluginShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_APPLET, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.AppletShape")), + ShapeTypeDescriptor ( DRAWING_APPLET, "com.sun.star.drawing.AppletShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_3D_SCENE, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.Shape3DSceneObject")), + ShapeTypeDescriptor ( DRAWING_3D_SCENE, "com.sun.star.drawing.Shape3DSceneObject", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_3D_CUBE, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.Shape3DCubeObject")), + ShapeTypeDescriptor ( DRAWING_3D_CUBE, "com.sun.star.drawing.Shape3DCubeObject", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_3D_SPHERE, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.Shape3DSphereObject")), + ShapeTypeDescriptor ( DRAWING_3D_SPHERE, "com.sun.star.drawing.Shape3DSphereObject", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_3D_LATHE, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.Shape3DLatheObject")), + ShapeTypeDescriptor ( DRAWING_3D_LATHE, "com.sun.star.drawing.Shape3DLatheObject", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_3D_EXTRUDE, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.Shape3DExtrudeObject")), + ShapeTypeDescriptor ( DRAWING_3D_EXTRUDE, "com.sun.star.drawing.Shape3DExtrudeObject", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_CUSTOM, - ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.drawing.CustomShape")), + ShapeTypeDescriptor ( DRAWING_CUSTOM, "com.sun.star.drawing.CustomShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_TABLE, - rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.drawing.TableShape" ) ), + ShapeTypeDescriptor ( DRAWING_TABLE, "com.sun.star.drawing.TableShape", CreateSvxAccessibleShape ), - ShapeTypeDescriptor ( DRAWING_MEDIA, - rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.drawing.MediaShape" ) ), + ShapeTypeDescriptor ( DRAWING_MEDIA, "com.sun.star.drawing.MediaShape", CreateSvxAccessibleShape ), }; |