summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/shapepropertiescontext.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-12-07 13:27:42 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-12-07 15:57:46 +0000
commit74ca0e86063f698c8d36d935cd2b791c6b2874b4 (patch)
tree3317bc138d527a4697792e6c1176abb7da68c5fa /oox/source/drawingml/shapepropertiescontext.cxx
parent21ea372541a81972aa33cb2226dbc2ee3886e23a (diff)
drop some static OUStrings
Change-Id: I41d5df892d8b710b82ed886b2390b53535b8a67b
Diffstat (limited to 'oox/source/drawingml/shapepropertiescontext.cxx')
-rw-r--r--oox/source/drawingml/shapepropertiescontext.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/oox/source/drawingml/shapepropertiescontext.cxx b/oox/source/drawingml/shapepropertiescontext.cxx
index a10b8eab9e5e..e0fe19f450a4 100644
--- a/oox/source/drawingml/shapepropertiescontext.cxx
+++ b/oox/source/drawingml/shapepropertiescontext.cxx
@@ -75,15 +75,13 @@ Reference< XFastContextHandler > ShapePropertiesContext::createFastChildContext(
// TODO: Move the following checks to a separate place or as a separate function
if ( nToken == XML_line )
{
- static const OUString sLineShape( "com.sun.star.drawing.LineShape" );
- mrShape.getServiceName() = sLineShape;
+ mrShape.getServiceName() = "com.sun.star.drawing.LineShape";
}
if( ( nToken >= XML_bentConnector2 && nToken <= XML_bentConnector5 ) ||
( nToken >= XML_curvedConnector2 && nToken <= XML_curvedConnector5 ) ||
nToken == XML_straightConnector1 )
{
- static const OUString sCustomShape( "com.sun.star.drawing.CustomShape" );
- mrShape.getServiceName() = sCustomShape;
+ mrShape.getServiceName() = "com.sun.star.drawing.CustomShape";
}
xRet.set( new PresetShapeGeometryContext( *this, xAttribs, *(mrShape.getCustomShapeProperties()) ) );
}