diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-14 14:34:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-14 16:54:27 +0200 |
commit | b2096deaff52f462e2df4e7bdc9816bb3604fb08 (patch) | |
tree | 3df2f9284132042730e12c3f11b6b7a5f13d35cf /sdext/source | |
parent | 83d77931e03908c1718d9dc48f29c1db984fba85 (diff) |
various loplugin:passsequencebyref
Change-Id: Id1045a7f66b4fa10b6491587ba07246a31ceba72
Diffstat (limited to 'sdext/source')
-rw-r--r-- | sdext/source/minimizer/unodialog.cxx | 14 | ||||
-rw-r--r-- | sdext/source/minimizer/unodialog.hxx | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/sdext/source/minimizer/unodialog.cxx b/sdext/source/minimizer/unodialog.cxx index 00c41a031f98..b099136a3583 100644 --- a/sdext/source/minimizer/unodialog.cxx +++ b/sdext/source/minimizer/unodialog.cxx @@ -167,7 +167,7 @@ Reference< XButton > UnoDialog::insertButton( const OUString& rName, Reference< -Reference< XFixedText > UnoDialog::insertFixedText( const OUString& rName, const Sequence< OUString > rPropertyNames, const Sequence< Any > rPropertyValues ) +Reference< XFixedText > UnoDialog::insertFixedText( const OUString& rName, const Sequence< OUString >& rPropertyNames, const Sequence< Any >& rPropertyValues ) { Reference< XFixedText > xFixedText; try @@ -185,7 +185,7 @@ Reference< XFixedText > UnoDialog::insertFixedText( const OUString& rName, const -Reference< XCheckBox > UnoDialog::insertCheckBox( const OUString& rName, const Sequence< OUString > rPropertyNames, const Sequence< Any > rPropertyValues ) +Reference< XCheckBox > UnoDialog::insertCheckBox( const OUString& rName, const Sequence< OUString >& rPropertyNames, const Sequence< Any >& rPropertyValues ) { Reference< XCheckBox > xCheckBox; try @@ -203,7 +203,7 @@ Reference< XCheckBox > UnoDialog::insertCheckBox( const OUString& rName, const S -Reference< XControl > UnoDialog::insertFormattedField( const OUString& rName, const Sequence< OUString > rPropertyNames, const Sequence< Any > rPropertyValues ) +Reference< XControl > UnoDialog::insertFormattedField( const OUString& rName, const Sequence< OUString >& rPropertyNames, const Sequence< Any >& rPropertyValues ) { Reference< XControl > xControl; try @@ -221,7 +221,7 @@ Reference< XControl > UnoDialog::insertFormattedField( const OUString& rName, co -Reference< XComboBox > UnoDialog::insertComboBox( const OUString& rName, const Sequence< OUString > rPropertyNames, const Sequence< Any > rPropertyValues ) +Reference< XComboBox > UnoDialog::insertComboBox( const OUString& rName, const Sequence< OUString >& rPropertyNames, const Sequence< Any >& rPropertyValues ) { Reference< XComboBox > xControl; try @@ -239,7 +239,7 @@ Reference< XComboBox > UnoDialog::insertComboBox( const OUString& rName, const S -Reference< XRadioButton > UnoDialog::insertRadioButton( const OUString& rName, const Sequence< OUString > rPropertyNames, const Sequence< Any > rPropertyValues ) +Reference< XRadioButton > UnoDialog::insertRadioButton( const OUString& rName, const Sequence< OUString >& rPropertyNames, const Sequence< Any >& rPropertyValues ) { Reference< XRadioButton > xControl; try @@ -257,7 +257,7 @@ Reference< XRadioButton > UnoDialog::insertRadioButton( const OUString& rName, c -Reference< XListBox > UnoDialog::insertListBox( const OUString& rName, const Sequence< OUString > rPropertyNames, const Sequence< Any > rPropertyValues ) +Reference< XListBox > UnoDialog::insertListBox( const OUString& rName, const Sequence< OUString >& rPropertyNames, const Sequence< Any >& rPropertyValues ) { Reference< XListBox > xControl; try @@ -275,7 +275,7 @@ Reference< XListBox > UnoDialog::insertListBox( const OUString& rName, const Seq -Reference< XControl > UnoDialog::insertImage( const OUString& rName, const Sequence< OUString > rPropertyNames, const Sequence< Any > rPropertyValues ) +Reference< XControl > UnoDialog::insertImage( const OUString& rName, const Sequence< OUString >& rPropertyNames, const Sequence< Any >& rPropertyValues ) { Reference< XControl > xControl; try diff --git a/sdext/source/minimizer/unodialog.hxx b/sdext/source/minimizer/unodialog.hxx index 2186085b8b00..5d6750ee8174 100644 --- a/sdext/source/minimizer/unodialog.hxx +++ b/sdext/source/minimizer/unodialog.hxx @@ -81,25 +81,25 @@ public : const com::sun::star::uno::Sequence< com::sun::star::uno::Any >& rPropertyValues ); com::sun::star::uno::Reference< com::sun::star::awt::XFixedText > insertFixedText( const OUString& rName, - const com::sun::star::uno::Sequence< OUString > rPropertyNames, const com::sun::star::uno::Sequence< com::sun::star::uno::Any > rPropertyValues ); + const com::sun::star::uno::Sequence< OUString >& rPropertyNames, const com::sun::star::uno::Sequence< com::sun::star::uno::Any >& rPropertyValues ); com::sun::star::uno::Reference< com::sun::star::awt::XCheckBox > insertCheckBox( const OUString& rName, - const com::sun::star::uno::Sequence< OUString > rPropertyNames, const com::sun::star::uno::Sequence< com::sun::star::uno::Any > rPropertyValues ); + const com::sun::star::uno::Sequence< OUString >& rPropertyNames, const com::sun::star::uno::Sequence< com::sun::star::uno::Any >& rPropertyValues ); com::sun::star::uno::Reference< com::sun::star::awt::XControl > insertFormattedField( const OUString& rName, - const com::sun::star::uno::Sequence< OUString > rPropertyNames, const com::sun::star::uno::Sequence< com::sun::star::uno::Any > rPropertyValues ); + const com::sun::star::uno::Sequence< OUString >& rPropertyNames, const com::sun::star::uno::Sequence< com::sun::star::uno::Any >& rPropertyValues ); com::sun::star::uno::Reference< com::sun::star::awt::XComboBox > insertComboBox( const OUString& rName, - const com::sun::star::uno::Sequence< OUString > rPropertyNames, const com::sun::star::uno::Sequence< com::sun::star::uno::Any > rPropertyValues ); + const com::sun::star::uno::Sequence< OUString >& rPropertyNames, const com::sun::star::uno::Sequence< com::sun::star::uno::Any >& rPropertyValues ); com::sun::star::uno::Reference< com::sun::star::awt::XRadioButton > insertRadioButton( const OUString& rName, - const com::sun::star::uno::Sequence< OUString > rPropertyNames, const com::sun::star::uno::Sequence< com::sun::star::uno::Any > rPropertyValues ); + const com::sun::star::uno::Sequence< OUString >& rPropertyNames, const com::sun::star::uno::Sequence< com::sun::star::uno::Any >& rPropertyValues ); com::sun::star::uno::Reference< com::sun::star::awt::XListBox > insertListBox( const OUString& rName, - const com::sun::star::uno::Sequence< OUString > rPropertyNames, const com::sun::star::uno::Sequence< com::sun::star::uno::Any > rPropertyValues ); + const com::sun::star::uno::Sequence< OUString >& rPropertyNames, const com::sun::star::uno::Sequence< com::sun::star::uno::Any >& rPropertyValues ); com::sun::star::uno::Reference< com::sun::star::awt::XControl > insertImage( const OUString& rName, - const com::sun::star::uno::Sequence< OUString > rPropertyNames, const com::sun::star::uno::Sequence< com::sun::star::uno::Any > rPropertyValues ); + const com::sun::star::uno::Sequence< OUString >& rPropertyNames, const com::sun::star::uno::Sequence< com::sun::star::uno::Any >& rPropertyValues ); void setControlProperty( const OUString& rControlName, const OUString& rPropertyName, const com::sun::star::uno::Any& rPropertyValue ); com::sun::star::uno::Any getControlProperty( const OUString& rControlName, const OUString& rPropertyName ); |