summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-09-07 15:13:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-09-07 18:19:57 +0200
commitaf1e773c19db58de55939355bf0069e35d2a7789 (patch)
treead3b66951df8458a16c1fccb2254ca7556917f9e /framework
parentf446ebf4ad419c114cae903a04159ccf78755faa (diff)
loplugin:constantparam
Change-Id: I83722d99fa0d5919a7e878d32311dbb6de1c6714 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102175 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/resourcemenucontroller.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/framework/source/uielement/resourcemenucontroller.cxx b/framework/source/uielement/resourcemenucontroller.cxx
index d28e51c1fc2d..1094874bbcce 100644
--- a/framework/source/uielement/resourcemenucontroller.cxx
+++ b/framework/source/uielement/resourcemenucontroller.cxx
@@ -407,7 +407,9 @@ OUString SaveAsMenuController::getImplementationName()
class WindowListMenuController : public ResourceMenuController
{
public:
- using ResourceMenuController::ResourceMenuController;
+ WindowListMenuController( const css::uno::Reference< css::uno::XComponentContext >& rxContext,
+ const css::uno::Sequence< css::uno::Any >& rxArgs )
+ : ResourceMenuController(rxContext, rxArgs, false) {}
// XMenuListener
void SAL_CALL itemActivated( const css::awt::MenuEvent& rEvent ) override;
@@ -563,7 +565,7 @@ com_sun_star_comp_framework_WindowListMenuController_get_implementation(
css::uno::XComponentContext* context,
css::uno::Sequence< css::uno::Any > const & args )
{
- return cppu::acquire( new WindowListMenuController( context, args, false ) );
+ return cppu::acquire( new WindowListMenuController( context, args ) );
}
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface *