loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I9a647ba5c867e2152c204e1da98b5139091e51bd
This commit is contained in:
@@ -27,7 +27,7 @@ class MorkDriverTest: public test::BootstrapFixture
|
|||||||
public:
|
public:
|
||||||
MorkDriverTest() : test::BootstrapFixture(false, false) {};
|
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_metadata();
|
||||||
void test_select_default_all();
|
void test_select_default_all();
|
||||||
void test_select_list_table_joe_doe_5();
|
void test_select_list_table_joe_doe_5();
|
||||||
@@ -47,7 +47,7 @@ private:
|
|||||||
Reference<XConnection> m_xConnection;
|
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));
|
bool res = xDriver->acceptsURL(OUString::createFromAscii(url));
|
||||||
if (res != expected)
|
if (res != expected)
|
||||||
|
@@ -57,7 +57,7 @@ class ConstantValueExpression : public ExpressionNode
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
explicit ConstantValueExpression( ORowSetValueDecoratorRef rValue ) :
|
explicit ConstantValueExpression( ORowSetValueDecoratorRef const & rValue ) :
|
||||||
maValue( rValue )
|
maValue( rValue )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user