diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-31 15:13:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-31 19:42:10 +0200 |
commit | 4a4412f70cd07baa8e67dd92dc1c403455bfe3a4 (patch) | |
tree | 89bf5afd5528229467b05548cbfd1cc59f5f25cf /cui/source/inc/scriptdlg.hxx | |
parent | ee9e027de092b91e97e4d280f26bd8c73bae602a (diff) |
loplugin:constparams in cui
Change-Id: I5f3e4ba8d953bbce22c3c359bb1c3ae2ac47eb1d
Reviewed-on: https://gerrit.libreoffice.org/40593
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/inc/scriptdlg.hxx')
-rw-r--r-- | cui/source/inc/scriptdlg.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
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(); |