summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-18 09:57:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-18 11:13:05 +0200
commitc932e26138d9dda1d3dad5e2472a79d42c0a816c (patch)
tree28652c256477174a536094bf398e65dc1d0ad045 /include
parente530689ef6ba79a26162670580ba28f9b09eb689 (diff)
loplugin:constparams in toolkit,ucb,xmlhelp
Change-Id: I2287bf468aae5008e25aa8b1bc0b63cff7bb1bf1 Reviewed-on: https://gerrit.libreoffice.org/40117 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/toolkit/awt/vclxwindow.hxx2
-rw-r--r--include/toolkit/awt/vclxwindows.hxx4
-rw-r--r--include/toolkit/controls/controlmodelcontainerbase.hxx4
3 files changed, 5 insertions, 5 deletions
diff --git a/include/toolkit/awt/vclxwindow.hxx b/include/toolkit/awt/vclxwindow.hxx
index 7c7913eadb56..18cd3f0392ca 100644
--- a/include/toolkit/awt/vclxwindow.hxx
+++ b/include/toolkit/awt/vclxwindow.hxx
@@ -136,7 +136,7 @@ public:
void suspendVclEventListening( );
void resumeVclEventListening( );
- void notifyWindowRemoved( vcl::Window& _rWindow );
+ void notifyWindowRemoved( vcl::Window const & _rWindow );
// css::lang::XUnoTunnel
static const css::uno::Sequence< sal_Int8 >& GetUnoTunnelId() throw();
diff --git a/include/toolkit/awt/vclxwindows.hxx b/include/toolkit/awt/vclxwindows.hxx
index 6bd232f3c593..81b6a45e6766 100644
--- a/include/toolkit/awt/vclxwindows.hxx
+++ b/include/toolkit/awt/vclxwindows.hxx
@@ -515,7 +515,7 @@ public:
// C++
/// @throws css::uno::RuntimeException
TabControl* getTabControl() const;
- sal_uInt16 insertTab( TabPage*, OUString& sTitle );
+ sal_uInt16 insertTab( TabPage*, OUString const & sTitle );
static void ImplGetPropertyIds( std::vector< sal_uInt16 > &aIds );
virtual void GetPropertyIds( std::vector< sal_uInt16 > &aIds ) override { return ImplGetPropertyIds( aIds ); }
};
@@ -670,7 +670,7 @@ public:
// css::awt::XLayoutConstrains
css::awt::Size SAL_CALL getMinimumSize() override;
/// @throws css::uno::RuntimeException
- static css::awt::Size SAL_CALL implGetMinimumSize( vcl::Window* p );
+ static css::awt::Size SAL_CALL implGetMinimumSize( vcl::Window const * p );
static void ImplGetPropertyIds( std::vector< sal_uInt16 > &aIds );
virtual void GetPropertyIds( std::vector< sal_uInt16 > &aIds ) override { return ImplGetPropertyIds( aIds ); }
diff --git a/include/toolkit/controls/controlmodelcontainerbase.hxx b/include/toolkit/controls/controlmodelcontainerbase.hxx
index 16844fe81efb..b4b8221fe18c 100644
--- a/include/toolkit/controls/controlmodelcontainerbase.hxx
+++ b/include/toolkit/controls/controlmodelcontainerbase.hxx
@@ -227,8 +227,8 @@ protected:
css::uno::Reference< css::awt::XTabController > mxTabController;
css::uno::Reference< css::util::XModifyListener > mxListener;
- void ImplInsertControl( css::uno::Reference< css::awt::XControlModel >& rxModel, const OUString& rName );
- void ImplRemoveControl( css::uno::Reference< css::awt::XControlModel >& rxModel );
+ void ImplInsertControl( css::uno::Reference< css::awt::XControlModel > const & rxModel, const OUString& rName );
+ void ImplRemoveControl( css::uno::Reference< css::awt::XControlModel > const & rxModel );
virtual void ImplSetPosSize( css::uno::Reference< css::awt::XControl >& rxCtrl );
void ImplUpdateResourceResolver();
void ImplStartListingForResourceEvents();