[Libreoffice-commits] core.git: desktop/qa

Stephan Bergmann sbergman at redhat.com
Wed Jan 20 02:02:31 PST 2016


 desktop/qa/desktop_lib/test_desktop_lib.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c8322b643af78b8742b1af8e3427add94d429d81
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Jan 20 11:01:42 2016 +0100

    loplugin:stringconstant
    
    Change-Id: I678c1fb7d5079dfb1d880e856a0d507f1c89b427

diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx
index b9d4ca6..dc870bf 100644
--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx
+++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx
@@ -437,7 +437,7 @@ void DesktopLOKTest::testPasteWriterJPEG()
     LibLODocument_Impl* pDocument = loadDoc("blank_text.odt");
 
     OUString aFileURL;
-    createFileURL(OUString::createFromAscii("paste.jpg"), aFileURL);
+    createFileURL("paste.jpg", aFileURL);
     std::ifstream aImageStream(aFileURL.toUtf8().copy(strlen("file://")).getStr());
     std::vector<char> aImageContents((std::istreambuf_iterator<char>(aImageStream)), std::istreambuf_iterator<char>());
 


More information about the Libreoffice-commits mailing list