summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-01-16 07:53:00 +0100
committerDavid Tardon <dtardon@redhat.com>2012-01-16 07:53:00 +0100
commit2998cc3a80b4b8d97bff244c941df47a27334eba (patch)
tree2f736c5bb53a1b470d033c564f478b4d84a97fb0 /sw
parent746b39e4d1a41f248b71b91128f633c876116a79 (diff)
remove unneeded if
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/shells/frmsh.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/shells/frmsh.cxx b/sw/source/ui/shells/frmsh.cxx
index 718839c1d54d..58917a49e844 100644
--- a/sw/source/ui/shells/frmsh.cxx
+++ b/sw/source/ui/shells/frmsh.cxx
@@ -513,8 +513,7 @@ void SwFrameShell::Execute(SfxRequest &rReq)
if(pArgs && SFX_ITEM_SET == pArgs->GetItemState(GetPool().GetWhich(nSlot), sal_False, &pItem))
{
aMgr.SetAttrSet( *pArgs );
- if(SID_ATTR_ULSPACE == nSlot && SID_ATTR_ULSPACE == nSlot)
- bCopyToFmt = sal_True;
+ bCopyToFmt = sal_True;
}
}
break;