summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/animationexport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/draw/animationexport.cxx')
-rw-r--r--xmloff/source/draw/animationexport.cxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/xmloff/source/draw/animationexport.cxx b/xmloff/source/draw/animationexport.cxx
index 62781694e28f..2a48e16c34f5 100644
--- a/xmloff/source/draw/animationexport.cxx
+++ b/xmloff/source/draw/animationexport.cxx
@@ -1485,7 +1485,8 @@ void AnimationsExporterImpl::convertValue( XMLTokenEnum eAttributeName, OUString
if( !sTmp.isEmpty() )
sTmp.append( ';' );
convertValue( eAttributeName, sTmp2, *pAny );
- sTmp.append( sTmp2.makeStringAndClear() );
+ sTmp.append( sTmp2 );
+ sTmp2.setLength(0);
}
}
else
@@ -1567,7 +1568,8 @@ void AnimationsExporterImpl::convertTiming( OUStringBuffer& sTmp, const Any& rVa
if( !sTmp.isEmpty() )
sTmp.append( ';' );
convertTiming( sTmp2, *pAny );
- sTmp.append( sTmp2.makeStringAndClear() );
+ sTmp.append( sTmp2 );
+ sTmp2.setLength(0);
}
}
else if( auto x = o3tl::tryAccess<double>(rValue) )
@@ -1593,7 +1595,8 @@ void AnimationsExporterImpl::convertTiming( OUStringBuffer& sTmp, const Any& rVa
SvXMLUnitConverter::convertEnum( sTmp2, pEvent->Trigger, aAnimations_EnumMap_EventTrigger );
- sTmp.append( sTmp2.makeStringAndClear() );
+ sTmp.append( sTmp2 );
+ sTmp2.setLength(0);
}
if( pEvent->Offset.hasValue() )
@@ -1603,7 +1606,8 @@ void AnimationsExporterImpl::convertTiming( OUStringBuffer& sTmp, const Any& rVa
if( !sTmp.isEmpty() )
sTmp.append( '+' );
- sTmp.append( sTmp2.makeStringAndClear() );
+ sTmp.append( sTmp2 );
+ sTmp2.setLength(0);
}
}
else