summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorGökhan Gurbetoğlu <gokhan.gurbetoglu@pardus.org.tr>2016-08-24 17:41:12 +0300
committerMichael Stahl <mstahl@redhat.com>2016-08-25 14:54:44 +0000
commitb7bf1ba2136b3d1e031673e7b541c6181e95ff61 (patch)
treea246e7d5f9cd1ed2e856a09426a924e4c815285e /sd
parent4d6dc9b84b0afd31a380e71fd53a3bc99d403430 (diff)
tdf#100726 - Improve readability of OUString concatanations
Improved readability of OUString concatanations. Also removed unused OUStrings "sColor" and "sEntry" from the code. Change-Id: Ie9792f499cd880be72229f8a8c71f05ff8e258b6 Reviewed-on: https://gerrit.libreoffice.org/28375 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/eppt/pptexanimations.cxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/sd/source/filter/eppt/pptexanimations.cxx b/sd/source/filter/eppt/pptexanimations.cxx
index 4a839c272588..adf8661a4125 100644
--- a/sd/source/filter/eppt/pptexanimations.cxx
+++ b/sd/source/filter/eppt/pptexanimations.cxx
@@ -1429,23 +1429,23 @@ Any AnimationExporter::convertAnimateValue( const Any& rSourceValue, const OUStr
OUString aP( "," );
if ( rSourceValue >>= aHSL )
{
- aDest += "hsl(";
- aDest += OUString::number( (sal_Int32)( aHSL[ 0 ] / ( 360.0 / 255 ) ) );
- aDest += aP;
- aDest += OUString::number( (sal_Int32)( aHSL[ 1 ] * 255.0 ) );
- aDest += aP;
- aDest += OUString::number( (sal_Int32)( aHSL[ 2 ] * 255.0 ) );
- aDest += ")";
+ aDest += "hsl("
+ + OUString::number( (sal_Int32)( aHSL[ 0 ] / ( 360.0 / 255 ) ) )
+ + aP
+ + OUString::number( (sal_Int32)( aHSL[ 1 ] * 255.0 ) )
+ + aP
+ + OUString::number( (sal_Int32)( aHSL[ 2 ] * 255.0 ) )
+ + ")";
}
else if ( rSourceValue >>= nColor )
{
- aDest += "rgb(";
- aDest += OUString::number( ( (sal_Int8)nColor ) );
- aDest += aP;
- aDest += OUString::number( ( (sal_Int8)( nColor >> 8 ) ) );
- aDest += aP;
- aDest += OUString::number( ( (sal_Int8)( nColor >> 16 ) ) );
- aDest += ")";
+ aDest += "rgb("
+ + OUString::number( ( (sal_Int8)nColor ) )
+ + aP
+ + OUString::number( ( (sal_Int8)( nColor >> 8 ) ) )
+ + aP
+ + OUString::number( ( (sal_Int8)( nColor >> 16 ) ) )
+ + ")";
}
}
else if ( rAttributeName == "FillStyle" )