diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-11 13:51:50 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-11 15:12:10 +0200 |
commit | e9cded40c8727cec7d0d29219c14ef0d0eef5195 (patch) | |
tree | 681cbe9b0cf1dc50f44efc0c46f3e08202e53690 /include/svx/unoapi.hxx | |
parent | c399630f9cd94bc570659c3bdfd6526e3532c46f (diff) |
clang-tidy performance-unnecessary-value-param in svx
Change-Id: I3e8cd7cedb3e7b7ef05760d21b10994ce615324b
Diffstat (limited to 'include/svx/unoapi.hxx')
-rw-r--r-- | include/svx/unoapi.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/unoapi.hxx b/include/svx/unoapi.hxx index 022350894a41..5d4a40d45a58 100644 --- a/include/svx/unoapi.hxx +++ b/include/svx/unoapi.hxx @@ -46,13 +46,13 @@ SVX_DLLPUBLIC SvxShape* CreateSvxShapeByTypeAndInventor(sal_uInt16 nType, sal_uI SVX_DLLPUBLIC css::uno::Reference< css::drawing::XShape > GetXShapeForSdrObject( SdrObject* pObj ) throw (); /** Returns the SdrObject from the given StarOffice API wrapper */ -SVX_DLLPUBLIC SdrObject* GetSdrObjectFromXShape( css::uno::Reference< css::drawing::XShape > xShape ) throw() ; +SVX_DLLPUBLIC SdrObject* GetSdrObjectFromXShape( const css::uno::Reference< css::drawing::XShape >& xShape ) throw() ; /** Returns a StarOffice API wrapper for the given SdrPage */ SVX_DLLPUBLIC css::uno::Reference< css::drawing::XDrawPage > GetXDrawPageForSdrPage( SdrPage* pPage ) throw (); /** Returns the SdrPage from the given StarOffice API wrapper */ -SVX_DLLPUBLIC SdrPage* GetSdrPageFromXDrawPage( css::uno::Reference< css::drawing::XDrawPage > xDrawPage ) throw() ; +SVX_DLLPUBLIC SdrPage* GetSdrPageFromXDrawPage( const css::uno::Reference< css::drawing::XDrawPage >& xDrawPage ) throw() ; /** * Maps the vcl MapUnit enum to a API constant MeasureUnit. |