Kaydet (Commit) 0b424c25 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

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

Change-Id: I614d91e7e4a686613dc0cbe1b9f4fabb978ffc77
üst 580c0f5e
......@@ -1703,8 +1703,8 @@ public:
LibraryInfo_Impl
(
const OUString& aName,
uno::Reference< container::XNameContainer > xModuleContainer,
uno::Reference< container::XNameContainer > xDialogContainer,
uno::Reference< container::XNameContainer > const & xModuleContainer,
uno::Reference< container::XNameContainer > const & xDialogContainer,
const OUString& aPassword,
const OUString& aExternaleSourceURL,
const OUString& aLinkTargetURL
......
......@@ -2501,7 +2501,7 @@ SbUnoMethod::SbUnoMethod
(
const OUString& aName_,
SbxDataType eSbxType,
Reference< XIdlMethod > xUnoMethod_,
Reference< XIdlMethod > const & xUnoMethod_,
bool bInvocation
)
: SbxMethod( aName_, eSbxType )
......@@ -3722,7 +3722,7 @@ void clearUnoServiceCtors()
}
}
SbUnoServiceCtor::SbUnoServiceCtor( const OUString& aName_, Reference< XServiceConstructorDescription > xServiceCtorDesc )
SbUnoServiceCtor::SbUnoServiceCtor( const OUString& aName_, Reference< XServiceConstructorDescription > const & xServiceCtorDesc )
: SbxMethod( aName_, SbxOBJECT )
, m_xServiceCtorDesc( xServiceCtorDesc )
, pNext(nullptr)
......
......@@ -718,7 +718,7 @@ class ScriptSubPackageIterator
< css::deployment::XPackage >& rPackage, bool& rbPureDialogLib );
public:
ScriptSubPackageIterator( css::uno::Reference< css::deployment::XPackage > xMainPackage );
ScriptSubPackageIterator( css::uno::Reference< css::deployment::XPackage > const & xMainPackage );
css::uno::Reference< css::deployment::XPackage > getNextScriptSubPackage( bool& rbPureDialogLib );
};
......
......@@ -164,7 +164,7 @@ class SbUnoMethod : public SbxMethod
public:
SbUnoMethod( const OUString& aName_, SbxDataType eSbxType, css::uno::Reference< css::reflection::XIdlMethod > xUnoMethod_,
SbUnoMethod( const OUString& aName_, SbxDataType eSbxType, css::uno::Reference< css::reflection::XIdlMethod > const & xUnoMethod_,
bool bInvocation );
virtual ~SbUnoMethod();
virtual SbxInfo* GetInfo() override;
......@@ -272,7 +272,7 @@ class SbUnoServiceCtor : public SbxMethod
public:
SbUnoServiceCtor( const OUString& aName_, css::uno::Reference< css::reflection::XServiceConstructorDescription > xServiceCtorDesc );
SbUnoServiceCtor( const OUString& aName_, css::uno::Reference< css::reflection::XServiceConstructorDescription > const & xServiceCtorDesc );
virtual ~SbUnoServiceCtor();
virtual SbxInfo* GetInfo() override;
......
......@@ -3355,7 +3355,7 @@ OUString ScriptExtensionIterator::nextBasicOrDialogLibrary( bool& rbPureDialogLi
return aRetLib;
}
ScriptSubPackageIterator::ScriptSubPackageIterator( Reference< deployment::XPackage > xMainPackage )
ScriptSubPackageIterator::ScriptSubPackageIterator( Reference< deployment::XPackage > const & xMainPackage )
: m_xMainPackage( xMainPackage )
, m_bIsValid( false )
, m_bIsBundle( false )
......
......@@ -87,8 +87,8 @@ struct LibraryContainerInfo
LibraryContainerInfo
(
css::uno::Reference< css::script::XPersistentLibraryContainer > xScriptCont,
css::uno::Reference< css::script::XPersistentLibraryContainer > xDialogCont,
css::uno::Reference< css::script::XPersistentLibraryContainer > const & xScriptCont,
css::uno::Reference< css::script::XPersistentLibraryContainer > const & xDialogCont,
OldBasicPassword* pOldBasicPassword
)
: mxScriptCont( xScriptCont )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment