include/tools/contnr.hxx | 2 -- svtools/source/contnr/ivctrl.cxx | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-)
New commits: commit 2139fd8761e44b87e6d775d6de8361155dc3eaf1 Author: Caolán McNamara <caol...@redhat.com> Date: Mon Dec 18 10:21:21 2017 +0000 drop last CONTAINER_APPEND use Change-Id: Ia4500cfef039100cf12bc8e8a8946395e26b6890 Reviewed-on: https://gerrit.libreoffice.org/46700 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/include/tools/contnr.hxx b/include/tools/contnr.hxx index ba65820f8729..5b04ea7bc820 100644 --- a/include/tools/contnr.hxx +++ b/include/tools/contnr.hxx @@ -23,8 +23,6 @@ #include <limits.h> -#define CONTAINER_APPEND (ULONG_MAX) - #define TREELIST_APPEND (ULONG_MAX) #define TREELIST_ENTRY_NOTFOUND (ULONG_MAX) diff --git a/svtools/source/contnr/ivctrl.cxx b/svtools/source/contnr/ivctrl.cxx index 247442ce9165..16dfe2749f72 100644 --- a/svtools/source/contnr/ivctrl.cxx +++ b/svtools/source/contnr/ivctrl.cxx @@ -96,7 +96,7 @@ SvxIconChoiceCtrlEntry* SvtIconChoiceCtrl::InsertEntry( const OUString& rText, c { SvxIconChoiceCtrlEntry* pEntry = new SvxIconChoiceCtrlEntry( rText, rImage); - _pImpl->InsertEntry( pEntry, CONTAINER_APPEND ); + _pImpl->InsertEntry(pEntry, _pImpl->GetEntryCount()); return pEntry; }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits