diff options
Diffstat (limited to 'svx/source/accessibility/AccessibleShape.cxx')
-rw-r--r-- | svx/source/accessibility/AccessibleShape.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/svx/source/accessibility/AccessibleShape.cxx b/svx/source/accessibility/AccessibleShape.cxx index a3d18ea32ce2..01cfa5538ba1 100644 --- a/svx/source/accessibility/AccessibleShape.cxx +++ b/svx/source/accessibility/AccessibleShape.cxx @@ -563,8 +563,8 @@ awt::Rectangle SAL_CALL AccessibleShape::getBounds (void) if ( mxShape.is() ) { - static const OUString sBoundRectName ("BoundRect"); - static const OUString sAnchorPositionName ("AnchorPosition"); + static const char sBoundRectName[] = "BoundRect"; + static const char sAnchorPositionName[] = "AnchorPosition"; // Get the shape's bounding box in internal coordinates (in 100th of // mm). Use the property BoundRect. Only if that is not supported ask @@ -986,8 +986,7 @@ uno::Sequence<OUString> SAL_CALL // ...and add additional names. aServiceNames.realloc (nCount + 1); - static const OUString sAdditionalServiceName ("com.sun.star.drawing.AccessibleShape"); - aServiceNames[nCount] = sAdditionalServiceName; + aServiceNames[nCount] = "com.sun.star.drawing.AccessibleShape"; return aServiceNames; } @@ -1060,7 +1059,7 @@ void SAL_CALL AccessibleShape::notifyEvent (const document::EventObject& rEventObject) throw (uno::RuntimeException, std::exception) { - static const OUString sShapeModified ("ShapeModified"); + static const char sShapeModified[] = "ShapeModified"; // First check if the event is for us. uno::Reference<drawing::XShape> xShape ( |