diff options
-rw-r--r-- | include/svtools/headbar.hxx | 2 | ||||
-rw-r--r-- | include/svtools/unoimap.hxx | 2 | ||||
-rw-r--r-- | svtools/inc/table/tablecontrol.hxx | 2 | ||||
-rw-r--r-- | svtools/source/control/headbar.cxx | 2 | ||||
-rw-r--r-- | svtools/source/misc/dialogcontrolling.cxx | 2 | ||||
-rw-r--r-- | svtools/source/table/tablecontrol.cxx | 2 | ||||
-rw-r--r-- | svtools/source/table/tablecontrol_impl.cxx | 2 | ||||
-rw-r--r-- | svtools/source/table/tablecontrol_impl.hxx | 2 | ||||
-rw-r--r-- | svtools/source/uno/unoimap.cxx | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/include/svtools/headbar.hxx b/include/svtools/headbar.hxx index 8ebef5e9b6ee..b5373f71a300 100644 --- a/include/svtools/headbar.hxx +++ b/include/svtools/headbar.hxx @@ -335,7 +335,7 @@ public: /** Creates and returns the accessible object of the header bar. */ virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible() override; - void SetAccessible( css::uno::Reference< css::accessibility::XAccessible > ); + void SetAccessible( const css::uno::Reference< css::accessibility::XAccessible >& ); virtual css::uno::Reference< css::awt::XWindowPeer > GetComponentInterface( bool bCreate ) override; }; diff --git a/include/svtools/unoimap.hxx b/include/svtools/unoimap.hxx index 46613ad05bc6..98c437651269 100644 --- a/include/svtools/unoimap.hxx +++ b/include/svtools/unoimap.hxx @@ -32,7 +32,7 @@ SVT_DLLPUBLIC css::uno::Reference< css::uno::XInterface > SvUnoImageMapPolygonOb SVT_DLLPUBLIC css::uno::Reference< css::uno::XInterface > SvUnoImageMap_createInstance( const SvEventDescription* pSupportedMacroItems ); SVT_DLLPUBLIC css::uno::Reference< css::uno::XInterface > SvUnoImageMap_createInstance( const ImageMap& rMap, const SvEventDescription* pSupportedMacroItems ); -SVT_DLLPUBLIC bool SvUnoImageMap_fillImageMap( css::uno::Reference< css::uno::XInterface > xImageMap, ImageMap& rMap ); +SVT_DLLPUBLIC bool SvUnoImageMap_fillImageMap( const css::uno::Reference< css::uno::XInterface >& xImageMap, ImageMap& rMap ); #endif diff --git a/svtools/inc/table/tablecontrol.hxx b/svtools/inc/table/tablecontrol.hxx index b0725f51a373..9ab11b1f634a 100644 --- a/svtools/inc/table/tablecontrol.hxx +++ b/svtools/inc/table/tablecontrol.hxx @@ -67,7 +67,7 @@ namespace svt { namespace table virtual void dispose() override; /// sets a new table model - void SetModel( PTableModel _pModel ); + void SetModel( const PTableModel& _pModel ); /// retrieves the current table model PTableModel GetModel() const; diff --git a/svtools/source/control/headbar.cxx b/svtools/source/control/headbar.cxx index d61e4c432174..5e31f3792a6e 100644 --- a/svtools/source/control/headbar.cxx +++ b/svtools/source/control/headbar.cxx @@ -1389,7 +1389,7 @@ css::uno::Reference< css::accessibility::XAccessible > HeaderBar::CreateAccessib return mxAccessible; } -void HeaderBar::SetAccessible( css::uno::Reference< css::accessibility::XAccessible > _xAccessible ) +void HeaderBar::SetAccessible( const css::uno::Reference< css::accessibility::XAccessible >& _xAccessible ) { mxAccessible = _xAccessible; } diff --git a/svtools/source/misc/dialogcontrolling.cxx b/svtools/source/misc/dialogcontrolling.cxx index 73a286c28968..b630caae6ece 100644 --- a/svtools/source/misc/dialogcontrolling.cxx +++ b/svtools/source/misc/dialogcontrolling.cxx @@ -53,7 +53,7 @@ namespace svt PWindowEventFilter pEventFilter; PWindowOperator pOperator; - DialogController_Data( vcl::Window& _xInstigator, const PWindowEventFilter _pEventFilter, const PWindowOperator _pOperator ) + DialogController_Data( vcl::Window& _xInstigator, const PWindowEventFilter& _pEventFilter, const PWindowOperator& _pOperator ) :xInstigator( &_xInstigator ) ,pEventFilter( _pEventFilter ) ,pOperator( _pOperator ) diff --git a/svtools/source/table/tablecontrol.cxx b/svtools/source/table/tablecontrol.cxx index b46e0adb1257..9689d9ec87eb 100644 --- a/svtools/source/table/tablecontrol.cxx +++ b/svtools/source/table/tablecontrol.cxx @@ -163,7 +163,7 @@ namespace svt { namespace table } - void TableControl::SetModel( PTableModel _pModel ) + void TableControl::SetModel( const PTableModel& _pModel ) { m_pImpl->setModel( _pModel ); } diff --git a/svtools/source/table/tablecontrol_impl.cxx b/svtools/source/table/tablecontrol_impl.cxx index b023d909bf14..46049a417e92 100644 --- a/svtools/source/table/tablecontrol_impl.cxx +++ b/svtools/source/table/tablecontrol_impl.cxx @@ -263,7 +263,7 @@ namespace svt { namespace table DELETEZ( m_pSelEngine ); } - void TableControl_Impl::setModel( PTableModel _pModel ) + void TableControl_Impl::setModel( const PTableModel& _pModel ) { SuppressCursor aHideCursor( *this ); diff --git a/svtools/source/table/tablecontrol_impl.hxx b/svtools/source/table/tablecontrol_impl.hxx index e2153d9ab8ff..28ddc6b89800 100644 --- a/svtools/source/table/tablecontrol_impl.hxx +++ b/svtools/source/table/tablecontrol_impl.hxx @@ -134,7 +134,7 @@ namespace svt { namespace table IAccessibleTableControl* m_pAccessibleTable; public: - void setModel( PTableModel _pModel ); + void setModel( const PTableModel& _pModel ); inline const PTableInputHandler& getInputHandler() const { return m_pInputHandler; } diff --git a/svtools/source/uno/unoimap.cxx b/svtools/source/uno/unoimap.cxx index d7fef225e35c..8dee26a8741b 100644 --- a/svtools/source/uno/unoimap.cxx +++ b/svtools/source/uno/unoimap.cxx @@ -760,7 +760,7 @@ Reference< XInterface > SvUnoImageMap_createInstance( const ImageMap& rMap, cons return static_cast<XWeak*>(new SvUnoImageMap( rMap, pSupportedMacroItems )); } -bool SvUnoImageMap_fillImageMap( Reference< XInterface > xImageMap, ImageMap& rMap ) +bool SvUnoImageMap_fillImageMap( const Reference< XInterface >& xImageMap, ImageMap& rMap ) { SvUnoImageMap* pUnoImageMap = SvUnoImageMap::getImplementation( xImageMap ); if( nullptr == pUnoImageMap ) |