diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-09 16:52:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-09 20:56:26 +0000 |
commit | 924b2923b8b1515a4c37079e72a2a9cc6010a4f4 (patch) | |
tree | 111cf075f4085a9d1b4f1a69e7d5cbcaff57133c /include | |
parent | b926671283837ccf4ee1b283ff4fb286e29cedfd (diff) |
V801: Decreased performance
Change-Id: I9e9a00acf9503980f0c6c7cd0a20378e5ca7390d
Diffstat (limited to 'include')
-rw-r--r-- | include/connectivity/parameters.hxx | 2 | ||||
-rw-r--r-- | include/sax/tools/documenthandleradapter.hxx | 2 | ||||
-rw-r--r-- | include/svl/numuno.hxx | 2 | ||||
-rw-r--r-- | include/toolkit/controls/stdtabcontrollermodel.hxx | 2 | ||||
-rw-r--r-- | include/vcl/seleng.hxx | 2 | ||||
-rw-r--r-- | include/vcl/splitwin.hxx | 4 |
6 files changed, 7 insertions, 7 deletions
diff --git a/include/connectivity/parameters.hxx b/include/connectivity/parameters.hxx index 9af2b77b14bd..c1f839098222 100644 --- a/include/connectivity/parameters.hxx +++ b/include/connectivity/parameters.hxx @@ -349,7 +349,7 @@ namespace dbtools */ bool completeParameters( const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >& _rxCompletionHandler, - const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > _rxConnection + const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxConnection ); /** asks the parameter listeners to fill in final values diff --git a/include/sax/tools/documenthandleradapter.hxx b/include/sax/tools/documenthandleradapter.hxx index bba7c9735c25..aedb236349bf 100644 --- a/include/sax/tools/documenthandleradapter.hxx +++ b/include/sax/tools/documenthandleradapter.hxx @@ -205,7 +205,7 @@ namespace sax { } ExtendedDocumentHandlerAdapter( - const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XExtendedDocumentHandler > delegate) : + const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XExtendedDocumentHandler >& delegate) : m_handler(delegate) { } diff --git a/include/svl/numuno.hxx b/include/svl/numuno.hxx index 8a3f7abab782..d358f77b937c 100644 --- a/include/svl/numuno.hxx +++ b/include/svl/numuno.hxx @@ -82,7 +82,7 @@ public: static const com::sun::star::uno::Sequence<sal_Int8>& getUnoTunnelId(); static SvNumberFormatsSupplierObj* getImplementation( const com::sun::star::uno::Reference< - com::sun::star::util::XNumberFormatsSupplier> xObj ); + com::sun::star::util::XNumberFormatsSupplier>& rObj ); ::comphelper::SharedMutex& getSharedMutex() const; }; diff --git a/include/toolkit/controls/stdtabcontrollermodel.hxx b/include/toolkit/controls/stdtabcontrollermodel.hxx index 6dab2180a6e9..f03ae4e75e9e 100644 --- a/include/toolkit/controls/stdtabcontrollermodel.hxx +++ b/include/toolkit/controls/stdtabcontrollermodel.hxx @@ -95,7 +95,7 @@ protected: sal_uInt32 ImplGetControlCount( const UnoControlModelEntryList& rList ) const; void ImplGetControlModels( ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > ** pRefs, const UnoControlModelEntryList& rList ) const; void ImplSetControlModels( UnoControlModelEntryList& rList, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > >& Controls ) const; - sal_uInt32 ImplGetControlPos( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > xCtrl, const UnoControlModelEntryList& rList ) const; + sal_uInt32 ImplGetControlPos( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& rCtrl, const UnoControlModelEntryList& rList ) const; public: StdTabControllerModel(); diff --git a/include/vcl/seleng.hxx b/include/vcl/seleng.hxx index 141a68690ac0..cbfd9c3a0970 100644 --- a/include/vcl/seleng.hxx +++ b/include/vcl/seleng.hxx @@ -119,7 +119,7 @@ public: // is needed to generate a Move event via a Timer // when the mouse is outside the area - void SetVisibleArea( const Rectangle rNewArea ) + void SetVisibleArea( const Rectangle& rNewArea ) { aArea = rNewArea; } const Rectangle& GetVisibleArea() const { return aArea; } diff --git a/include/vcl/splitwin.hxx b/include/vcl/splitwin.hxx index 715b08324a06..157f0c23ed60 100644 --- a/include/vcl/splitwin.hxx +++ b/include/vcl/splitwin.hxx @@ -161,11 +161,11 @@ public: upper and a lower bound (both are valid values themselves.) @param nId Id of the item for which the size limits are set. - @param aRange + @param rRange Values of -1 define missing bounds, thus setting a range (-1,-1) (the default) removes the size limitiation. */ - void SetItemSizeRange (sal_uInt16 nId, const Range aRange); + void SetItemSizeRange (sal_uInt16 nId, const Range& rRange); /** Return the current size limits for the specified item. */ long GetItemSize( sal_uInt16 nId, SplitWindowItemBits nBits ) const; |