[Libreoffice-commits] core.git: vcl/qa
Tor Lillqvist
tml at collabora.com
Sun May 18 23:08:34 PDT 2014
vcl/qa/cppunit/wmf/wmfimporttest.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 1b529df25fa6de1918bee0c3edb18f81d63b1366
Author: Tor Lillqvist <tml at collabora.com>
Date: Mon May 19 09:04:11 2014 +0300
Fix 'non-const lvalue reference cannot bind to a temporary'
Change-Id: Ic308a281f7b16c8924658be792216d3aba4444c5
diff --git a/vcl/qa/cppunit/wmf/wmfimporttest.cxx b/vcl/qa/cppunit/wmf/wmfimporttest.cxx
index 5204007..b12fbe9 100644
--- a/vcl/qa/cppunit/wmf/wmfimporttest.cxx
+++ b/vcl/qa/cppunit/wmf/wmfimporttest.cxx
@@ -29,9 +29,9 @@ class WmfTest : public test::BootstrapFixture, public XmlTestTools
{
OUString maDataUrl;
- OUString getFullUrl(OUString& sFileName)
+ OUString getFullUrl(const char * sFileName)
{
- return getURLFromSrc(maDataUrl) + sFileName;
+ return getURLFromSrc(maDataUrl) + OUString(sFileName, strlen(sFileName), RTL_TEXTENCODING_UTF8);
}
public:
More information about the Libreoffice-commits
mailing list