summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRishabh Kumar <kris.kr296@gmail.com>2016-07-04 16:44:31 +0530
committerKatarina Behrens <Katarina.Behrens@cib.de>2016-07-06 09:39:34 +0000
commit50ba4a079ec6dbf00277bcfbbf15dc2f10d8cdcf (patch)
treeebf21c4ac58e2a6c67dccf88c4655aa5646abf56 /include
parentf3ca52306a604d6702cd31d58c5c1902340090ab (diff)
Redesign of Hatch tab
1. New Hatch Listbox for presets. 2. Context menu for rename and delete. 3. Rearrangement of controls. 4. Remove Save and Load Buttons. Change-Id: Iad2479bc418f7a257a410df7f11c23ed8dd7734c Reviewed-on: https://gerrit.libreoffice.org/26869 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'include')
-rw-r--r--include/svtools/valueset.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx
index 77caa1ab5f39..05ece68784ee 100644
--- a/include/svtools/valueset.hxx
+++ b/include/svtools/valueset.hxx
@@ -350,6 +350,7 @@ public:
}
void SaveValue() { mnSavedItemId = GetSelectItemId(); }
sal_Int32 GetSavedValue() const { return mnSavedItemId; }
+ bool IsValueChangedFromSaved() { return mnSavedItemId != GetSelectItemId(); }
bool IsItemSelected( sal_uInt16 nItemId ) const
{
return !mbNoSelection && (nItemId == mnSelItemId);