summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-03 09:46:07 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-07-03 18:21:36 +0200
commitcd91074bc087b0f85293c2756cdb96f53024c489 (patch)
tree4b37992e876b4cab083712d13f5e824b2eb82abf /sw/source/ui
parente42be49887e75c6ec748b6c48bb4e5eda295c715 (diff)
cid#1606556 Overflowed constant
Change-Id: I7748094d226b8201cfbdf43d6ae7df0cd776f9e7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169923 Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/index/swuiidxmrk.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx
index a37ef31f2dba..a61c662c9327 100644
--- a/sw/source/ui/index/swuiidxmrk.cxx
+++ b/sw/source/ui/index/swuiidxmrk.cxx
@@ -526,7 +526,7 @@ void SwIndexMarkPane::InsertMark()
SwTOXMarkDescription aDesc(eType);
- const int nLevel = m_xLevelNF->denormalize(m_xLevelNF->get_value());
+ const auto nLevel = m_xLevelNF->denormalize(m_xLevelNF->get_value());
switch( nPos)
{
case POS_CONTENT : break;