summaryrefslogtreecommitdiff
path: root/oox/source/helper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-12 15:10:21 +0200
committerNoel Grandin <noel@peralex.com>2015-08-14 11:11:14 +0200
commit1656a7ff431df8e1d65698953051086fbf90a266 (patch)
tree9e9fb9994d046f36ada637f5e600bd83fbbb84bd /oox/source/helper
parent9e1d98fec2884e4c401aa0d5396612aa01773dc8 (diff)
loplugin: defaultparams
Change-Id: Iabcea466cb23e7a7a432f953cc03aaa1c2dc1d65
Diffstat (limited to 'oox/source/helper')
-rw-r--r--oox/source/helper/textinputstream.cxx6
-rw-r--r--oox/source/helper/zipstorage.cxx3
2 files changed, 4 insertions, 5 deletions
diff --git a/oox/source/helper/textinputstream.cxx b/oox/source/helper/textinputstream.cxx
index d5e7894e49c5..b292e563f72d 100644
--- a/oox/source/helper/textinputstream.cxx
+++ b/oox/source/helper/textinputstream.cxx
@@ -70,21 +70,21 @@ sal_Int32 SAL_CALL UnoBinaryInputStream::readBytes( Sequence< sal_Int8 >& rData,
throw (NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception)
{
ensureConnected();
- return mpInStrm->readData( rData, nBytesToRead, 1 );
+ return mpInStrm->readData( rData, nBytesToRead );
}
sal_Int32 SAL_CALL UnoBinaryInputStream::readSomeBytes( Sequence< sal_Int8 >& rData, sal_Int32 nMaxBytesToRead )
throw (NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception)
{
ensureConnected();
- return mpInStrm->readData( rData, nMaxBytesToRead, 1 );
+ return mpInStrm->readData( rData, nMaxBytesToRead );
}
void SAL_CALL UnoBinaryInputStream::skipBytes( sal_Int32 nBytesToSkip )
throw (NotConnectedException, BufferSizeExceededException, IOException, RuntimeException, std::exception)
{
ensureConnected();
- mpInStrm->skip( nBytesToSkip, 1 );
+ mpInStrm->skip( nBytesToSkip );
}
sal_Int32 SAL_CALL UnoBinaryInputStream::available() throw (NotConnectedException, IOException, RuntimeException, std::exception)
diff --git a/oox/source/helper/zipstorage.cxx b/oox/source/helper/zipstorage.cxx
index d535ac63fe0a..dc9865461a68 100644
--- a/oox/source/helper/zipstorage.cxx
+++ b/oox/source/helper/zipstorage.cxx
@@ -58,8 +58,7 @@ ZipStorage::ZipStorage( const Reference< XComponentContext >& rxContext, const R
implementation of relations handling.
*/
mxStorage = ::comphelper::OStorageHelper::GetStorageOfFormatFromInputStream(
- ZIP_STORAGE_FORMAT_STRING, rxInStream, rxContext,
- false ); // DEV300_m80: Was sal_True, but DOCX and others did not load
+ ZIP_STORAGE_FORMAT_STRING, rxInStream, rxContext );
}
catch (Exception const& e)
{