summaryrefslogtreecommitdiff
path: root/filter/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-12-06 15:30:20 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-12-06 17:19:17 +0000
commit0e1528f1b4cd76804f5df0d75438a6f392a77d1b (patch)
tree5deeaacfddd2201add5d55ab76f9a44880c1f337 /filter/source
parent4ee829af622a2932ffad8f9712e2563579746cf0 (diff)
just use return value optimization
Change-Id: I2c7937c238d90192383e20923f62233821445c10
Diffstat (limited to 'filter/source')
-rw-r--r--filter/source/msfilter/escherex.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx
index f27f2b90675c..c57ca80646e1 100644
--- a/filter/source/msfilter/escherex.cxx
+++ b/filter/source/msfilter/escherex.cxx
@@ -729,10 +729,9 @@ sal_Bool EscherPropertyContainer::GetLineArrow( const sal_Bool bLineStart,
aAny, rXPropSet, sLineName, sal_False ) )
{
String aArrowStartName = *(::rtl::OUString*)aAny.getValue();
- rtl::OUString aApiName;
sal_Int16 nWhich = bLineStart ? XATTR_LINESTART : XATTR_LINEEND;
- SvxUnogetApiNameForItem( nWhich, aArrowStartName, aApiName );
+ OUString aApiName = SvxUnogetApiNameForItem(nWhich, aArrowStartName);
if ( !aApiName.isEmpty() )
{