summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-03 13:41:45 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-03 17:14:15 +0100
commitecf00403376d13355fcf6fb7cd36b3500f19fc69 (patch)
tree96d76c3d9e9514a6f08e51c1fe3ddcdcb6a1060d /sc/source/ui
parent29c8b9a7c9a4d62b7df2e70b71beec488aae5722 (diff)
loplugin: improve indentation
Change-Id: If0ddaa8fd7cfaf4df8589422cb50ce37f1be2ad1
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/view/formatsh.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx
index 6d4478f1dc8b..d35c0f3322e3 100644
--- a/sc/source/ui/view/formatsh.cxx
+++ b/sc/source/ui/view/formatsh.cxx
@@ -292,8 +292,7 @@ void ScFormatShell::ExecuteStyle( SfxRequest& rReq )
const SfxPoolItem* pFamItem;
if ( pArgs && SFX_ITEM_SET == pArgs->GetItemState( SID_STYLE_FAMILY, sal_True, &pFamItem ) )
eFamily = (SfxStyleFamily)((const SfxUInt16Item*)pFamItem)->GetValue();
- else
- if ( pArgs && SFX_ITEM_SET == pArgs->GetItemState( SID_STYLE_FAMILYNAME, sal_True, &pFamItem ) )
+ else if ( pArgs && SFX_ITEM_SET == pArgs->GetItemState( SID_STYLE_FAMILYNAME, sal_True, &pFamItem ) )
{
String sFamily = ((const SfxStringItem*)pFamItem)->GetValue();
if (sFamily.CompareToAscii("CellStyles") == COMPARE_EQUAL)