summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-02-25 17:52:23 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-02-25 17:59:40 +0100
commit4f4e4e40f5b79a4dba46ffedd11cafa7beb08a87 (patch)
treec158b93b176b084eac024c0e3b5e94e18911f50f /svl
parente39c551c6133d0ff2b7074f64ea66563ebcce14b (diff)
loplugin: improve indentation
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
Diffstat (limited to 'svl')
-rw-r--r--svl/source/items/slstitm.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/svl/source/items/slstitm.cxx b/svl/source/items/slstitm.cxx
index 004f8a73f958..ea34fde877e8 100644
--- a/svl/source/items/slstitm.cxx
+++ b/svl/source/items/slstitm.cxx
@@ -218,8 +218,7 @@ void SfxStringListItem::SetString( const XubString& rStr )
if ( pImp && (pImp->nRefCount == 1) )
delete pImp;
- else
- if( pImp )
+ else if( pImp )
pImp->nRefCount--;
pImp = new SfxImpStringList;
@@ -278,8 +277,7 @@ void SfxStringListItem::SetStringList( const com::sun::star::uno::Sequence< rtl:
if ( pImp && (pImp->nRefCount == 1) )
delete pImp;
- else
- if( pImp )
+ else if( pImp )
pImp->nRefCount--;
pImp = new SfxImpStringList;