diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-08-28 22:42:44 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-08-29 15:33:50 +0200 |
commit | b2e229ea407c840dff4809ec13db029f37981b7a (patch) | |
tree | f2d38c0b9eb4df986afa5d776108e5d1cdb4af48 | |
parent | 492462a3e79a3d6577e4b3a543ae059a4850267a (diff) |
ListControl: append new entries by default
Change-Id: Ibd11b59526f95be054c4c1599bf45bc9e757dada
Reviewed-on: https://gerrit.libreoffice.org/41681
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r-- | include/svx/listctrl.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/listctrl.hxx b/include/svx/listctrl.hxx index ac88c7a1e32b..310ba378b7b2 100644 --- a/include/svx/listctrl.hxx +++ b/include/svx/listctrl.hxx @@ -24,6 +24,7 @@ #include <vcl/scrbar.hxx> #include <vector> +#include <limits> #include <svx/svxdllapi.h> @@ -42,7 +43,7 @@ public: virtual ~ListControl() override; virtual void dispose() override; - void addEntry(VclPtr<Control> xEntry, sal_uInt32 nPos = 0); + void addEntry(VclPtr<Control> xEntry, sal_uInt32 nPos = std::numeric_limits<sal_uInt16>::max()); void deleteEntry(sal_uInt32 nPos); virtual Size GetOptimalSize() const override; |