From be7a99bca77cd7176f2c01cfff42801475f90f82 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 25 Sep 2014 11:36:34 +0100 Subject: coverity#1240266 Logically dead code Change-Id: I97256c687c6d56beef2c3664bbba8c43f685228b --- ucb/source/ucp/gio/gio_seekable.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ucb/source/ucp/gio') diff --git a/ucb/source/ucp/gio/gio_seekable.cxx b/ucb/source/ucp/gio/gio_seekable.cxx index 26e222a9461b..ba338c02f4c9 100644 --- a/ucb/source/ucp/gio/gio_seekable.cxx +++ b/ucb/source/ucp/gio/gio_seekable.cxx @@ -110,10 +110,6 @@ sal_Int64 SAL_CALL Seekable::getLength() throw( io::IOException, uno::RuntimeExc bOk = true; } - if (!bOk) - throw io::IOException("Getting size unsupported", - static_cast< cppu::OWeakObject * >(this)); - return nSize; } -- cgit