summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/storinfo.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-11-22 09:47:52 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-11-22 13:33:25 +0100
commit2161d04688be77112c281a1ada5263b963677c43 (patch)
tree252d975d79b429a6c7ea0a8c777f8403e5481c62 /sot/source/sdstor/storinfo.cxx
parent041e1ba3185fd73930129c19739ee62ba88826cc (diff)
drop duplicate method
Change-Id: Idadd0a64e41cd02f5167b275081c3576a6224b12 Reviewed-on: https://gerrit.libreoffice.org/45075 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sot/source/sdstor/storinfo.cxx')
-rw-r--r--sot/source/sdstor/storinfo.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/storinfo.cxx b/sot/source/sdstor/storinfo.cxx
index d7cc729e9262..080e41d3e83e 100644
--- a/sot/source/sdstor/storinfo.cxx
+++ b/sot/source/sdstor/storinfo.cxx
@@ -30,7 +30,7 @@ SotClipboardFormatId ReadClipboardFormat( SvStream & rStm )
SotClipboardFormatId nFormat = SotClipboardFormatId::NONE;
sal_Int32 nLen = 0;
rStm.ReadInt32( nLen );
- if( rStm.IsEof() )
+ if( rStm.eof() )
rStm.SetError( SVSTREAM_GENERALERROR );
if( nLen > 0 )
{