Fix 'non-const lvalue reference cannot bind to a temporary'

Change-Id: Ic308a281f7b16c8924658be792216d3aba4444c5
This commit is contained in:
Tor Lillqvist 2014-05-19 09:04:11 +03:00
parent 6a21c29fc6
commit 1b529df25f

View File

@ -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: