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