summaryrefslogtreecommitdiffstats
path: root/oox
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-06-29 14:42:54 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-06-29 16:23:23 +0200
commit318f2b64cc32038b2ab1b18b4a13e3f41e1e35ff (patch)
treec375d326f022d1e3f3b9baea19ea262982dbc4a3 /oox
parentmake HitTestNativeControl const (diff)
downloadcore-318f2b64cc32038b2ab1b18b4a13e3f41e1e35ff.tar.gz
core-318f2b64cc32038b2ab1b18b4a13e3f41e1e35ff.zip
remove some createFromAscii usage
there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
Diffstat (limited to 'oox')
-rw-r--r--oox/source/vml/vmldrawing.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/oox/source/vml/vmldrawing.cxx b/oox/source/vml/vmldrawing.cxx
index 8a68bd744709..89972853dd4f 100644
--- a/oox/source/vml/vmldrawing.cxx
+++ b/oox/source/vml/vmldrawing.cxx
@@ -225,12 +225,12 @@ Reference< XShape > Drawing::createAndInsertXShape( const OUString& rService,
else
{
Reference< XPropertySet > xPropSet( xShape, UNO_QUERY_THROW );
- xPropSet->setPropertyValue( OUString::createFromAscii( "HoriOrient" ), makeAny( HoriOrientation::NONE ) );
- xPropSet->setPropertyValue( OUString::createFromAscii( "VertOrient" ), makeAny( VertOrientation::NONE ) );
- xPropSet->setPropertyValue( OUString::createFromAscii( "HoriOrientPosition" ), makeAny( rShapeRect.X ) );
- xPropSet->setPropertyValue( OUString::createFromAscii( "VertOrientPosition" ), makeAny( rShapeRect.Y ) );
- xPropSet->setPropertyValue( OUString::createFromAscii( "HoriOrientRelation" ), makeAny( RelOrientation::FRAME ) );
- xPropSet->setPropertyValue( OUString::createFromAscii( "VertOrientRelation" ), makeAny( RelOrientation::FRAME ) );
+ xPropSet->setPropertyValue( "HoriOrient", makeAny( HoriOrientation::NONE ) );
+ xPropSet->setPropertyValue( "VertOrient", makeAny( VertOrientation::NONE ) );
+ xPropSet->setPropertyValue( "HoriOrientPosition", makeAny( rShapeRect.X ) );
+ xPropSet->setPropertyValue( "VertOrientPosition", makeAny( rShapeRect.Y ) );
+ xPropSet->setPropertyValue( "HoriOrientRelation", makeAny( RelOrientation::FRAME ) );
+ xPropSet->setPropertyValue( "VertOrientRelation", makeAny( RelOrientation::FRAME ) );
}
xShape->setSize( awt::Size( rShapeRect.Width, rShapeRect.Height ) );
}