summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewfun2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-08-27 08:46:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-08-27 13:09:24 +0200
commite3e49d07e2feebcec631eed98bea5e3f6f6ab572 (patch)
tree90caa214af109c701e33fc6c9f20ed8561ea837e /sc/source/ui/view/viewfun2.cxx
parent56a654ae337e48f5845252e91a95cf9a63ed3388 (diff)
sal_uLong->sal_uInt32 in ValidationEntry
we are already using sal_uInt32 in various places, and passing this through SfxUInt32Item Change-Id: Iea06b59edc56632b823729462516a6b5fb74e28a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138917 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/view/viewfun2.cxx')
-rw-r--r--sc/source/ui/view/viewfun2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx
index c8ed4cc9e485..d05ddad12c24 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -3456,7 +3456,7 @@ void ScViewFunc::SetSelectionFrameLines( const SvxBorderLine* pLine,
void ScViewFunc::SetValidation( const ScValidationData& rNew )
{
ScDocument& rDoc = GetViewData().GetDocument();
- sal_uLong nIndex = rDoc.AddValidationEntry(rNew); // for it there is no Undo
+ sal_uInt32 nIndex = rDoc.AddValidationEntry(rNew); // for it there is no Undo
SfxUInt32Item aItem( ATTR_VALIDDATA, nIndex );
ApplyAttr( aItem ); // with Paint and Undo...