diff options
Diffstat (limited to 'package/source/zippackage')
-rw-r--r-- | package/source/zippackage/ZipPackage.cxx | 8 | ||||
-rw-r--r-- | package/source/zippackage/ZipPackageFolder.cxx | 2 | ||||
-rw-r--r-- | package/source/zippackage/ZipPackageStream.cxx | 2 | ||||
-rw-r--r-- | package/source/zippackage/zipfileaccess.cxx | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx index 841d559af6d8..d414588f0f1b 100644 --- a/package/source/zippackage/ZipPackage.cxx +++ b/package/source/zippackage/ZipPackage.cxx @@ -552,7 +552,7 @@ void SAL_CALL ZipPackage::initialize( const uno::Sequence< Any >& aArguments ) for( int ind = 0; ind < aArguments.getLength(); ind++ ) { OUString aParamUrl; - if ( ( aArguments[ind] >>= aParamUrl )) + if ( aArguments[ind] >>= aParamUrl ) { m_eMode = e_IMode_URL; try @@ -615,17 +615,17 @@ void SAL_CALL ZipPackage::initialize( const uno::Sequence< Any >& aArguments ) bHaveZipFile = false; } } - else if ( ( aArguments[ind] >>= m_xStream ) ) + else if ( aArguments[ind] >>= m_xStream ) { // a writable stream can implement both XStream & XInputStream m_eMode = e_IMode_XStream; m_xContentStream = m_xStream->getInputStream(); } - else if ( ( aArguments[ind] >>= m_xContentStream ) ) + else if ( aArguments[ind] >>= m_xContentStream ) { m_eMode = e_IMode_XInputStream; } - else if ( ( aArguments[ind] >>= aNamedValue ) ) + else if ( aArguments[ind] >>= aNamedValue ) { if ( aNamedValue.Name == "RepairPackage" ) aNamedValue.Value >>= m_bForceRecovery; diff --git a/package/source/zippackage/ZipPackageFolder.cxx b/package/source/zippackage/ZipPackageFolder.cxx index a65d56cb1a5f..af4b1c9d56dc 100644 --- a/package/source/zippackage/ZipPackageFolder.cxx +++ b/package/source/zippackage/ZipPackageFolder.cxx @@ -173,7 +173,7 @@ void SAL_CALL ZipPackageFolder::insertByName( const OUString& aName, const uno:: { uno::Reference < XUnoTunnel > xRef; aElement >>= xRef; - if ( ( aElement >>= xRef ) ) + if ( aElement >>= xRef ) { sal_Int64 nTest; ZipPackageEntry *pEntry; diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx index 8607f4a2c583..fcec2f09d982 100644 --- a/package/source/zippackage/ZipPackageStream.cxx +++ b/package/source/zippackage/ZipPackageStream.cxx @@ -1219,7 +1219,7 @@ void SAL_CALL ZipPackageStream::setPropertyValue( const OUString& aPropertyName, if ( !( aValue >>= aNewKey ) ) { OUString sTempString; - if ( ( aValue >>= sTempString ) ) + if ( aValue >>= sTempString ) { sal_Int32 nPathLength = sTempString.getLength(); Sequence < sal_Int8 > aSequence ( nPathLength ); diff --git a/package/source/zippackage/zipfileaccess.cxx b/package/source/zippackage/zipfileaccess.cxx index 1e5cb165af4b..8f0979f5f748 100644 --- a/package/source/zippackage/zipfileaccess.cxx +++ b/package/source/zippackage/zipfileaccess.cxx @@ -198,11 +198,11 @@ void SAL_CALL OZipFileAccess::initialize( const uno::Sequence< uno::Any >& aArgu } }; - if ( ( aArguments[0] >>= aParamURL ) ) + if ( aArguments[0] >>= aParamURL ) { openInputStream(); } - else if ( (aArguments[0] >>= xStream ) ) + else if ( aArguments[0] >>= xStream ) { // a writable stream can implement both XStream & XInputStream m_xContentStream = xStream->getInputStream(); |