From e3e49d07e2feebcec631eed98bea5e3f6f6ab572 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 27 Aug 2022 08:46:31 +0200 Subject: 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 --- sc/source/ui/view/viewfun2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/view/viewfun2.cxx') 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... -- cgit