summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-05 14:09:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-06 08:23:17 +0200
commit1cf48243995410ca9455df573dff94d122874f0b (patch)
tree53c524182adadab5e07fa71295d9ff3fefeffbc5 /comphelper
parent6469b6134e71f6fc2debd8c8812e2dc9ad8e60c3 (diff)
remove duplicate code
Change-Id: I75c43d254cd2da2ffb05c1ebd3aaf075ff3da5ec Reviewed-on: https://gerrit.libreoffice.org/75135 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/streaming/memorystream.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/comphelper/source/streaming/memorystream.cxx b/comphelper/source/streaming/memorystream.cxx
index 8620a8d299e1..a4e713777a90 100644
--- a/comphelper/source/streaming/memorystream.cxx
+++ b/comphelper/source/streaming/memorystream.cxx
@@ -170,9 +170,6 @@ void SAL_CALL UNOMemoryStream::seek( sal_Int64 location )
if ( location > static_cast< sal_Int64 >( maData.size() ) )
maData.resize( static_cast< sal_Int32 >( location ) );
- if ( location > static_cast< sal_Int64 >( maData.size() ) )
- maData.resize( static_cast< sal_Int32 >( location ) );
-
mnCursor = static_cast< sal_Int32 >( location );
}