Kaydet (Commit) b655b1fe authored tarafından Michael Meeks's avatar Michael Meeks

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

üst 019458b1
...@@ -246,13 +246,11 @@ SfxMenuControl* SfxMenuControl::CreateImpl( sal_uInt16 /*nId*/, Menu& /*rMenu*/, ...@@ -246,13 +246,11 @@ SfxMenuControl* SfxMenuControl::CreateImpl( sal_uInt16 /*nId*/, Menu& /*rMenu*/,
return new SfxMenuControl( sal_True ); return new SfxMenuControl( sal_True );
} }
#ifndef LINUX
void SfxMenuControl::RegisterControl( sal_uInt16 nSlotId, SfxModule *pMod ) void SfxMenuControl::RegisterControl( sal_uInt16 nSlotId, SfxModule *pMod )
{ {
RegisterMenuControl( pMod, new SfxMenuCtrlFactory( RegisterMenuControl( pMod, new SfxMenuCtrlFactory(
SfxMenuControl::CreateImpl, TYPE(SfxStringItem), nSlotId ) ); SfxMenuControl::CreateImpl, TYPE(SfxStringItem), nSlotId ) );
} }
#endif
//-------------------------------------------------------------------- //--------------------------------------------------------------------
void SfxMenuControl::RegisterMenuControl(SfxModule* pMod, SfxMenuCtrlFactory* pFact) void SfxMenuControl::RegisterMenuControl(SfxModule* pMod, SfxMenuCtrlFactory* pFact)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment