[Libreoffice-commits] core.git: vcl/qa
Tor Lillqvist
tml at collabora.com
Sun May 18 23:11:30 PDT 2014
vcl/qa/cppunit/wmf/wmfimporttest.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit b5f45a51638901ea679bf238ab460283e41bc622
Author: Tor Lillqvist <tml at collabora.com>
Date: Mon May 19 09:10:30 2014 +0300
Argh, *this* is what the compiler tried to tell me
Change-Id: Id5716bf6f9c86e7fa0d64b1bae9b69b4a5dadfe5
diff --git a/vcl/qa/cppunit/wmf/wmfimporttest.cxx b/vcl/qa/cppunit/wmf/wmfimporttest.cxx
index b12fbe9..45c3cc4 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(const char * sFileName)
+ OUString getFullUrl(const OUString& sFileName)
{
- return getURLFromSrc(maDataUrl) + OUString(sFileName, strlen(sFileName), RTL_TEXTENCODING_UTF8);
+ return getURLFromSrc(maDataUrl) + sFileName;
}
public:
More information about the Libreoffice-commits
mailing list