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