summaryrefslogtreecommitdiff
path: root/framework/source/uielement/controlmenucontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/uielement/controlmenucontroller.cxx')
-rw-r--r--framework/source/uielement/controlmenucontroller.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uielement/controlmenucontroller.cxx b/framework/source/uielement/controlmenucontroller.cxx
index b9975db9ade3..5cd2984fad64 100644
--- a/framework/source/uielement/controlmenucontroller.cxx
+++ b/framework/source/uielement/controlmenucontroller.cxx
@@ -159,7 +159,7 @@ private:
};
void updateImagesPopupMenu( PopupMenu* pPopupMenu );
- void fillPopupMenu( uno::Reference< awt::XPopupMenu >& rPopupMenu );
+ void fillPopupMenu( uno::Reference< awt::XPopupMenu > const & rPopupMenu );
bool m_bShowMenuImages : 1;
std::unique_ptr<VclBuilder> m_xBuilder;
@@ -191,7 +191,7 @@ void ControlMenuController::updateImagesPopupMenu( PopupMenu* pPopupMenu )
}
// private function
-void ControlMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu >& rPopupMenu )
+void ControlMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu > const & rPopupMenu )
{
VCLXPopupMenu* pPopupMenu = static_cast<VCLXPopupMenu *>(VCLXMenu::GetImplementation( rPopupMenu ));
PopupMenu* pVCLPopupMenu = nullptr;