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/EnhancedCustomShapeFontWork.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'svx/source/customshapes/EnhancedCustomShapeFontWork.cxx') diff --git a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx index f46a514946af..3b8a988cf0d0 100644 --- a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx +++ b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx @@ -425,9 +425,7 @@ void GetFontWorkOutline( FWData& rFWData, const SdrObject* pCustomShape ) bool bSameLetterHeights = false; SdrCustomShapeGeometryItem& rGeometryItem = (SdrCustomShapeGeometryItem&)pCustomShape->GetMergedItem( SDRATTR_CUSTOMSHAPE_GEOMETRY ); - const OUString sTextPath( "TextPath" ); - const OUString sSameLetterHeights( "SameLetterHeights" ); - com::sun::star::uno::Any* pAny = rGeometryItem.GetPropertyValueByName( sTextPath, sSameLetterHeights ); + com::sun::star::uno::Any* pAny = rGeometryItem.GetPropertyValueByName( "TextPath", "SameLetterHeights" ); if ( pAny ) *pAny >>= bSameLetterHeights; -- cgit