diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-27 21:00:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-28 18:36:01 +0200 |
commit | 329e913b0b82875a9f2f427cf1fae9e7f90b021a (patch) | |
tree | 5ac3864a9b66602984d35236cf7491d3dd88583e /framework/source/services | |
parent | b707ca9651a3d1b679b81b7d2aec1baf3d596090 (diff) |
cid#1556624 COPY_INSTEAD_OF_MOVE
and
cid#1556622 COPY_INSTEAD_OF_MOVE
cid#1556629 COPY_INSTEAD_OF_MOVE
cid#1556632 COPY_INSTEAD_OF_MOVE
cid#1556634 COPY_INSTEAD_OF_MOVE
cid#1556642 COPY_INSTEAD_OF_MOVE
cid#1556644 COPY_INSTEAD_OF_MOVE
cid#1556663 COPY_INSTEAD_OF_MOVE
cid#1556674 COPY_INSTEAD_OF_MOVE
cid#1556682 COPY_INSTEAD_OF_MOVE
cid#1556683 COPY_INSTEAD_OF_MOVE
cid#1556685 COPY_INSTEAD_OF_MOVE
cid#1556694 COPY_INSTEAD_OF_MOVE
cid#1556708 COPY_INSTEAD_OF_MOVE
cid#1556711 COPY_INSTEAD_OF_MOVE
cid#1556712 COPY_INSTEAD_OF_MOVE
cid#1556714 COPY_INSTEAD_OF_MOVE
cid#1556719 COPY_INSTEAD_OF_MOVE
cid#1556727 COPY_INSTEAD_OF_MOVE
cid#1556744 COPY_INSTEAD_OF_MOVE
cid#1556757 COPY_INSTEAD_OF_MOVE
cid#1556782 COPY_INSTEAD_OF_MOVE
cid#1556784 COPY_INSTEAD_OF_MOVE
Change-Id: I5d5bc884cd7351a81c18b35aaf4e304256242988
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171128
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'framework/source/services')
-rw-r--r-- | framework/source/services/autorecovery.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index c4fb2fcf3ed1..f3c2ddfc7b2c 100644 --- a/framework/source/services/autorecovery.cxx +++ b/framework/source/services/autorecovery.cxx @@ -3036,7 +3036,7 @@ AutoRecovery::ETimerType AutoRecovery::implts_saveDocs( bool bAllow g.reset(); // /* SAFE */ { - *pIt = aInfo; + *pIt = std::move(aInfo); } // Did we have some "dangerous candidates" ? @@ -3054,7 +3054,7 @@ AutoRecovery::ETimerType AutoRecovery::implts_saveDocs( bool bAllow g.reset(); // /* SAFE */ { - *pIt = aInfo; + *pIt = std::move(aInfo); } } /* SAFE */ |