Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1548

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/48/1548/1

fdo#57950: Remove last chained appends from avmedia

Change-Id: I0906bf7493828c5923f3243c6849a2eca5f37bb0
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
---
M avmedia/source/framework/mediaitem.cxx
1 file changed, 1 insertion(+), 5 deletions(-)



diff --git a/avmedia/source/framework/mediaitem.cxx b/avmedia/source/framework/mediaitem.cxx
index 2776809..05c29aa 100644
--- a/avmedia/source/framework/mediaitem.cxx
+++ b/avmedia/source/framework/mediaitem.cxx
@@ -470,11 +470,7 @@
             xTransaction->commit();
         }
 
-        OUStringBuffer buf("vnd.sun.star.Package:");
-        buf.append(media);
-        buf.append(sal_Unicode('/'));
-        buf.append(filename);
-        o_rEmbeddedURL = buf.makeStringAndClear();
+        o_rEmbeddedURL = "vnd.sun.star.Package:" + media + "/" + filename;
         return true;
     }
     catch (uno::Exception const&)

-- 
To view, visit https://gerrit.libreoffice.org/1548
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0906bf7493828c5923f3243c6849a2eca5f37bb0
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Marcos Souza <marcos.souza.org@gmail.com>


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.