summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-06-02 12:17:21 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-06-02 22:46:51 +0200
commit1f15d097cace14ca6e44e7652f460aa3fa7bd150 (patch)
tree732d654057af070fe686222626864db11cb5d54e /sc/source
parent68060a0213abbb9a6e16358f8deea4980dd22565 (diff)
cid#1602446 silence Unchecked return value
Change-Id: Idddff2f08dda1d43a197824fca82b69f7c212648 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168345 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/tool/dbdata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/dbdata.cxx b/sc/source/core/tool/dbdata.cxx
index c2096b39c4d1..596f50f756a5 100644
--- a/sc/source/core/tool/dbdata.cxx
+++ b/sc/source/core/tool/dbdata.cxx
@@ -1598,7 +1598,7 @@ void ScDBCollection::CopyToTable(SCTAB nOldPos, SCTAB nNewPos)
std::unique_ptr<ScDBData> pDataCopy = std::make_unique<ScDBData>(newName, *rxNamedDB);
pDataCopy->UpdateMoveTab(nOldPos, nNewPos);
pDataCopy->SetIndex(0);
- maNamedDBs.insert(std::move(pDataCopy));
+ (void)maNamedDBs.insert(std::move(pDataCopy));
}
}