[Libreoffice-commits] .: sw/source

David Tardon dtardon at kemper.freedesktop.org
Sun Jan 15 22:54:23 PST 2012


 sw/source/ui/shells/frmsh.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 2998cc3a80b4b8d97bff244c941df47a27334eba
Author: David Tardon <dtardon at redhat.com>
Date:   Mon Jan 16 07:53:00 2012 +0100

    remove unneeded if

diff --git a/sw/source/ui/shells/frmsh.cxx b/sw/source/ui/shells/frmsh.cxx
index 718839c..58917a4 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;


More information about the Libreoffice-commits mailing list