Kaydet (Commit) 4fbd7437 authored tarafından Joren De Cuyper's avatar Joren De Cuyper Kaydeden (comit) Stephan Bergmann

Cleanup OUStrings in CustomShapes

Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, removing stray left-over
sSecondLightDirection declaration

Change-Id: I5c7f5c956b70adad953b52be3d456775b0f5fbc1
üst 608ebc6f
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment