diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-18 10:49:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-18 22:12:20 +0200 |
commit | acf351fab73b1d05592d33e0a32cbc7cd160ae97 (patch) | |
tree | c46c6f54d6823e69e9d56e412c8636fbbffd849e /basic/source/runtime/iosys.cxx | |
parent | becbf34a863569fe38487faf2f41963677241710 (diff) |
cid#1448372 Unchecked return value
Change-Id: I63d8c9d145cd938fde289d680bdc0ed3f7357bd7
Reviewed-on: https://gerrit.libreoffice.org/75883
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basic/source/runtime/iosys.cxx')
-rw-r--r-- | basic/source/runtime/iosys.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx index c0b85982cf81..d73a177ac223 100644 --- a/basic/source/runtime/iosys.cxx +++ b/basic/source/runtime/iosys.cxx @@ -247,7 +247,8 @@ sal_uInt64 OslStream::SeekPos( sal_uInt64 nPos ) } OSL_VERIFY(rc == ::osl::FileBase::E_None); sal_uInt64 nRealPos(0); - maFile.getPos( nRealPos ); + rc = maFile.getPos( nRealPos ); + OSL_VERIFY(rc == ::osl::FileBase::E_None); return nRealPos; } |