summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-11-22 20:13:11 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-11-24 12:52:44 +0100
commitb4cb8dd96f7031fcfaff22f8728121cab37e68f7 (patch)
treeb7384250bc7ff4991b7fcacd64a3e47432645cb3 /desktop/source
parent948e99fb30a98120e9c8281d5158faf9370e0a6f (diff)
cid#1606622 silence Overflowed integer argument
Change-Id: I8a25e19d3de1515a03fe478fa28c1f5eec0963c6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177165 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/deployment/gui/dp_gui_extlistbox.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx
index 7e8bb6a455eb..77c1c65a757c 100644
--- a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx
+++ b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx
@@ -433,6 +433,7 @@ void ExtensionBox_Impl::DrawRow(vcl::RenderContext& rRenderContext, const tools:
auto aTextHeight = rRenderContext.GetTextHeight();
// Get max title width
+ // coverity[ tainted_data_return : FALSE ] version 2023.12.2
auto nMaxTitleWidth = rRect.GetWidth() - ICON_OFFSET;
nMaxTitleWidth -= (2 * SMALL_ICON_SIZE) + (4 * SPACE_BETWEEN);
rRenderContext.SetFont(aStdFont);