diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-23 09:46:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-24 08:35:56 +0200 |
commit | 4e51d68dc3595dae8b2519e0a023c9b1ca13a8fd (patch) | |
tree | a73bff3750fae258b3b4321cc65e68f6ff8ed0c7 /sfx2/source/doc/objmisc.cxx | |
parent | ec98adb2ec71882801a4db031c8e2bcf3075c5a0 (diff) |
clang-tidy performance-unnecessary-copy-init in sfx2..svtools
Change-Id: I1e92472b4aaeca1eb1372bd18d10cc9e0766dc39
Reviewed-on: https://gerrit.libreoffice.org/62251
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/doc/objmisc.cxx')
-rw-r--r-- | sfx2/source/doc/objmisc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx index f96947d94970..4bcfd9118e59 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -1576,7 +1576,7 @@ vcl::Window* SfxObjectShell::GetDialogParent( SfxMedium const * pLoadingMedium ) const SfxUnoFrameItem* pUnoItem = SfxItemSet::GetItem<SfxUnoFrameItem>(pSet, SID_FILLFRAME, false); if ( pUnoItem ) { - uno::Reference < frame::XFrame > xFrame( pUnoItem->GetFrame() ); + const uno::Reference < frame::XFrame >& xFrame( pUnoItem->GetFrame() ); pWindow = VCLUnoHelper::GetWindow( xFrame->getContainerWindow() ); } |