summaryrefslogtreecommitdiff
path: root/include/svtools/ctrlbox.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-27 19:51:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-27 21:58:06 +0200
commite3841601872bf0555562bdd7fde22c5bce0c13b7 (patch)
tree4935be2f5ba05bb611b878b824e7b19640b2dbb6 /include/svtools/ctrlbox.hxx
parent4288fa0856f28813c76c30b5ff6a0c946a4db5f3 (diff)
weld SwStdFontTabPage
Change-Id: I9bf2177b9d95949815431789093b1fa6c30e2dee Reviewed-on: https://gerrit.libreoffice.org/76482 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svtools/ctrlbox.hxx')
-rw-r--r--include/svtools/ctrlbox.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/svtools/ctrlbox.hxx b/include/svtools/ctrlbox.hxx
index 4263ff807978..06c97e2ccff3 100644
--- a/include/svtools/ctrlbox.hxx
+++ b/include/svtools/ctrlbox.hxx
@@ -478,6 +478,7 @@ public:
void set_value(int nValue);
void save_value() { nSavedValue = get_value(); }
int get_saved_value() const { return nSavedValue; }
+ bool get_value_changed_from_saved() const { return get_value() != get_saved_value(); }
private:
SvtFontSizeBox(const SvtFontSizeBox&) = delete;