[ooo-build-commit] .: xml2cmp/source

Caolán McNamara caolan at kemper.freedesktop.org
Wed Oct 6 03:48:42 PDT 2010


 xml2cmp/source/xcd/main.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 77080c41ad08d26f1d105ccdba8814f3b0b70cfe
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Oct 6 09:15:44 2010 +0100

    #i113938# printf style formats in c++ stream operation

diff --git a/xml2cmp/source/xcd/main.cxx b/xml2cmp/source/xcd/main.cxx
index 9a63d9c..11cab03 100644
--- a/xml2cmp/source/xcd/main.cxx
+++ b/xml2cmp/source/xcd/main.cxx
@@ -88,7 +88,7 @@ Do_SingleFileCommandLine(const CommandLine & i_rCommandLine)
     bool bLoadResult = aParser.LoadFile(i_rCommandLine.XmlSrcFile());
     if (! bLoadResult)
     {
-        std::cerr << "Error: File %s could not be loaded." << i_rCommandLine.XmlSrcFile() << std::endl;
+        std::cerr << "Error: File " << i_rCommandLine.XmlSrcFile() << " could not be loaded." << std::endl;
         return 1;
     }
 


More information about the ooo-build-commit mailing list