summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-11-26 11:00:42 +0200
committerTor Lillqvist <tml@collabora.com>2014-11-26 11:01:00 +0200
commit14fa102cb972b5abb81923651904448abf79fd48 (patch)
tree2b03319f49add2b130c388f6b9e9abc663b4236b /io
parent7d067d5c0387d96faef1dcf1ac5cd77e2822f1a7 (diff)
Fix C4716: 'anonymous namespace'::Input::readBytes : must return a value
Change-Id: I1d660da4cdd3f612ac1478e37e613446d4253fae
Diffstat (limited to 'io')
-rw-r--r--io/qa/textinputstream.cxx2
1 files changed, 1 insertions, 1 deletions
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<sal_Int8 > & aData, sal_Int32 nMaxBytesToRead)