diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-13 15:09:23 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-13 16:46:31 +0000 |
commit | a55ae5fde1cbd8c29f8aa3a66a4d362355a3062c (patch) | |
tree | fbdfb6193f1b1e994cecf872219d6651f990f508 /sd | |
parent | 4a68a5f32bcc815b116063e6c047397ed9a3e241 (diff) |
just return the read string here instead of passing one in by ref
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/ppt/pptinanimations.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/filter/ppt/pptinanimations.cxx b/sd/source/filter/ppt/pptinanimations.cxx index 658f46fb8abf..7ed1de1e327a 100644 --- a/sd/source/filter/ppt/pptinanimations.cxx +++ b/sd/source/filter/ppt/pptinanimations.cxx @@ -2830,9 +2830,7 @@ bool AnimationImporter::importAttributeValue( const Atom* pAtom, Any& rAny ) { if ( ( nRecLen & 1 ) && ( nRecLen > 1 ) ) { - String aString; - mpPPTImport->MSDFFReadZString( mrStCtrl, aString, nRecLen - 1, sal_True ); - rtl::OUString aOUString( aString ); + rtl::OUString aOUString = mpPPTImport->MSDFFReadZString( mrStCtrl, nRecLen - 1, sal_True ); rAny <<= aOUString; bOk = true; |