[Libreoffice-commits] .: sfx2/source

Michael Meeks michael at kemper.freedesktop.org
Sat Feb 18 00:02:05 PST 2012


 sfx2/source/menu/mnuitem.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit b655b1fedf1399b50050938181199986646abb37
Author: Michael Meeks <michael.meeks at suse.com>
Date:   Sat Feb 18 08:00:43 2012 +0000

    apparently this is required on Linux - re-enable it.

diff --git a/sfx2/source/menu/mnuitem.cxx b/sfx2/source/menu/mnuitem.cxx
index 8b05360..4f6e1b4 100644
--- a/sfx2/source/menu/mnuitem.cxx
+++ b/sfx2/source/menu/mnuitem.cxx
@@ -246,13 +246,11 @@ SfxMenuControl* SfxMenuControl::CreateImpl( sal_uInt16 /*nId*/, Menu& /*rMenu*/,
     return new SfxMenuControl( sal_True );
 }
 
-#ifndef LINUX
 void SfxMenuControl::RegisterControl( sal_uInt16 nSlotId, SfxModule *pMod )
 {
     RegisterMenuControl( pMod, new SfxMenuCtrlFactory(
                 SfxMenuControl::CreateImpl, TYPE(SfxStringItem), nSlotId ) );
 }
-#endif
 
 //--------------------------------------------------------------------
 void SfxMenuControl::RegisterMenuControl(SfxModule* pMod, SfxMenuCtrlFactory* pFact)


More information about the Libreoffice-commits mailing list