diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-06 10:32:57 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-06 10:37:25 +0100 |
commit | 828596838870caa2a1f9cdb3dffc43b086cfe886 (patch) | |
tree | 50bbbd1a2b126d355c2cddf061183d4091360be5 /include | |
parent | 5935f841307a77d41d27d5279379bd0756c7ef29 (diff) |
IsUpdateDateEnabled was never called
Change-Id: I056ed836f785191f0685dc6f1313436da33ca0ee
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/edit.hxx | 9 | ||||
-rw-r--r-- | include/vcl/vclmedit.hxx | 6 |
2 files changed, 0 insertions, 15 deletions
diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx index 2ee94dac017f..471e5d3e5ff9 100644 --- a/include/vcl/edit.hxx +++ b/include/vcl/edit.hxx @@ -177,7 +177,6 @@ public: virtual void EnableUpdateData( sal_uLong nTimeout = EDIT_UPDATEDATA_TIMEOUT ); virtual void DisableUpdateData() { delete mpUpdateDataTimer; mpUpdateDataTimer = NULL; } - virtual sal_uLong IsUpdateDataEnabled() const; void SetEchoChar( sal_Unicode c ); sal_Unicode GetEchoChar() const { return mcEchoChar; } @@ -255,14 +254,6 @@ public: static Size GetMinimumEditSize(); }; -inline sal_uLong Edit::IsUpdateDataEnabled() const -{ - if ( mpUpdateDataTimer ) - return mpUpdateDataTimer->GetTimeout(); - else - return sal_False; -} - #endif // INCLUDED_VCL_EDIT_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/vcl/vclmedit.hxx b/include/vcl/vclmedit.hxx index 6e47f13fc73b..83c50c68d409 100644 --- a/include/vcl/vclmedit.hxx +++ b/include/vcl/vclmedit.hxx @@ -72,7 +72,6 @@ public: virtual void EnableUpdateData( sal_uLong nTimeout = EDIT_UPDATEDATA_TIMEOUT ); virtual void DisableUpdateData() { delete pUpdateDataTimer; pUpdateDataTimer = NULL; } - virtual sal_uLong IsUpdateDataEnabled() const; virtual void SetReadOnly( sal_Bool bReadOnly = sal_True ); virtual sal_Bool IsReadOnly() const; @@ -134,11 +133,6 @@ public: virtual bool set_property(const OString &rKey, const OString &rValue); }; -inline sal_uLong VclMultiLineEdit::IsUpdateDataEnabled() const -{ - return pUpdateDataTimer ? pUpdateDataTimer->GetTimeout() : 0; -} - #endif // INCLUDED_VCL_VCLMEDIT_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |