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 /dbaccess | |
parent | f03aebbd5fd4571d0663a8287dcc6a030b56305a (diff) |
Edit::IsModified should return bool
Change-Id: I0aafdd37c73cd47b9dc68b60a32db35c8c11f455
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/inc/FieldControls.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/inc/FieldControls.hxx b/dbaccess/source/ui/inc/FieldControls.hxx index 5ea415bd6df6..e65afbacad31 100644 --- a/dbaccess/source/ui/inc/FieldControls.hxx +++ b/dbaccess/source/ui/inc/FieldControls.hxx @@ -46,7 +46,7 @@ namespace dbaui public: inline OPropColumnEditCtrl(Window* pParent, OUString& _rAllowedChars, sal_uInt16 nHelpId, short nPosition = -1, WinBits nWinStyle = 0); - inline sal_Bool IsModified() const { return GetText() != GetSavedValue(); } + virtual inline bool IsModified() const SAL_OVERRIDE { return GetText() != GetSavedValue(); } short GetPos() const { return m_nPos; } OUString GetHelp() const { return m_strHelpText; } @@ -77,7 +77,7 @@ namespace dbaui inline OPropEditCtrl(Window* pParent, sal_uInt16 nHelpId, short nPosition = -1, WinBits nWinStyle = 0); inline OPropEditCtrl(Window* pParent, sal_uInt16 nHelpId, const ResId& _rRes,short nPosition = -1); - inline sal_Bool IsModified() const { return GetText() != GetSavedValue(); } + virtual inline bool IsModified() const SAL_OVERRIDE { return GetText() != GetSavedValue(); } short GetPos() const { return m_nPos; } OUString GetHelp() const { return m_strHelpText; } @@ -111,7 +111,7 @@ namespace dbaui inline OPropNumericEditCtrl(Window* pParent, sal_uInt16 nHelpId, short nPosition = -1, WinBits nWinStyle = 0); inline OPropNumericEditCtrl(Window* pParent, sal_uInt16 nHelpId, const ResId& _rRes,short nPosition = -1); - inline sal_Bool IsModified() const { return GetText() != GetSavedValue(); } + virtual inline bool IsModified() const SAL_OVERRIDE { return GetText() != GetSavedValue(); } short GetPos() const { return m_nPos; } OUString GetHelp() const { return m_strHelpText; } |