No, this is not more dead code this time :). I noticed this and I'm pretty
confident the code is sloppy. It's my first time deliberately touching the
code, so sorry if it's a bit small.

License LGPLv3+/MPL.

Luke
From ade4b654cba3753b184310fd96c9b38c2fb0507b Mon Sep 17 00:00:00 2001
From: Luke Petrolekas <luke.petrole...@gmail.com>
Date: Thu, 26 May 2011 18:42:13 -0400
Subject: [PATCH] Simply the code.

---
 xmlsecurity/source/dialogs/stbcontrl.cxx |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/xmlsecurity/source/dialogs/stbcontrl.cxx b/xmlsecurity/source/dialogs/stbcontrl.cxx
index 68729ad..f506439 100644
--- a/xmlsecurity/source/dialogs/stbcontrl.cxx
+++ b/xmlsecurity/source/dialogs/stbcontrl.cxx
@@ -95,13 +95,7 @@ void XmlSecStatusBarControl::StateChanged( sal_uInt16 nSID, SfxItemState eState,
 void XmlSecStatusBarControl::Command( const CommandEvent& rCEvt )
 {
     // can / has to be done when integrated in Office!
-//	if( rCEvt.GetCommand() == .... )
-    if( false )
-    {
-//		GetBindings().GetDispatcher()->Execute( SID_PSZ_FUNCTION, SFX_CALLMODE_RECORD, &aItem, 0L );
-    }
-    else
-        SfxStatusBarControl::Command( rCEvt );
+    SfxStatusBarControl::Command( rCEvt );
 }
 
 void XmlSecStatusBarControl::Paint( const UserDrawEvent& rUsrEvt )
-- 
1.7.1

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to