diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/animations/CustomAnimationPane.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/table/TableDesignPane.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx index b8bf3858e6f1..b0075ad75a71 100644 --- a/sd/source/ui/animations/CustomAnimationPane.cxx +++ b/sd/source/ui/animations/CustomAnimationPane.cxx @@ -1631,7 +1631,7 @@ void CustomAnimationPane::onChangeCurrentPage() Reference< XDrawPage > xNewPage( mxView->getCurrentPage() ); if( xNewPage != mxCurrentPage ) { - mxCurrentPage = xNewPage; + mxCurrentPage = std::move(xNewPage); SdPage* pPage = SdPage::getImplementation( mxCurrentPage ); if( pPage ) { diff --git a/sd/source/ui/table/TableDesignPane.cxx b/sd/source/ui/table/TableDesignPane.cxx index 214bdeb1410e..3ed644ce75f3 100644 --- a/sd/source/ui/table/TableDesignPane.cxx +++ b/sd/source/ui/table/TableDesignPane.cxx @@ -579,7 +579,7 @@ void TableDesignWidget::onSelectionChanged() if( mxSelectedTable != xNewSelection ) { - mxSelectedTable = xNewSelection; + mxSelectedTable = std::move(xNewSelection); updateControls(); } } |