summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuscale.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fuscale.cxx')
-rw-r--r--sd/source/ui/func/fuscale.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fuscale.cxx b/sd/source/ui/func/fuscale.cxx
index 5d5c4c29d26a..d4730b243209 100644
--- a/sd/source/ui/func/fuscale.cxx
+++ b/sd/source/ui/func/fuscale.cxx
@@ -103,7 +103,7 @@ void FuScale::DoExecute( SfxRequest& rReq )
}
pZoomItem->SetValueSet( nZoomValues );
- aNewAttr.Put( *pZoomItem );
+ aNewAttr.Put( std::move(pZoomItem) );
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
ScopedVclPtr<AbstractSvxZoomDialog> pDlg(pFact->CreateSvxZoomDialog(rReq.GetFrameWeld(), aNewAttr));