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

Change-Id: I9a647ba5c867e2152c204e1da98b5139091e51bd
This commit is contained in:
Stephan Bergmann
2016-07-07 15:56:32 +02:00
parent a465a96a0a
commit e0341d9be8
2 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ class MorkDriverTest: public test::BootstrapFixture
public:
MorkDriverTest() : test::BootstrapFixture(false, false) {};
void checkAcceptsURL(Reference< XDriver> xDriver, const char* url, bool expected);
void checkAcceptsURL(Reference< XDriver> const & xDriver, const char* url, bool expected);
void test_metadata();
void test_select_default_all();
void test_select_list_table_joe_doe_5();
@@ -47,7 +47,7 @@ private:
Reference<XConnection> m_xConnection;
};
void MorkDriverTest::checkAcceptsURL(Reference< XDriver> xDriver, const char* url, bool expected)
void MorkDriverTest::checkAcceptsURL(Reference< XDriver> const & xDriver, const char* url, bool expected)
{
bool res = xDriver->acceptsURL(OUString::createFromAscii(url));
if (res != expected)

View File

@@ -57,7 +57,7 @@ class ConstantValueExpression : public ExpressionNode
public:
explicit ConstantValueExpression( ORowSetValueDecoratorRef rValue ) :
explicit ConstantValueExpression( ORowSetValueDecoratorRef const & rValue ) :
maValue( rValue )
{
}