diff options
Diffstat (limited to 'vcl/source/gdi/print3.cxx')
-rw-r--r-- | vcl/source/gdi/print3.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx index 1111c1e86143..4c86484c8a3b 100644 --- a/vcl/source/gdi/print3.cxx +++ b/vcl/source/gdi/print3.cxx @@ -1506,7 +1506,7 @@ css::uno::Sequence< css::beans::PropertyValue > PrinterController::getJobPropert css::beans::PropertyValue aVal; aVal.Name = "IsFirstPage"; aVal.Value <<= mpImplData->mbFirstPage; - pResult[nCur++] = aVal; + pResult[nCur++] = std::move(aVal); } // append IsLastPage if( aMergeSet.find( u"IsLastPage"_ustr ) == aMergeSet.end() ) @@ -1514,7 +1514,7 @@ css::uno::Sequence< css::beans::PropertyValue > PrinterController::getJobPropert css::beans::PropertyValue aVal; aVal.Name = "IsLastPage"; aVal.Value <<= mpImplData->mbLastPage; - pResult[nCur++] = aVal; + pResult[nCur++] = std::move(aVal); } // append IsPrinter if( aMergeSet.find( u"IsPrinter"_ustr ) == aMergeSet.end() ) @@ -1522,7 +1522,7 @@ css::uno::Sequence< css::beans::PropertyValue > PrinterController::getJobPropert css::beans::PropertyValue aVal; aVal.Name = "IsPrinter"; aVal.Value <<= true; - pResult[nCur++] = aVal; + pResult[nCur++] = std::move(aVal); } aResult.realloc( nCur ); return aResult; |