summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorRishabh Kumar <kris.kr296@gmail.com>2016-07-13 00:31:28 +0530
committerKatarina Behrens <Katarina.Behrens@cib.de>2016-07-14 09:12:23 +0000
commitbe95afad421230784f0ea1ec2054974c4359b9fa (patch)
tree4c23e83f1376f83db2d5a3228b4db5966ebc7f5d /include/svx
parentf9ef86c7a1c10e16c4aa4988706047058ef7f167 (diff)
[GSoC] Avoid reload of preset list in hatch tab
Change-Id: If2acb6df3c046de63b6b4069474e19fb87222a11 Reviewed-on: https://gerrit.libreoffice.org/27167 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/SvxPresetListBox.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/svx/SvxPresetListBox.hxx b/include/svx/SvxPresetListBox.hxx
index 378c9c0f334a..bb4429d64074 100644
--- a/include/svx/SvxPresetListBox.hxx
+++ b/include/svx/SvxPresetListBox.hxx
@@ -25,12 +25,14 @@
#include <vcl/ctrl.hxx>
#include <svtools/valueset.hxx>
#include <svx/xtable.hxx>
+#include <tools/gen.hxx>
class SVX_DLLPUBLIC SvxPresetListBox : public ValueSet
{
private:
- sal_uInt32 nColCount = 2;
- sal_uInt32 nRowCount = 5;
+ sal_uInt32 nColCount;
+ sal_uInt32 nRowCount;
+ Size aIconSize;
Link<SvxPresetListBox*,void> maRenameHdl;
Link<SvxPresetListBox*,void> maDeleteHdl;
@@ -45,6 +47,7 @@ public:
virtual void Resize() override;
virtual void Command( const CommandEvent& rEvt ) override;
sal_uInt32 getColumnCount() const { return nColCount; }
+ Size GetIconSize() const { return aIconSize; }
void setColumnCount( const sal_uInt32 nCount ) { nColCount = nCount; }
void setRowCount( const sal_uInt32 nRow ) { nRowCount = nRow; }