loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I08992bb66d5459333e018bb52dceee3e808fac8b
This commit is contained in:
parent
716caf6fe0
commit
5f1e7fe6f0
@ -33,7 +33,7 @@ class UNOTOOLS_DLLPUBLIC ProgressHandlerWrap : public ::cppu::WeakImplHelper< cs
|
|||||||
css::uno::Reference< css::task::XStatusIndicator > m_xStatusIndicator;
|
css::uno::Reference< css::task::XStatusIndicator > m_xStatusIndicator;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
ProgressHandlerWrap( css::uno::Reference< css::task::XStatusIndicator > xSI );
|
ProgressHandlerWrap( css::uno::Reference< css::task::XStatusIndicator > const & xSI );
|
||||||
|
|
||||||
// XProgressHandler
|
// XProgressHandler
|
||||||
virtual void SAL_CALL push( const css::uno::Any& Status )
|
virtual void SAL_CALL push( const css::uno::Any& Status )
|
||||||
|
@ -26,7 +26,7 @@ using namespace ::com::sun::star::uno;
|
|||||||
using namespace ::com::sun::star::task;
|
using namespace ::com::sun::star::task;
|
||||||
using namespace ::com::sun::star::ucb;
|
using namespace ::com::sun::star::ucb;
|
||||||
|
|
||||||
ProgressHandlerWrap::ProgressHandlerWrap( css::uno::Reference< css::task::XStatusIndicator > xSI )
|
ProgressHandlerWrap::ProgressHandlerWrap( css::uno::Reference< css::task::XStatusIndicator > const & xSI )
|
||||||
: m_xStatusIndicator( xSI )
|
: m_xStatusIndicator( xSI )
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -220,8 +220,8 @@ class Moderator
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
Moderator(
|
Moderator(
|
||||||
Reference < XContent >& xContent,
|
Reference < XContent > const & xContent,
|
||||||
Reference < XInteractionHandler >& xInteract,
|
Reference < XInteractionHandler > const & xInteract,
|
||||||
const Command& rArg
|
const Command& rArg
|
||||||
)
|
)
|
||||||
throw(
|
throw(
|
||||||
@ -495,8 +495,8 @@ ModeratorsInteractionHandler::handle(
|
|||||||
}
|
}
|
||||||
|
|
||||||
Moderator::Moderator(
|
Moderator::Moderator(
|
||||||
Reference < XContent >& xContent,
|
Reference < XContent > const & xContent,
|
||||||
Reference < XInteractionHandler >& xInteract,
|
Reference < XInteractionHandler > const & xInteract,
|
||||||
const Command& rArg
|
const Command& rArg
|
||||||
)
|
)
|
||||||
throw(
|
throw(
|
||||||
@ -720,10 +720,10 @@ static bool UCBOpenContentSync_(
|
|||||||
|
|
||||||
static bool UCBOpenContentSync(
|
static bool UCBOpenContentSync(
|
||||||
const UcbLockBytesRef& xLockBytes,
|
const UcbLockBytesRef& xLockBytes,
|
||||||
Reference < XContent > xContent,
|
Reference < XContent > const & xContent,
|
||||||
const Command& rArg,
|
const Command& rArg,
|
||||||
const Reference < XInterface >& xSink,
|
const Reference < XInterface >& xSink,
|
||||||
Reference < XInteractionHandler > xInteract )
|
Reference < XInteractionHandler > const & xInteract )
|
||||||
{
|
{
|
||||||
// http protocol must be handled in a special way:
|
// http protocol must be handled in a special way:
|
||||||
// during the opening process the input stream may change
|
// during the opening process the input stream may change
|
||||||
|
Loading…
x
Reference in New Issue
Block a user