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

Tor Lillqvist tml at collabora.com
Wed Nov 26 01:01:41 PST 2014


 io/qa/textinputstream.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 14fa102cb972b5abb81923651904448abf79fd48
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Nov 26 11:00:42 2014 +0200

    Fix C4716: 'anonymous namespace'::Input::readBytes : must return a value
    
    Change-Id: I1d660da4cdd3f612ac1478e37e613446d4253fae

diff --git a/io/qa/textinputstream.cxx b/io/qa/textinputstream.cxx
index efba8ac..15a59bc 100644
--- a/io/qa/textinputstream.cxx
+++ b/io/qa/textinputstream.cxx
@@ -47,7 +47,7 @@ private:
             css::io::BufferSizeExceededException, css::io::IOException,
             css::uno::RuntimeException, std::exception)
         SAL_OVERRIDE
-    { CPPUNIT_FAIL("readLine is supposed to call readSomeBytes instead"); }
+    { CPPUNIT_FAIL("readLine is supposed to call readSomeBytes instead"); return 0;}
 
     sal_Int32 SAL_CALL readSomeBytes(
         css::uno::Sequence<sal_Int8 > & aData, sal_Int32 nMaxBytesToRead)


More information about the Libreoffice-commits mailing list