loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I22e493f08f11b10d709dd8b4a223a75d52bb5899
This commit is contained in:
parent
d4c576fb72
commit
91c64aa718
@ -148,7 +148,7 @@ class WeakContainerListener : public ::cppu::WeakImplHelper<css::container::XCon
|
||||
css::uno::WeakReference<css::container::XContainerListener> mxOwner;
|
||||
|
||||
public:
|
||||
WeakContainerListener(css::uno::Reference<css::container::XContainerListener> xOwner)
|
||||
WeakContainerListener(css::uno::Reference<css::container::XContainerListener> const & xOwner)
|
||||
: mxOwner(xOwner)
|
||||
{
|
||||
}
|
||||
@ -203,7 +203,7 @@ class WeakChangesListener : public ::cppu::WeakImplHelper<css::util::XChangesLis
|
||||
css::uno::WeakReference<css::util::XChangesListener> mxOwner;
|
||||
|
||||
public:
|
||||
WeakChangesListener(css::uno::Reference<css::util::XChangesListener> xOwner)
|
||||
WeakChangesListener(css::uno::Reference<css::util::XChangesListener> const & xOwner)
|
||||
: mxOwner(xOwner)
|
||||
{
|
||||
}
|
||||
@ -240,7 +240,7 @@ class WeakDocumentEventListener : public ::cppu::WeakImplHelper<css::document::X
|
||||
css::uno::WeakReference<css::document::XDocumentEventListener> mxOwner;
|
||||
|
||||
public:
|
||||
WeakDocumentEventListener(css::uno::Reference<css::document::XDocumentEventListener> xOwner)
|
||||
WeakDocumentEventListener(css::uno::Reference<css::document::XDocumentEventListener> const & xOwner)
|
||||
: mxOwner(xOwner)
|
||||
{
|
||||
}
|
||||
|
@ -135,7 +135,8 @@ class OWriteImagesDocumentHandler
|
||||
public:
|
||||
OWriteImagesDocumentHandler(
|
||||
const ImageListsDescriptor& aItems,
|
||||
css::uno::Reference< css::xml::sax::XDocumentHandler > );
|
||||
css::uno::Reference< css::xml::sax::XDocumentHandler > const &
|
||||
rWriteDocumentHandler);
|
||||
virtual ~OWriteImagesDocumentHandler();
|
||||
|
||||
void WriteImagesDocument() throw
|
||||
|
@ -355,7 +355,7 @@ namespace
|
||||
Desktop* const m_pDesktop;
|
||||
css::uno::Reference< css::frame::XTerminateListener > m_xQuickLauncher;
|
||||
public:
|
||||
QuickstartSuppressor(Desktop* const pDesktop, css::uno::Reference< css::frame::XTerminateListener > xQuickLauncher)
|
||||
QuickstartSuppressor(Desktop* const pDesktop, css::uno::Reference< css::frame::XTerminateListener > const & xQuickLauncher)
|
||||
: m_pDesktop(pDesktop)
|
||||
, m_xQuickLauncher(xQuickLauncher)
|
||||
{
|
||||
|
@ -588,7 +588,7 @@ OUString OReadImagesDocumentHandler::getErrorLineString()
|
||||
|
||||
OWriteImagesDocumentHandler::OWriteImagesDocumentHandler(
|
||||
const ImageListsDescriptor& aItems,
|
||||
Reference< XDocumentHandler > rWriteDocumentHandler ) :
|
||||
Reference< XDocumentHandler > const & rWriteDocumentHandler ) :
|
||||
m_aImageListsItems( aItems ),
|
||||
m_xWriteDocumentHandler( rWriteDocumentHandler )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user