From eab5da91c74e16c9eec4e32fe19686b246902617 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 14 Dec 2017 09:13:37 +0200 Subject: sal_uIntPtr->sal_uLong in SvxRedlinTable and SvxCheckListBox which is not a vast improvement, but at least they are now consistent with the other InsertEntry methods in SvTreeListBox Change-Id: I3789f5fba4cdfee07f5c2f78e42f0071eab47c28 Reviewed-on: https://gerrit.libreoffice.org/46478 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/dialog/checklbx.cxx | 2 +- svx/source/dialog/ctredlin.cxx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'svx') diff --git a/svx/source/dialog/checklbx.cxx b/svx/source/dialog/checklbx.cxx index cb2b94e8a17e..66da800b57e7 100644 --- a/svx/source/dialog/checklbx.cxx +++ b/svx/source/dialog/checklbx.cxx @@ -223,7 +223,7 @@ void SvxCheckListBox::KeyInput( const KeyEvent& rKEvt ) } -SvTreeListEntry* SvxCheckListBox::InsertEntry( const OUString& rText, SvTreeListEntry* pParent, bool bChildrenOnDemand, sal_uIntPtr nPos, void* pUserData, SvLBoxButtonKind eButtonKind ) +SvTreeListEntry* SvxCheckListBox::InsertEntry( const OUString& rText, SvTreeListEntry* pParent, bool bChildrenOnDemand, sal_uLong nPos, void* pUserData, SvLBoxButtonKind eButtonKind ) { return SvTreeListBox::InsertEntry( rText, pParent, bChildrenOnDemand, nPos, pUserData, eButtonKind ); } diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx index e7432febfd80..fa95f3badf17 100644 --- a/svx/source/dialog/ctredlin.cxx +++ b/svx/source/dialog/ctredlin.cxx @@ -296,7 +296,7 @@ bool SvxRedlinTable::IsValidComment(const OUString &rCommentStr) } SvTreeListEntry* SvxRedlinTable::InsertEntry(const OUString& rStr, - RedlinData *pUserData, SvTreeListEntry* pParent, sal_uIntPtr nPos) + RedlinData *pUserData, SvTreeListEntry* pParent, sal_uLong nPos) { const Color aColor = (pUserData && pUserData->bDisabled) ? Color(COL_GRAY) : GetTextColor(); @@ -304,7 +304,7 @@ SvTreeListEntry* SvxRedlinTable::InsertEntry(const OUString& rStr, } SvTreeListEntry* SvxRedlinTable::InsertEntry(const OUString& rStr, - RedlinData *pUserData, const Color& rColor, SvTreeListEntry* pParent, sal_uIntPtr nPos) + RedlinData *pUserData, const Color& rColor, SvTreeListEntry* pParent, sal_uLong nPos) { maEntryColor = rColor; maEntryImage = Image(); @@ -317,7 +317,7 @@ SvTreeListEntry* SvxRedlinTable::InsertEntry(const OUString& rStr, } SvTreeListEntry* SvxRedlinTable::InsertEntry(const Image &rRedlineType, const OUString& rStr, - RedlinData *pUserData, SvTreeListEntry* pParent, sal_uIntPtr nPos) + RedlinData *pUserData, SvTreeListEntry* pParent, sal_uLong nPos) { maEntryColor = (pUserData && pUserData->bDisabled) ? Color(COL_GRAY) : GetTextColor(); maEntryImage = rRedlineType; -- cgit