summaryrefslogtreecommitdiff
path: root/framework/source/fwe
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/fwe')
-rw-r--r--framework/source/fwe/classes/addonmenu.cxx4
-rw-r--r--framework/source/fwe/helper/actiontriggerhelper.cxx4
-rw-r--r--framework/source/fwe/xml/menuconfiguration.cxx6
3 files changed, 7 insertions, 7 deletions
diff --git a/framework/source/fwe/classes/addonmenu.cxx b/framework/source/fwe/classes/addonmenu.cxx
index 5a7c7344b674..90914fe2a44c 100644
--- a/framework/source/fwe/classes/addonmenu.cxx
+++ b/framework/source/fwe/classes/addonmenu.cxx
@@ -80,7 +80,7 @@ sal_uInt16 AddonMenuManager::GetNextPos( sal_uInt16 nPos )
return ( nPos == MENU_APPEND ) ? MENU_APPEND : ( nPos+1 );
}
-static sal_uInt16 FindMenuId( Menu* pMenu, const OUString& aCommand )
+static sal_uInt16 FindMenuId( Menu const * pMenu, const OUString& aCommand )
{
sal_uInt16 nPos = 0;
OUString aCmd;
@@ -97,7 +97,7 @@ static sal_uInt16 FindMenuId( Menu* pMenu, const OUString& aCommand )
// Merge the Add-Ons help menu items into the given menu bar at a defined pos
void AddonMenuManager::MergeAddonHelpMenu( const Reference< XFrame >& rFrame,
- MenuBar* pMergeMenuBar )
+ MenuBar const * pMergeMenuBar )
{
if ( pMergeMenuBar )
{
diff --git a/framework/source/fwe/helper/actiontriggerhelper.cxx b/framework/source/fwe/helper/actiontriggerhelper.cxx
index ad67b2208900..25aa25474593 100644
--- a/framework/source/fwe/helper/actiontriggerhelper.cxx
+++ b/framework/source/fwe/helper/actiontriggerhelper.cxx
@@ -311,7 +311,7 @@ Reference< XIndexContainer > CreateActionTriggerContainer( const Reference< XInd
return Reference< XIndexContainer >();
}
-void FillActionTriggerContainerWithMenu( const Menu* pMenu, Reference< XIndexContainer >& rActionTriggerContainer )
+void FillActionTriggerContainerWithMenu( const Menu* pMenu, Reference< XIndexContainer > const & rActionTriggerContainer )
{
SolarMutexGuard aGuard;
@@ -368,7 +368,7 @@ void ActionTriggerHelper::CreateMenuFromActionTriggerContainer(
}
void ActionTriggerHelper::FillActionTriggerContainerFromMenu(
- Reference< XIndexContainer >& xActionTriggerContainer,
+ Reference< XIndexContainer > const & xActionTriggerContainer,
const Menu* pMenu )
{
FillActionTriggerContainerWithMenu( pMenu, xActionTriggerContainer );
diff --git a/framework/source/fwe/xml/menuconfiguration.cxx b/framework/source/fwe/xml/menuconfiguration.cxx
index 0dcbfc24ab07..d64a9793663d 100644
--- a/framework/source/fwe/xml/menuconfiguration.cxx
+++ b/framework/source/fwe/xml/menuconfiguration.cxx
@@ -53,7 +53,7 @@ MenuConfiguration::~MenuConfiguration()
}
Reference< XIndexAccess > MenuConfiguration::CreateMenuBarConfigurationFromXML(
- Reference< XInputStream >& rInputStream )
+ Reference< XInputStream > const & rInputStream )
{
Reference< XParser > xParser = Parser::create( m_xContext );
@@ -99,8 +99,8 @@ Reference< XIndexAccess > MenuConfiguration::CreateMenuBarConfigurationFromXML(
}
void MenuConfiguration::StoreMenuBarConfigurationToXML(
- Reference< XIndexAccess >& rMenuBarConfiguration,
- Reference< XOutputStream >& rOutputStream, bool bIsMenuBar )
+ Reference< XIndexAccess > const & rMenuBarConfiguration,
+ Reference< XOutputStream > const & rOutputStream, bool bIsMenuBar )
{
Reference< XWriter > xWriter = Writer::create(m_xContext);
xWriter->setOutputStream( rOutputStream );