diff options
Diffstat (limited to 'sfx2/source/view/frame.cxx')
-rw-r--r-- | sfx2/source/view/frame.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sfx2/source/view/frame.cxx b/sfx2/source/view/frame.cxx index ee9ed9a4bd3e..0d5906a3e7ae 100644 --- a/sfx2/source/view/frame.cxx +++ b/sfx2/source/view/frame.cxx @@ -44,6 +44,7 @@ #include <sfx2/viewsh.hxx> #include <sfx2/viewfrm.hxx> #include "impframe.hxx" +#include <utility> #include <workwin.hxx> #include <sfx2/ipclient.hxx> #include <vector> @@ -472,9 +473,9 @@ SfxUnoFrameItem::SfxUnoFrameItem() { } -SfxUnoFrameItem::SfxUnoFrameItem( sal_uInt16 nWhichId, const css::uno::Reference< css::frame::XFrame >& i_rFrame ) +SfxUnoFrameItem::SfxUnoFrameItem( sal_uInt16 nWhichId, css::uno::Reference< css::frame::XFrame > i_xFrame ) : SfxPoolItem( nWhichId ) - , m_xFrame( i_rFrame ) + , m_xFrame(std::move( i_xFrame )) { } |