loplugin:passstuffbyref also for {css::uno,rtl}::Reference

Change-Id: Ibeb53a944551b9a654979fefaae85ba3f82c52fb
This commit is contained in:
Stephan Bergmann
2016-07-07 15:56:51 +02:00
parent 303dd4af5e
commit cb53d9c4a2
2 changed files with 3 additions and 3 deletions

View File

@@ -81,7 +81,7 @@ namespace dp_gui {
class UpdateInstallDialog::Thread: public salhelper::Thread {
friend class UpdateCommandEnv;
public:
Thread(cssu::Reference< cssu::XComponentContext > ctx,
Thread(cssu::Reference< cssu::XComponentContext > const & ctx,
UpdateInstallDialog & dialog, std::vector< dp_gui::UpdateData > & aVecUpdateData);
void stop();
@@ -146,7 +146,7 @@ public:
UpdateInstallDialog::Thread::Thread(
cssu::Reference< cssu::XComponentContext> xCtx,
cssu::Reference< cssu::XComponentContext> const & xCtx,
UpdateInstallDialog & dialog,
std::vector< dp_gui::UpdateData > & aVecUpdateData):
salhelper::Thread("dp_gui_updateinstalldialog"),

View File

@@ -104,7 +104,7 @@ struct MigrationItem
MigrationItem(const OUString& sParentNodeName,
const OUString& sPrevSibling,
const OUString& sCommandURL,
const css::uno::Reference< css::container::XIndexContainer > xPopupMenu)
const css::uno::Reference< css::container::XIndexContainer > & xPopupMenu)
{
m_sParentNodeName = sParentNodeName;
m_sPrevSibling = sPrevSibling;