summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-05-19 09:10:30 +0300
committerTor Lillqvist <tml@collabora.com>2014-05-19 09:10:58 +0300
commitb5f45a51638901ea679bf238ab460283e41bc622 (patch)
treeea755ff250ffc8fcb9f1e57f5d6766eaf5e67b4c
parent214de0e5124b44df0f37fdf89271a527667590dc (diff)
Argh, *this* is what the compiler tried to tell me
Change-Id: Id5716bf6f9c86e7fa0d64b1bae9b69b4a5dadfe5
-rw-r--r--vcl/qa/cppunit/wmf/wmfimporttest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/qa/cppunit/wmf/wmfimporttest.cxx b/vcl/qa/cppunit/wmf/wmfimporttest.cxx
index b12fbe9b2a3a..45c3cc45d762 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: