summaryrefslogtreecommitdiff
path: root/include/vcl/edit.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/edit.hxx')
-rw-r--r--include/vcl/edit.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx
index 8c06faa72ee9..e0d968950b6c 100644
--- a/include/vcl/edit.hxx
+++ b/include/vcl/edit.hxx
@@ -218,6 +218,7 @@ public:
void SaveValue() { maSaveValue = GetText(); }
const OUString& GetSavedValue() const { return maSaveValue; }
+ bool IsValueChangedFromSaved() const { return maSaveValue != GetText(); }
virtual void SetModifyHdl( const Link& rLink ) { maModifyHdl = rLink; }
virtual const Link& GetModifyHdl() const { return maModifyHdl; }