diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-25 22:07:21 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-26 12:28:09 +0100 |
commit | 3b4b4ed3b3fa73265b2f2506985dec6a4e1068f2 (patch) | |
tree | 770d57d3b0b457b125261c3f7c52813a430cfb3e /include/vcl | |
parent | f03aebbd5fd4571d0663a8287dcc6a030b56305a (diff) |
Edit::IsModified should return bool
Change-Id: I0aafdd37c73cd47b9dc68b60a32db35c8c11f455
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/edit.hxx | 2 | ||||
-rw-r--r-- | include/vcl/vclmedit.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx index cbab39c6b0d8..2ee94dac017f 100644 --- a/include/vcl/edit.hxx +++ b/include/vcl/edit.hxx @@ -173,7 +173,7 @@ public: virtual void SetModifyFlag(); virtual void ClearModifyFlag(); - virtual sal_Bool IsModified() const { return mpSubEdit ? mpSubEdit->mbModified : mbModified; } + virtual bool IsModified() const { return mpSubEdit ? mpSubEdit->mbModified : mbModified; } virtual void EnableUpdateData( sal_uLong nTimeout = EDIT_UPDATEDATA_TIMEOUT ); virtual void DisableUpdateData() { delete mpUpdateDataTimer; mpUpdateDataTimer = NULL; } diff --git a/include/vcl/vclmedit.hxx b/include/vcl/vclmedit.hxx index 29f6a359e344..6e47f13fc73b 100644 --- a/include/vcl/vclmedit.hxx +++ b/include/vcl/vclmedit.hxx @@ -68,7 +68,7 @@ public: virtual void SetModifyFlag(); virtual void ClearModifyFlag(); - virtual sal_Bool IsModified() const; + virtual bool IsModified() const SAL_OVERRIDE; virtual void EnableUpdateData( sal_uLong nTimeout = EDIT_UPDATEDATA_TIMEOUT ); virtual void DisableUpdateData() { delete pUpdateDataTimer; pUpdateDataTimer = NULL; } |