From 2bf296ddd10f0a56bdf799712bac1ccb10ed8b72 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Mon, 13 Jun 2022 17:09:08 +1000 Subject: io: drop unnecessary cast Change-Id: Iaceab1b85e41dbb2102fe829f7abc2f8e3898a52 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135693 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- io/source/stm/odata.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'io') diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx index 754cda450a94..7d39a5835852 100644 --- a/io/source/stm/odata.cxx +++ b/io/source/stm/odata.cxx @@ -25,7 +25,6 @@ #include #include #include -#include #include #include @@ -1094,7 +1093,7 @@ Reference< XPersistObject > OObjectInputStream::readObject() { // grow to the right size Reference< XPersistObject > xEmpty; - m_aPersistVector.insert( m_aPersistVector.end(), static_cast(nId - nSize + 1), xEmpty ); + m_aPersistVector.insert( m_aPersistVector.end(), nId - nSize + 1, xEmpty ); } m_aPersistVector[nId] = xLoadedObj; -- cgit