diff options
36 files changed, 52 insertions, 56 deletions
diff --git a/canvas/source/directx/dx_spritehelper.cxx b/canvas/source/directx/dx_spritehelper.cxx index 481e8a4f07b3..6b45d3866cef 100644 --- a/canvas/source/directx/dx_spritehelper.cxx +++ b/canvas/source/directx/dx_spritehelper.cxx @@ -54,7 +54,7 @@ namespace dxcanvas void SpriteHelper::init( const geometry::RealSize2D& rSpriteSize, const SpriteCanvasRef& rSpriteCanvas, const IDXRenderModuleSharedPtr& rRenderModule, - const DXSurfaceBitmapSharedPtr rBitmap, + const DXSurfaceBitmapSharedPtr& rBitmap, bool bShowSpriteBounds ) { ENSURE_OR_THROW( rSpriteCanvas.get() && diff --git a/canvas/source/directx/dx_spritehelper.hxx b/canvas/source/directx/dx_spritehelper.hxx index ced65e150a68..1cf85d79b8eb 100644 --- a/canvas/source/directx/dx_spritehelper.hxx +++ b/canvas/source/directx/dx_spritehelper.hxx @@ -70,7 +70,7 @@ namespace dxcanvas void init( const ::com::sun::star::geometry::RealSize2D& rSpriteSize, const SpriteCanvasRef& rSpriteCanvas, const IDXRenderModuleSharedPtr& rRenderModule, - const DXSurfaceBitmapSharedPtr rBitmap, + const DXSurfaceBitmapSharedPtr& rBitmap, bool bShowSpriteBounds ); void disposing(); diff --git a/canvas/source/tools/pagemanager.hxx b/canvas/source/tools/pagemanager.hxx index 5e906010e377..06756dd42488 100644 --- a/canvas/source/tools/pagemanager.hxx +++ b/canvas/source/tools/pagemanager.hxx @@ -28,16 +28,12 @@ namespace canvas { - - // PageManager - - class PageManager { public: - PageManager( const canvas::IRenderModuleSharedPtr pRenderModule ) : - mpRenderModule(pRenderModule) + PageManager(const canvas::IRenderModuleSharedPtr& rRenderModule) + : mpRenderModule(rRenderModule) { } diff --git a/canvas/source/tools/surfaceproxymanager.cxx b/canvas/source/tools/surfaceproxymanager.cxx index 72eb5c474306..7c0ac711f868 100644 --- a/canvas/source/tools/surfaceproxymanager.cxx +++ b/canvas/source/tools/surfaceproxymanager.cxx @@ -33,8 +33,8 @@ namespace canvas { public: - SurfaceProxyManager( const IRenderModuleSharedPtr pRenderModule ) : - mpPageManager( new PageManager(pRenderModule) ) + SurfaceProxyManager( const IRenderModuleSharedPtr& rRenderModule ) : + mpPageManager( new PageManager(rRenderModule) ) { } diff --git a/connectivity/source/commontools/parameters.cxx b/connectivity/source/commontools/parameters.cxx index 25c7da56dce8..d520e37f7d77 100644 --- a/connectivity/source/commontools/parameters.cxx +++ b/connectivity/source/commontools/parameters.cxx @@ -618,7 +618,7 @@ namespace dbtools } - bool ParameterManager::completeParameters( const Reference< XInteractionHandler >& _rxCompletionHandler, const Reference< XConnection > _rxConnection ) + bool ParameterManager::completeParameters( const Reference< XInteractionHandler >& _rxCompletionHandler, const Reference< XConnection >& _rxConnection ) { OSL_PRECOND( isAlive(), "ParameterManager::completeParameters: not initialized, or already disposed!" ); OSL_ENSURE ( _rxCompletionHandler.is(), "ParameterManager::completeParameters: invalid interaction handler!" ); diff --git a/connectivity/source/drivers/hsqldb/HConnection.cxx b/connectivity/source/drivers/hsqldb/HConnection.cxx index 836a20d140ac..e2b618ab1feb 100644 --- a/connectivity/source/drivers/hsqldb/HConnection.cxx +++ b/connectivity/source/drivers/hsqldb/HConnection.cxx @@ -90,7 +90,7 @@ namespace connectivity { namespace hsqldb OConnectionWrapper::disposing(); } - OHsqlConnection::OHsqlConnection( const Reference< XDriver > _rxDriver, + OHsqlConnection::OHsqlConnection( const Reference< XDriver >& _rxDriver, const Reference< XConnection >& _xConnection ,const Reference< XComponentContext >& _rxContext ) :OHsqlConnection_BASE( m_aMutex ) ,m_aFlushListeners( m_aMutex ) diff --git a/connectivity/source/inc/resource/sharedresources.hxx b/connectivity/source/inc/resource/sharedresources.hxx index 76cd950d388f..6ecd048e4b79 100644 --- a/connectivity/source/inc/resource/sharedresources.hxx +++ b/connectivity/source/inc/resource/sharedresources.hxx @@ -142,7 +142,7 @@ namespace connectivity the string from the resource file, with applied string substitution */ OUString getResourceStringWithSubstitution( ResourceId _nResId, - const ::std::list< ::std::pair<const sal_Char* , OUString > > _aStringToSubstitutes) const; + const ::std::list< ::std::pair<const sal_Char* , OUString > >& _rStringToSubstitutes) const; }; diff --git a/connectivity/source/resource/sharedresources.cxx b/connectivity/source/resource/sharedresources.cxx index c3c0896a1f89..1275774929f0 100644 --- a/connectivity/source/resource/sharedresources.cxx +++ b/connectivity/source/resource/sharedresources.cxx @@ -204,11 +204,11 @@ namespace connectivity } OUString SharedResources::getResourceStringWithSubstitution( ResourceId _nResId, - const ::std::list< ::std::pair<const sal_Char* , OUString > > _aStringToSubstitutes) const + const ::std::list< ::std::pair<const sal_Char* , OUString > >& _rStringToSubstitutes) const { OUString sString( SharedResources_Impl::getInstance().getResourceString( _nResId ) ); - ::std::list< ::std::pair<const sal_Char* , OUString > >::const_iterator aIter = _aStringToSubstitutes.begin(); - ::std::list< ::std::pair<const sal_Char* , OUString > >::const_iterator aEnd = _aStringToSubstitutes.end(); + ::std::list< ::std::pair<const sal_Char* , OUString > >::const_iterator aIter = _rStringToSubstitutes.begin(); + ::std::list< ::std::pair<const sal_Char* , OUString > >::const_iterator aEnd = _rStringToSubstitutes.end(); for(;aIter != aEnd; ++aIter) OSL_VERIFY( lcl_substitute( sString, aIter->first, aIter->second ) ); diff --git a/embeddedobj/source/commonembedding/persistence.cxx b/embeddedobj/source/commonembedding/persistence.cxx index 9ac7dd2d2242..4f1addaf406a 100644 --- a/embeddedobj/source/commonembedding/persistence.cxx +++ b/embeddedobj/source/commonembedding/persistence.cxx @@ -217,20 +217,20 @@ static uno::Reference< util::XCloseable > CreateDocument( const uno::Reference< } -static void SetDocToEmbedded( const uno::Reference< frame::XModel > xDocument, const OUString& aModuleName ) +static void SetDocToEmbedded( const uno::Reference< frame::XModel >& rDocument, const OUString& aModuleName ) { - if ( xDocument.is() ) + if (rDocument.is()) { uno::Sequence< beans::PropertyValue > aSeq( 1 ); aSeq[0].Name = "SetEmbedded"; aSeq[0].Value <<= sal_True; - xDocument->attachResource( OUString(), aSeq ); + rDocument->attachResource( OUString(), aSeq ); if ( !aModuleName.isEmpty() ) { try { - uno::Reference< frame::XModule > xModule( xDocument, uno::UNO_QUERY_THROW ); + uno::Reference< frame::XModule > xModule( rDocument, uno::UNO_QUERY_THROW ); xModule->setIdentifier( aModuleName ); } catch( const uno::Exception& ) diff --git a/extensions/source/update/check/updatehdl.cxx b/extensions/source/update/check/updatehdl.cxx index 6bc0b3ad3df7..9e69e8226e89 100644 --- a/extensions/source/update/check/updatehdl.cxx +++ b/extensions/source/update/check/updatehdl.cxx @@ -606,7 +606,7 @@ void UpdateHandler::updateState( UpdateState eState ) } -OUString UpdateHandler::loadString( const uno::Reference< resource::XResourceBundle > xBundle, +OUString UpdateHandler::loadString( const uno::Reference< resource::XResourceBundle >& rBundle, sal_Int32 nResourceId ) const { OUString sString; @@ -614,7 +614,7 @@ OUString UpdateHandler::loadString( const uno::Reference< resource::XResourceBun try { - OSL_VERIFY( xBundle->getByName( sKey ) >>= sString ); + OSL_VERIFY( rBundle->getByName( sKey ) >>= sString ); } catch( const uno::Exception& ) { 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; diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx index bdc8dd978c0e..07ce3eb25bed 100644 --- a/linguistic/source/dicimp.cxx +++ b/linguistic/source/dicimp.cxx @@ -682,7 +682,7 @@ bool DictionaryNeo::isSorted() return bRes; } -bool DictionaryNeo::addEntry_Impl(const uno::Reference< XDictionaryEntry > xDicEntry, +bool DictionaryNeo::addEntry_Impl(const uno::Reference< XDictionaryEntry >& xDicEntry, bool bIsLoadEntries) { MutexGuard aGuard( GetLinguMutex() ); diff --git a/linguistic/source/dicimp.hxx b/linguistic/source/dicimp.hxx index 29b1ecbc03ea..fc6647c3091a 100644 --- a/linguistic/source/dicimp.hxx +++ b/linguistic/source/dicimp.hxx @@ -76,7 +76,7 @@ class DictionaryNeo : bool isSorted(); bool addEntry_Impl(const ::com::sun::star::uno::Reference< - ::com::sun::star::linguistic2::XDictionaryEntry > xDicEntry, + ::com::sun::star::linguistic2::XDictionaryEntry >& rDicEntry, bool bIsLoadEntries = false); public: diff --git a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx index 6d2e66899df5..cfaff62cdfdb 100644 --- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx +++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionerImpl.cxx @@ -552,7 +552,7 @@ void OGLTransitionerImpl::impl_finishTransition() mpTransition->finish(); } -void OGLTransitionerImpl::setTransition( boost::shared_ptr<OGLTransitionImpl> const pTransition ) +void OGLTransitionerImpl::setTransition( boost::shared_ptr<OGLTransitionImpl> pTransition ) { if ( mpTransition ) // already initialized return; diff --git a/svl/source/numbers/numuno.cxx b/svl/source/numbers/numuno.cxx index 931e5718c62a..0ad66dcdb485 100644 --- a/svl/source/numbers/numuno.cxx +++ b/svl/source/numbers/numuno.cxx @@ -125,10 +125,10 @@ const uno::Sequence<sal_Int8>& SvNumberFormatsSupplierObj::getUnoTunnelId() // static SvNumberFormatsSupplierObj* SvNumberFormatsSupplierObj::getImplementation( - const uno::Reference<util::XNumberFormatsSupplier> xObj ) + const uno::Reference<util::XNumberFormatsSupplier>& rObj ) { SvNumberFormatsSupplierObj* pRet = NULL; - uno::Reference<lang::XUnoTunnel> xUT( xObj, uno::UNO_QUERY ); + uno::Reference<lang::XUnoTunnel> xUT(rObj, uno::UNO_QUERY); if (xUT.is()) pRet = reinterpret_cast<SvNumberFormatsSupplierObj*>(sal::static_int_cast<sal_IntPtr>(xUT->getSomething( getUnoTunnelId() ))); return pRet; diff --git a/toolkit/source/controls/stdtabcontrollermodel.cxx b/toolkit/source/controls/stdtabcontrollermodel.cxx index 1ea8acca03e1..8bac30c7f019 100644 --- a/toolkit/source/controls/stdtabcontrollermodel.cxx +++ b/toolkit/source/controls/stdtabcontrollermodel.cxx @@ -144,12 +144,12 @@ void StdTabControllerModel::ImplSetControlModels( UnoControlModelEntryList& rLis } } -sal_uInt32 StdTabControllerModel::ImplGetControlPos( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel > xCtrl, const UnoControlModelEntryList& rList ) const +sal_uInt32 StdTabControllerModel::ImplGetControlPos( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& rCtrl, const UnoControlModelEntryList& rList ) const { for ( size_t n = rList.size(); n; ) { UnoControlModelEntry* pEntry = rList[ --n ]; - if ( !pEntry->bGroup && ( *pEntry->pxControl == xCtrl ) ) + if ( !pEntry->bGroup && ( *pEntry->pxControl == rCtrl ) ) return n; } return CONTROLPOS_NOTFOUND; diff --git a/vcl/headless/svpbmp.cxx b/vcl/headless/svpbmp.cxx index d9da88b920d7..23dae7e78352 100644 --- a/vcl/headless/svpbmp.cxx +++ b/vcl/headless/svpbmp.cxx @@ -104,7 +104,7 @@ bool SvpSalBitmap::Create( const SalBitmap& /*rSalBmp*/, return false; } -bool SvpSalBitmap::Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas > /*xBitmapCanvas*/, Size& /*rSize*/, bool /*bMask*/ ) +bool SvpSalBitmap::Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas >& /*xBitmapCanvas*/, Size& /*rSize*/, bool /*bMask*/ ) { return false; } diff --git a/vcl/inc/dndevdis.hxx b/vcl/inc/dndevdis.hxx index 2f356c719b7b..60b6bb3c297d 100644 --- a/vcl/inc/dndevdis.hxx +++ b/vcl/inc/dndevdis.hxx @@ -63,7 +63,7 @@ class DNDEventDispatcher: public ::cppu::WeakImplHelper3< const ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::XTransferable >& xTransferable ) throw(::com::sun::star::uno::RuntimeException); sal_Int32 fireDragGestureEvent( vcl::Window *pWindow, const ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::dnd::XDragSource >& xSource, - const ::com::sun::star::uno::Any event, const Point& rOrigin, const sal_Int8 nDragAction )throw(::com::sun::star::uno::RuntimeException); + const ::com::sun::star::uno::Any& event, const Point& rOrigin, const sal_Int8 nDragAction )throw(::com::sun::star::uno::RuntimeException); public: diff --git a/vcl/inc/headless/svpbmp.hxx b/vcl/inc/headless/svpbmp.hxx index 6a80c7cd0666..b0fc0769aa42 100644 --- a/vcl/inc/headless/svpbmp.hxx +++ b/vcl/inc/headless/svpbmp.hxx @@ -48,7 +48,7 @@ public: SalGraphics* pGraphics ) SAL_OVERRIDE; virtual bool Create( const SalBitmap& rSalBmp, sal_uInt16 nNewBitCount ) SAL_OVERRIDE; - virtual bool Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas > xBitmapCanvas, + virtual bool Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas >& rBitmapCanvas, Size& rSize, bool bMask = false ) SAL_OVERRIDE; virtual void Destroy() SAL_OVERRIDE; diff --git a/vcl/inc/opengl/salbmp.hxx b/vcl/inc/opengl/salbmp.hxx index 84c64ede7bd4..e7b3052a27b9 100644 --- a/vcl/inc/opengl/salbmp.hxx +++ b/vcl/inc/opengl/salbmp.hxx @@ -65,7 +65,7 @@ public: bool Create( const SalBitmap& rSalBmp ) SAL_OVERRIDE; bool Create( const SalBitmap& rSalBmp, SalGraphics* pGraphics ) SAL_OVERRIDE; bool Create( const SalBitmap& rSalBmp, sal_uInt16 nNewBitCount ) SAL_OVERRIDE; - virtual bool Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas > xBitmapCanvas, + virtual bool Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas >& rBitmapCanvas, Size& rSize, bool bMask = false ) SAL_OVERRIDE; diff --git a/vcl/inc/quartz/salbmp.h b/vcl/inc/quartz/salbmp.h index 1be7b0da5cd9..9c2209d32e63 100644 --- a/vcl/inc/quartz/salbmp.h +++ b/vcl/inc/quartz/salbmp.h @@ -61,7 +61,7 @@ public: bool Create( const SalBitmap& rSalBmp ) SAL_OVERRIDE; bool Create( const SalBitmap& rSalBmp, SalGraphics* pGraphics ) SAL_OVERRIDE; bool Create( const SalBitmap& rSalBmp, sal_uInt16 nNewBitCount ) SAL_OVERRIDE; - virtual bool Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas > xBitmapCanvas, + virtual bool Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas >& rBitmapCanvas, Size& rSize, bool bMask = false ) SAL_OVERRIDE; diff --git a/vcl/inc/salbmp.hxx b/vcl/inc/salbmp.hxx index b450594f17f4..432c4df72c2a 100644 --- a/vcl/inc/salbmp.hxx +++ b/vcl/inc/salbmp.hxx @@ -47,7 +47,7 @@ public: SalGraphics* pGraphics ) = 0; virtual bool Create( const SalBitmap& rSalBmp, sal_uInt16 nNewBitCount ) = 0; - virtual bool Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas > xBitmapCanvas, + virtual bool Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas >& rBitmapCanvas, Size& rSize, bool bMask = false ) = 0; virtual void Destroy() = 0; diff --git a/vcl/inc/unx/salbmp.h b/vcl/inc/unx/salbmp.h index 0403b5a2fdaa..0dc5b362866f 100644 --- a/vcl/inc/unx/salbmp.h +++ b/vcl/inc/unx/salbmp.h @@ -132,7 +132,7 @@ public: virtual bool Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas - > xBitmapCanvas, + >& rBitmapCanvas, Size& rSize, bool bMask = false ) SAL_OVERRIDE; diff --git a/vcl/inc/win/salbmp.h b/vcl/inc/win/salbmp.h index d47346925309..b7d6622b8e19 100644 --- a/vcl/inc/win/salbmp.h +++ b/vcl/inc/win/salbmp.h @@ -84,7 +84,7 @@ public: virtual bool Create( const SalBitmap& rSalBmpImpl ) SAL_OVERRIDE; virtual bool Create( const SalBitmap& rSalBmpImpl, SalGraphics* pGraphics ) SAL_OVERRIDE; virtual bool Create( const SalBitmap& rSalBmpImpl, sal_uInt16 nNewBitCount ) SAL_OVERRIDE; - virtual bool Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas > xBitmapCanvas, + virtual bool Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas >& rBitmapCanvas, Size& rSize, bool bMask = false ) SAL_OVERRIDE; diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx index bc94939c063b..3b60843cf379 100644 --- a/vcl/opengl/salbmp.cxx +++ b/vcl/opengl/salbmp.cxx @@ -133,7 +133,7 @@ bool OpenGLSalBitmap::Create( const SalBitmap& rSalBmp, sal_uInt16 nNewBitCount return false; } -bool OpenGLSalBitmap::Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas > /*xBitmapCanvas*/, Size& /*rSize*/, bool /*bMask*/ ) +bool OpenGLSalBitmap::Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas >& /*xBitmapCanvas*/, Size& /*rSize*/, bool /*bMask*/ ) { // TODO Is this method needed? return false; diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx index 1de819593964..fd0fe7d22b8e 100644 --- a/vcl/quartz/salbmp.cxx +++ b/vcl/quartz/salbmp.cxx @@ -184,7 +184,7 @@ bool QuartzSalBitmap::Create( const SalBitmap& rSalBmp, sal_uInt16 nNewBitCount return false; } -bool QuartzSalBitmap::Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas > /*xBitmapCanvas*/, Size& /*rSize*/, bool /*bMask*/ ) +bool QuartzSalBitmap::Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas >& /*xBitmapCanvas*/, Size& /*rSize*/, bool /*bMask*/ ) { return false; } diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx index a95466d4cf33..6d35ec64b3c6 100644 --- a/vcl/source/gdi/bitmapex.cxx +++ b/vcl/source/gdi/bitmapex.cxx @@ -839,11 +839,11 @@ namespace { Bitmap impTransformBitmap( const Bitmap& rSource, - const Size aDestinationSize, + const Size& rDestinationSize, const basegfx::B2DHomMatrix& rTransform, bool bSmooth) { - Bitmap aDestination(aDestinationSize, 24); + Bitmap aDestination(rDestinationSize, 24); std::unique_ptr<BitmapWriteAccess> xWrite(aDestination.AcquireWriteAccess()); if(xWrite) diff --git a/vcl/source/window/dndevdis.cxx b/vcl/source/window/dndevdis.cxx index f422a9d99149..7ccaa99f298c 100644 --- a/vcl/source/window/dndevdis.cxx +++ b/vcl/source/window/dndevdis.cxx @@ -442,7 +442,7 @@ sal_Int32 DNDEventDispatcher::fireDropEvent( vcl::Window *pWindow, // DNDEventDispatcher::fireDragGestureRecognized sal_Int32 DNDEventDispatcher::fireDragGestureEvent( vcl::Window *pWindow, - const Reference< XDragSource >& xSource, const Any event, + const Reference< XDragSource >& xSource, const Any& event, const Point& rOrigin, const sal_Int8 nDragAction ) throw(::com::sun::star::uno::RuntimeException) diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx index 3dd3e8c62379..c777f371ea37 100644 --- a/vcl/source/window/splitwin.cxx +++ b/vcl/source/window/splitwin.cxx @@ -3095,15 +3095,15 @@ long SplitWindow::GetItemSize( sal_uInt16 nId, SplitWindowItemBits nBits ) const return 0; } -void SplitWindow::SetItemSizeRange (sal_uInt16 nId, const Range aRange) +void SplitWindow::SetItemSizeRange (sal_uInt16 nId, const Range& rRange) { sal_uInt16 nPos; ImplSplitSet* pSet = ImplFindItem(mpBaseSet, nId, nPos); if (pSet != NULL) { - pSet->mpItems[nPos].mnMinSize = aRange.Min(); - pSet->mpItems[nPos].mnMaxSize = aRange.Max(); + pSet->mpItems[nPos].mnMinSize = rRange.Min(); + pSet->mpItems[nPos].mnMaxSize = rRange.Max(); } } diff --git a/vcl/unx/generic/gdi/salbmp.cxx b/vcl/unx/generic/gdi/salbmp.cxx index 45f0a9cd1637..f301148cb51f 100644 --- a/vcl/unx/generic/gdi/salbmp.cxx +++ b/vcl/unx/generic/gdi/salbmp.cxx @@ -735,12 +735,12 @@ bool X11SalBitmap::Create( const SalBitmap&, sal_uInt16 ) } bool X11SalBitmap::Create( - const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas > xBitmapCanvas, + const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas >& rBitmapCanvas, Size& rSize, bool bMask ) { ::com::sun::star::uno::Reference< ::com::sun::star::beans::XFastPropertySet > - xFastPropertySet( xBitmapCanvas, ::com::sun::star::uno::UNO_QUERY ); + xFastPropertySet( rBitmapCanvas, ::com::sun::star::uno::UNO_QUERY ); if( xFastPropertySet.get() ) { sal_Int32 depth; diff --git a/vcl/win/source/gdi/salbmp.cxx b/vcl/win/source/gdi/salbmp.cxx index 28764cd56799..8c81baa7e49e 100644 --- a/vcl/win/source/gdi/salbmp.cxx +++ b/vcl/win/source/gdi/salbmp.cxx @@ -689,10 +689,10 @@ bool WinSalBitmap::Create( const SalBitmap& rSSalBmp, sal_uInt16 nNewBitCount ) return bRet; } -bool WinSalBitmap::Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas > xBitmapCanvas, Size& /*rSize*/, bool bMask ) +bool WinSalBitmap::Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas >& xBitmapCanvas, Size& /*rSize*/, bool bMask ) { ::com::sun::star::uno::Reference< ::com::sun::star::beans::XFastPropertySet > - xFastPropertySet( xBitmapCanvas, ::com::sun::star::uno::UNO_QUERY ); + xFastPropertySet( rBitmapCanvas, ::com::sun::star::uno::UNO_QUERY ); if( xFastPropertySet.get() ) { ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > args; |