summaryrefslogtreecommitdiff
path: root/sot/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-08 13:55:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-10 11:18:35 +0100
commitf68f3b98cc47868cda3a75298a211c5735c0a4e7 (patch)
tree13eed7d0b65c9e2c39f5274eed61c32d8976ae58 /sot/source
parentb95512e936b4eebb301c169e091bd9064c1eb2ac (diff)
loplugin:indentation in soltools..svl
Change-Id: I270a12cdb68920b8fa23b82dd933724e30334485 Reviewed-on: https://gerrit.libreoffice.org/67565 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sot/source')
-rw-r--r--sot/source/base/exchange.cxx2
-rw-r--r--sot/source/sdstor/ucbstorage.cxx4
-rw-r--r--sot/source/unoolestorage/xolesimplestorage.cxx20
3 files changed, 13 insertions, 13 deletions
diff --git a/sot/source/base/exchange.cxx b/sot/source/base/exchange.cxx
index cb9c502b0561..146114b8b238 100644
--- a/sot/source/base/exchange.cxx
+++ b/sot/source/base/exchange.cxx
@@ -206,7 +206,7 @@ namespace
/*145 SotClipboardFormatId::RICHTEXT*/ { "text/richtext", "Richtext Format", &cppu::UnoType<Sequence<sal_Int8>>::get() },
/*146 SotClipboardFormatId::STRING_TSVC*/ { "application/x-libreoffice-tsvc", "Text TSV-Calc", &cppu::UnoType<OUString>::get() }
};
- return &aInstance[0];
+ return &aInstance[0];
}
};
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx
index 6bdcffbf42b3..0f76afcfafca 100644
--- a/sot/source/sdstor/ucbstorage.cxx
+++ b/sot/source/sdstor/ucbstorage.cxx
@@ -1681,7 +1681,7 @@ void UCBStorage_Impl::CreateContent()
void UCBStorage_Impl::ReadContent()
{
- if ( m_bListCreated )
+ if ( m_bListCreated )
return;
m_bListCreated = true;
@@ -2506,7 +2506,7 @@ bool UCBStorage::CopyTo( const OUString& rElemName, BaseStorage* pDest, const OU
else
{
// for copying no optimization is useful, because in every case the stream data must be copied
- UCBStorageElement_Impl* pElement = FindElement_Impl( rElemName );
+ UCBStorageElement_Impl* pElement = FindElement_Impl( rElemName );
if ( pElement )
return CopyStorageElement_Impl( *pElement, pDest, rNew );
else
diff --git a/sot/source/unoolestorage/xolesimplestorage.cxx b/sot/source/unoolestorage/xolesimplestorage.cxx
index 1725a990f3d3..1de1f56792a7 100644
--- a/sot/source/unoolestorage/xolesimplestorage.cxx
+++ b/sot/source/unoolestorage/xolesimplestorage.cxx
@@ -267,7 +267,7 @@ void SAL_CALL OLESimpleStorage::insertByName( const OUString& aName, const uno::
if ( m_bDisposed )
throw lang::DisposedException();
- if ( !m_pStorage )
+ if ( !m_pStorage )
throw uno::RuntimeException();
uno::Reference< io::XStream > xStream;
@@ -316,7 +316,7 @@ void SAL_CALL OLESimpleStorage::removeByName( const OUString& aName )
if ( m_bDisposed )
throw lang::DisposedException();
- if ( !m_pStorage )
+ if ( !m_pStorage )
throw uno::RuntimeException();
if ( !m_bNoTemporaryCopy && !m_xStream.is() )
@@ -350,7 +350,7 @@ void SAL_CALL OLESimpleStorage::replaceByName( const OUString& aName, const uno:
}
catch( container::ElementExistException& )
{
- uno::Any aCaught( ::cppu::getCaughtException() );
+ uno::Any aCaught( ::cppu::getCaughtException() );
throw lang::WrappedTargetException("Can't copy raw stream",
uno::Reference< uno::XInterface >(),
@@ -366,7 +366,7 @@ uno::Any SAL_CALL OLESimpleStorage::getByName( const OUString& aName )
if ( m_bDisposed )
throw lang::DisposedException();
- if ( !m_pStorage )
+ if ( !m_pStorage )
throw uno::RuntimeException();
if ( !m_pStorage->IsContained( aName ) )
@@ -468,7 +468,7 @@ uno::Sequence< OUString > SAL_CALL OLESimpleStorage::getElementNames()
if ( m_bDisposed )
throw lang::DisposedException();
- if ( !m_pStorage )
+ if ( !m_pStorage )
throw uno::RuntimeException();
SvStorageInfoList aList;
@@ -495,7 +495,7 @@ sal_Bool SAL_CALL OLESimpleStorage::hasByName( const OUString& aName )
if ( m_bDisposed )
throw lang::DisposedException();
- if ( !m_pStorage )
+ if ( !m_pStorage )
throw uno::RuntimeException();
bool bResult = m_pStorage->IsContained( aName );
@@ -528,7 +528,7 @@ sal_Bool SAL_CALL OLESimpleStorage::hasElements()
if ( m_bDisposed )
throw lang::DisposedException();
- if ( !m_pStorage )
+ if ( !m_pStorage )
throw uno::RuntimeException();
SvStorageInfoList aList;
@@ -556,7 +556,7 @@ void SAL_CALL OLESimpleStorage::dispose()
if ( m_pListenersContainer )
{
- lang::EventObject aSource( static_cast< ::cppu::OWeakObject* >(this) );
+ lang::EventObject aSource( static_cast< ::cppu::OWeakObject* >(this) );
m_pListenersContainer->disposeAndClear( aSource );
}
@@ -608,7 +608,7 @@ void SAL_CALL OLESimpleStorage::commit()
if ( m_bDisposed )
throw lang::DisposedException();
- if ( !m_pStorage )
+ if ( !m_pStorage )
throw uno::RuntimeException();
if ( !m_bNoTemporaryCopy && !m_xStream.is() )
@@ -631,7 +631,7 @@ void SAL_CALL OLESimpleStorage::revert()
if ( m_bDisposed )
throw lang::DisposedException();
- if ( !m_pStorage )
+ if ( !m_pStorage )
throw uno::RuntimeException();
if ( !m_bNoTemporaryCopy && !m_xStream.is() )