[Libreoffice-commits] core.git: framework/source

Tor Lillqvist tml at collabora.com
Sun Sep 8 15:52:39 PDT 2013


 framework/source/xml/acceleratorconfigurationreader.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c31d3ed99cc2346663877a751ffea64270ed412f
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Sep 9 01:52:09 2013 +0300

    One more case of explicit OUString construction needed for return statement
    
    Change-Id: I577aa609179cdb83124b004ff9ef5aa2123e1e5b

diff --git a/framework/source/xml/acceleratorconfigurationreader.cxx b/framework/source/xml/acceleratorconfigurationreader.cxx
index 478f1b3..b9191d28 100644
--- a/framework/source/xml/acceleratorconfigurationreader.cxx
+++ b/framework/source/xml/acceleratorconfigurationreader.cxx
@@ -286,7 +286,7 @@ AcceleratorConfigurationReader::EXMLAttribute AcceleratorConfigurationReader::im
 OUString AcceleratorConfigurationReader::implts_getErrorLineString()
 {
     if (!m_xLocator.is())
-        return "Error during parsing XML. (No further info available ...)";
+        return OUString("Error during parsing XML. (No further info available ...)");
 
     OUStringBuffer sMsg(256);
     sMsg.appendAscii("Error during parsing XML in\nline = ");


More information about the Libreoffice-commits mailing list