loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I1d02b91f908c744dd3f7664cd453a791da7bd675
This commit is contained in:
parent
5f1e7fe6f0
commit
e4d7ed0394
@ -334,7 +334,7 @@ typedef ScVbaCollectionBase< XCollection_InterfacesBASE > CollImplBase;
|
||||
class VBAHELPER_DLLPUBLIC ScVbaCollectionBaseImpl : public CollImplBase
|
||||
{
|
||||
public:
|
||||
ScVbaCollectionBaseImpl( const css::uno::Reference< ov::XHelperInterface > xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::container::XIndexAccess >& xIndexAccess ) throw( css::uno::RuntimeException ) : CollImplBase( xParent, xContext, xIndexAccess){}
|
||||
ScVbaCollectionBaseImpl( const css::uno::Reference< ov::XHelperInterface > & xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, const css::uno::Reference< css::container::XIndexAccess >& xIndexAccess ) throw( css::uno::RuntimeException ) : CollImplBase( xParent, xContext, xIndexAccess){}
|
||||
|
||||
};
|
||||
|
||||
|
@ -54,7 +54,7 @@ protected:
|
||||
const css::uno::Reference< css::frame::XModel >& getModel() { return mxModel; }
|
||||
public:
|
||||
VbaDocumentBase( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext,
|
||||
css::uno::Reference< css::frame::XModel > xModel );
|
||||
css::uno::Reference< css::frame::XModel > const & xModel );
|
||||
VbaDocumentBase( css::uno::Sequence< css::uno::Any > const& aArgs, css::uno::Reference< css::uno::XComponentContext >const& xContext );
|
||||
virtual ~VbaDocumentBase() {}
|
||||
|
||||
|
@ -56,7 +56,7 @@ protected:
|
||||
sal_Int32 getMargin( const OUString& sMarginType );
|
||||
void setMargin( const OUString& sMarginType, float fMargin );
|
||||
public:
|
||||
VbaTextFrame( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext , css::uno::Reference< css::drawing::XShape > xShape);
|
||||
VbaTextFrame( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext , css::uno::Reference< css::drawing::XShape > const & xShape);
|
||||
virtual ~VbaTextFrame() {}
|
||||
// Attributes
|
||||
virtual sal_Bool SAL_CALL getAutoSize() throw (css::uno::RuntimeException, std::exception) override;
|
||||
|
@ -43,7 +43,7 @@
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::ooo::vba;
|
||||
|
||||
VbaDocumentBase::VbaDocumentBase( const uno::Reference< ov::XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, uno::Reference< frame::XModel > xModel ) : VbaDocumentBase_BASE( xParent, xContext ), mxModel( xModel )
|
||||
VbaDocumentBase::VbaDocumentBase( const uno::Reference< ov::XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, uno::Reference< frame::XModel > const & xModel ) : VbaDocumentBase_BASE( xParent, xContext ), mxModel( xModel )
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,7 @@ using namespace com::sun::star;
|
||||
|
||||
ScVbaPictureFormat::ScVbaPictureFormat( const css::uno::Reference< ov::XHelperInterface >& xParent,
|
||||
const css::uno::Reference< css::uno::XComponentContext >& xContext,
|
||||
uno::Reference< drawing::XShape > xShape )
|
||||
uno::Reference< drawing::XShape > const & xShape )
|
||||
throw (lang::IllegalArgumentException, uno::RuntimeException)
|
||||
: ScVbaPictureFormat_BASE( xParent, xContext ), m_xShape( xShape )
|
||||
{
|
||||
|
@ -37,7 +37,7 @@ protected:
|
||||
private:
|
||||
static void checkParameterRangeInDouble( double nRange, double nMin, double nMax ) throw (css::uno::RuntimeException);
|
||||
public:
|
||||
ScVbaPictureFormat( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, css::uno::Reference< css::drawing::XShape > xShape )
|
||||
ScVbaPictureFormat( const css::uno::Reference< ov::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext, css::uno::Reference< css::drawing::XShape > const & xShape )
|
||||
throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
|
||||
|
||||
// Attributes
|
||||
|
@ -25,7 +25,7 @@
|
||||
using namespace ::ooo::vba;
|
||||
using namespace ::com::sun::star;
|
||||
|
||||
VbaTextFrame::VbaTextFrame( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, uno::Reference< drawing::XShape > xShape ) : VbaTextFrame_BASE( xParent, xContext ), m_xShape( xShape )
|
||||
VbaTextFrame::VbaTextFrame( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, uno::Reference< drawing::XShape > const & xShape ) : VbaTextFrame_BASE( xParent, xContext ), m_xShape( xShape )
|
||||
{
|
||||
m_xPropertySet.set( m_xShape, uno::UNO_QUERY_THROW );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user