Kaydet (Commit) b2e229ea authored tarafından Markus Mohrhard's avatar Markus Mohrhard

ListControl: append new entries by default

Change-Id: Ibd11b59526f95be054c4c1599bf45bc9e757dada
Reviewed-on: https://gerrit.libreoffice.org/41681Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 492462a3
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include <vcl/scrbar.hxx> #include <vcl/scrbar.hxx>
#include <vector> #include <vector>
#include <limits>
#include <svx/svxdllapi.h> #include <svx/svxdllapi.h>
...@@ -42,7 +43,7 @@ public: ...@@ -42,7 +43,7 @@ public:
virtual ~ListControl() override; virtual ~ListControl() override;
virtual void dispose() 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); void deleteEntry(sal_uInt32 nPos);
virtual Size GetOptimalSize() const override; virtual Size GetOptimalSize() const override;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment