From 4fbd7437b1436706014acec3bcd2c200805f0f92 Mon Sep 17 00:00:00 2001 From: Joren De Cuyper Date: Mon, 28 Jul 2014 18:08:25 +0200 Subject: Cleanup OUStrings in CustomShapes Signed-off-by: Stephan Bergmann , removing stray left-over sSecondLightDirection declaration Change-Id: I5c7f5c956b70adad953b52be3d456775b0f5fbc1 --- svx/source/customshapes/EnhancedCustomShapeEngine.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'svx/source/customshapes/EnhancedCustomShapeEngine.cxx') diff --git a/svx/source/customshapes/EnhancedCustomShapeEngine.cxx b/svx/source/customshapes/EnhancedCustomShapeEngine.cxx index 33399569c2b2..6175f6e405b1 100644 --- a/svx/source/customshapes/EnhancedCustomShapeEngine.cxx +++ b/svx/source/customshapes/EnhancedCustomShapeEngine.cxx @@ -282,8 +282,7 @@ Reference< drawing::XShape > SAL_CALL EnhancedCustomShapeEngine::render() SdrCustomShapeGeometryItem& rGeometryItem = (SdrCustomShapeGeometryItem&) pSdrObjCustomShape->GetMergedItem( SDRATTR_CUSTOMSHAPE_GEOMETRY ); bool bTextPathOn = false; - const OUString sTextPath( "TextPath" ); - uno::Any* pAny = rGeometryItem.GetPropertyValueByName( sTextPath, sTextPath ); + uno::Any* pAny = rGeometryItem.GetPropertyValueByName( "TextPath", "TextPath" ); if ( pAny ) *pAny >>= bTextPathOn; -- cgit v1.2.3