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/appl/appopen.cxx | |
parent | b46496c4154ff3784ecd59ed6e15b6ee07a66f22 (diff) |
use uno::Reference::set method instead of assignment
Change-Id: Id9e7621ca7170d6cc80d8ce14f155ce564691ec0
Diffstat (limited to 'sfx2/source/appl/appopen.cxx')
-rw-r--r-- | sfx2/source/appl/appopen.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx index 73157a54970e..0d1b0f8fbcc6 100644 --- a/sfx2/source/appl/appopen.cxx +++ b/sfx2/source/appl/appopen.cxx @@ -1069,7 +1069,7 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq ) if ( xModel.is() ) xController = xModel->getCurrentController(); else - xController = Reference < XController >( xComp, UNO_QUERY ); + xController.set( xComp, UNO_QUERY ); } else |