From 14fa102cb972b5abb81923651904448abf79fd48 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 26 Nov 2014 11:00:42 +0200 Subject: [PATCH] Fix C4716: 'anonymous namespace'::Input::readBytes : must return a value Change-Id: I1d660da4cdd3f612ac1478e37e613446d4253fae --- io/qa/textinputstream.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io/qa/textinputstream.cxx b/io/qa/textinputstream.cxx index efba8ac40875..15a59bca05fe 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 & aData, sal_Int32 nMaxBytesToRead)