summaryrefslogtreecommitdiff
path: root/sc/source/ui/app/seltrans.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/app/seltrans.cxx')
-rw-r--r--sc/source/ui/app/seltrans.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/app/seltrans.cxx b/sc/source/ui/app/seltrans.cxx
index 5b5aca2a4a7b..84a0e6b23778 100644
--- a/sc/source/ui/app/seltrans.cxx
+++ b/sc/source/ui/app/seltrans.cxx
@@ -46,7 +46,7 @@ static bool lcl_IsURLButton( SdrObject* pObject )
SdrUnoObj* pUnoCtrl = dynamic_cast<SdrUnoObj*>( pObject );
if (pUnoCtrl && SdrInventor::FmForm == pUnoCtrl->GetObjInventor())
{
- uno::Reference<awt::XControlModel> xControlModel = pUnoCtrl->GetUnoControlModel();
+ const uno::Reference<awt::XControlModel>& xControlModel = pUnoCtrl->GetUnoControlModel();
OSL_ENSURE( xControlModel.is(), "uno control without model" );
if ( xControlModel.is() )
{