diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-05 08:52:58 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-05 09:59:30 +0200 |
commit | c8782b39116eee3ddc3ef0a38c6f6dde09b6ec00 (patch) | |
tree | a37c11f8ec6436d00b36fec99027bb3b06668372 /sfx2/source/dialog/recfloat.cxx | |
parent | b46496c4154ff3784ecd59ed6e15b6ee07a66f22 (diff) |
use uno::Reference::set method instead of assignment
Change-Id: Id9e7621ca7170d6cc80d8ce14f155ce564691ec0
Diffstat (limited to 'sfx2/source/dialog/recfloat.cxx')
-rw-r--r-- | sfx2/source/dialog/recfloat.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/dialog/recfloat.cxx b/sfx2/source/dialog/recfloat.cxx index 8b68474cda65..0cb4a836985f 100644 --- a/sfx2/source/dialog/recfloat.cxx +++ b/sfx2/source/dialog/recfloat.cxx @@ -183,9 +183,8 @@ SfxRecordingFloat_Impl::SfxRecordingFloat_Impl( m_pTbx, nItemId, aCommandStr ); - xStopRecTbxCtrl = uno::Reference< frame::XToolbarController >( - static_cast< cppu::OWeakObject* >( pController ), - uno::UNO_QUERY ); + xStopRecTbxCtrl.set( static_cast< cppu::OWeakObject* >( pController ), + uno::UNO_QUERY ); uno::Reference< util::XUpdatable > xUpdate( xStopRecTbxCtrl, uno::UNO_QUERY ); if ( xUpdate.is() ) xUpdate->update(); |