diff options
author | Joren De Cuyper <jorendc@libreoffice.org> | 2014-07-28 18:08:25 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-08-08 12:20:41 +0200 |
commit | 4fbd7437b1436706014acec3bcd2c200805f0f92 (patch) | |
tree | 36b1781460d619e864d4b494ab3321e538f97635 /svx/source/customshapes/EnhancedCustomShapeEngine.cxx | |
parent | 608ebc6f01db5d9d86bab58f9cabce56c8b48326 (diff) |
Cleanup OUStrings in CustomShapes
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, removing stray left-over
sSecondLightDirection declaration
Change-Id: I5c7f5c956b70adad953b52be3d456775b0f5fbc1
Diffstat (limited to 'svx/source/customshapes/EnhancedCustomShapeEngine.cxx')
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShapeEngine.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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; |