Fix 'non-const lvalue reference cannot bind to a temporary'
Change-Id: Ic308a281f7b16c8924658be792216d3aba4444c5
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user