diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-19 19:33:44 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-12-20 09:30:56 +0100 |
commit | fdb37b71b563c3ffa90b5b0c4643fdad62b9c67c (patch) | |
tree | c856490fbe74a51ba93c67cda3643e6ac9a96ff2 /sfx2/source/doc/docfile.cxx | |
parent | fc5c81ced846adae2dbaccf78105d47b01d92269 (diff) |
cid#1545835 COPY_INSTEAD_OF_MOVE
and
cid#1545830 COPY_INSTEAD_OF_MOVE
cid#1545798 COPY_INSTEAD_OF_MOVE
cid#1545784 COPY_INSTEAD_OF_MOVE
cid#1545753 COPY_INSTEAD_OF_MOVE
cid#1545752 COPY_INSTEAD_OF_MOVE
cid#1545672 COPY_INSTEAD_OF_MOVE
Change-Id: Iaf2f77cb27ae0ea1585416a0c500f7c50d04e3fb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161007
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sfx2/source/doc/docfile.cxx')
-rw-r--r-- | sfx2/source/doc/docfile.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx index 0cdbd884663b..282354795520 100644 --- a/sfx2/source/doc/docfile.cxx +++ b/sfx2/source/doc/docfile.cxx @@ -3871,9 +3871,8 @@ void SfxMedium::AddVersion_Impl( util::RevisionTag& rRevision ) if ( aLongs[nKey] > nKey+1 ) break; - OUString aRevName = "Version" + OUString::number( nKey + 1 ); + rRevision.Identifier = "Version" + OUString::number( nKey + 1 ); pImpl->aVersions.realloc( nLength+1 ); - rRevision.Identifier = aRevName; pImpl->aVersions.getArray()[nLength] = rRevision; } |