From 4a4412f70cd07baa8e67dd92dc1c403455bfe3a4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 31 Jul 2017 15:13:12 +0200 Subject: loplugin:constparams in cui Change-Id: I5f3e4ba8d953bbce22c3c359bb1c3ae2ac47eb1d Reviewed-on: https://gerrit.libreoffice.org/40593 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cui/source/inc/scriptdlg.hxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'cui/source/inc/scriptdlg.hxx') diff --git a/cui/source/inc/scriptdlg.hxx b/cui/source/inc/scriptdlg.hxx index 0fdc0fd1e202..6cdcde954fa2 100644 --- a/cui/source/inc/scriptdlg.hxx +++ b/cui/source/inc/scriptdlg.hxx @@ -55,10 +55,10 @@ private: OUString m_sProdMacros; static css::uno::Reference< css::script::browse::XBrowseNode > - getLangNodeFromRootNode( css::uno::Reference< css::script::browse::XBrowseNode >& root, OUString& language ); + getLangNodeFromRootNode( css::uno::Reference< css::script::browse::XBrowseNode > const & root, OUString const & language ); static void delUserData( SvTreeListEntry* pEntry ); - static css::uno::Reference< css::uno::XInterface > getDocumentModel( css::uno::Reference< css::uno::XComponentContext >& xCtx, OUString& docName ); + static css::uno::Reference< css::uno::XInterface > getDocumentModel( css::uno::Reference< css::uno::XComponentContext > const & xCtx, OUString const & docName ); protected: virtual void RequestingChildren( SvTreeListEntry* pParent ) override; @@ -67,7 +67,7 @@ protected: public: void Init( const OUString& language ); void RequestSubEntries( SvTreeListEntry* pRootEntry, - css::uno::Reference< css::script::browse::XBrowseNode >& node, + css::uno::Reference< css::script::browse::XBrowseNode > const & node, css::uno::Reference< css::frame::XModel>& model ); SFTreeListBox(vcl::Window* pParent); virtual ~SFTreeListBox() override; @@ -151,16 +151,16 @@ protected: DECL_LINK( ScriptSelectHdl, SvTreeListBox *, void ); DECL_LINK( ButtonHdl, Button *, void ); - static bool getBoolProperty( css::uno::Reference< css::beans::XPropertySet >& xProps, OUString& propName ); - void CheckButtons( css::uno::Reference< css::script::browse::XBrowseNode >& node ); + static bool getBoolProperty( css::uno::Reference< css::beans::XPropertySet > const & xProps, OUString const & propName ); + void CheckButtons( css::uno::Reference< css::script::browse::XBrowseNode > const & node ); void createEntry( SvTreeListEntry* pEntry ); void renameEntry( SvTreeListEntry* pEntry ); void deleteEntry( SvTreeListEntry* pEntry ); static css::uno::Reference< css::script::browse::XBrowseNode > - getBrowseNode( SvTreeListEntry* pEntry ); - static css::uno::Reference< css::frame::XModel > getModel( SvTreeListEntry* pEntry ); + getBrowseNode( SvTreeListEntry const * pEntry ); + static css::uno::Reference< css::frame::XModel > getModel( SvTreeListEntry const * pEntry ); OUString getListOfChildren( const css::uno::Reference< css::script::browse::XBrowseNode >& node, int depth ); void StoreCurrentSelection(); void RestorePreviousSelection(); -- cgit