diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-15 16:39:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-16 08:46:50 +0200 |
commit | e2d82611088677f8ec9f038639567f2d7c699b5e (patch) | |
tree | f1d8e738dca824def9d9ea7d71ae192125964645 /sd | |
parent | e042a83843ed2573dbce9338058b3dc545dd6898 (diff) |
convert some Buffer.append to +
by hand, because I don't feel like teaching this specific idiom to the
plugin
Change-Id: If400677dac842ca740c4532ed79f6f18f752b730
Reviewed-on: https://gerrit.libreoffice.org/80842
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/eppt/pptx-epptooxml.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx index 47cf5be5b1d2..8a7db7302ff0 100644 --- a/sd/source/filter/eppt/pptx-epptooxml.cxx +++ b/sd/source/filter/eppt/pptx-epptooxml.cxx @@ -1970,10 +1970,7 @@ void PowerPointExport::embedEffectAudio(const FSHelperPtr& pFS, const OUString& int nLastSlash = sUrl.lastIndexOf('/'); sName = sUrl.copy(nLastSlash >= 0 ? nLastSlash + 1 : 0); - OUString sPath = OUStringBuffer().append("../media/") - .append(sName) - .makeStringAndClear(); - + OUString sPath = "../media/" + sName; sRelId = addRelation(pFS->getOutputStream(), oox::getRelationship(Relationship::AUDIO), sPath); |