diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-14 09:13:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-15 07:15:09 +0100 |
commit | eab5da91c74e16c9eec4e32fe19686b246902617 (patch) | |
tree | 74b77af2fc3868946ddf8b1381f7e3fff6cbe0d6 /svx | |
parent | bf151f0716910b56e3538579f4af7ede8f51bbcf (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/checklbx.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/ctredlin.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
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; |