diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-07-21 21:19:53 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-07-22 16:32:34 +0200 |
commit | 1b3305df4afb40e20bea74fc0068ea427050656c (patch) | |
tree | 1b0703c1bb425ec3892df0434aaaee281c8c1c02 /writerfilter/inc | |
parent | d96a5c6770bb7b13814e12de1cc30cc0163e8eb8 (diff) |
writerfilter: pass uno::Reference by reference
Stepping into Reference ctors in debugger on every function call is annoying.
Change-Id: Iba3c6ee143a772768084d65fb7036cbd4abcf050
Diffstat (limited to 'writerfilter/inc')
-rw-r--r-- | writerfilter/inc/dmapper/DomainMapper.hxx | 2 | ||||
-rw-r--r-- | writerfilter/inc/resourcemodel/LoggedResources.hxx | 4 | ||||
-rw-r--r-- | writerfilter/inc/resourcemodel/WW8ResourceModel.hxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/writerfilter/inc/dmapper/DomainMapper.hxx b/writerfilter/inc/dmapper/DomainMapper.hxx index 7143219a93fc..bc700826e73e 100644 --- a/writerfilter/inc/dmapper/DomainMapper.hxx +++ b/writerfilter/inc/dmapper/DomainMapper.hxx @@ -140,7 +140,7 @@ private: virtual void lcl_endParagraphGroup() SAL_OVERRIDE; virtual void lcl_startCharacterGroup() SAL_OVERRIDE; virtual void lcl_endCharacterGroup() SAL_OVERRIDE; - virtual void lcl_startShape( ::com::sun::star::uno::Reference< com::sun::star::drawing::XShape > xShape ) SAL_OVERRIDE; + virtual void lcl_startShape( ::com::sun::star::uno::Reference< com::sun::star::drawing::XShape > const& xShape ) SAL_OVERRIDE; virtual void lcl_endShape( ) SAL_OVERRIDE; virtual void lcl_text(const sal_uInt8 * data, size_t len) SAL_OVERRIDE; diff --git a/writerfilter/inc/resourcemodel/LoggedResources.hxx b/writerfilter/inc/resourcemodel/LoggedResources.hxx index 378138857c99..a914ec361a04 100644 --- a/writerfilter/inc/resourcemodel/LoggedResources.hxx +++ b/writerfilter/inc/resourcemodel/LoggedResources.hxx @@ -59,7 +59,7 @@ public: void endParagraphGroup() SAL_OVERRIDE; void startCharacterGroup() SAL_OVERRIDE; void endCharacterGroup() SAL_OVERRIDE; - void startShape( ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > xShape ) SAL_OVERRIDE; + void startShape( ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > const& xShape ) SAL_OVERRIDE; void endShape() SAL_OVERRIDE; void text(const sal_uInt8 * data, size_t len) SAL_OVERRIDE; void utext(const sal_uInt8 * data, size_t len) SAL_OVERRIDE; @@ -76,7 +76,7 @@ protected: virtual void lcl_endParagraphGroup() = 0; virtual void lcl_startCharacterGroup() = 0; virtual void lcl_endCharacterGroup() = 0; - virtual void lcl_startShape( ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > xShape ) = 0; + virtual void lcl_startShape( ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > const& xShape ) = 0; virtual void lcl_endShape() = 0; virtual void lcl_text(const sal_uInt8 * data, size_t len) = 0; virtual void lcl_utext(const sal_uInt8 * data, size_t len) = 0; diff --git a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx index 81209c0ac054..b0617139b325 100644 --- a/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx +++ b/writerfilter/inc/resourcemodel/WW8ResourceModel.hxx @@ -225,7 +225,7 @@ public: /** Receives a shape. */ - virtual void startShape( ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > xShape ) = 0; + virtual void startShape( ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > const& xShape ) = 0; virtual void endShape( ) = 0; |