From 828596838870caa2a1f9cdb3dffc43b086cfe886 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 6 Feb 2014 10:32:57 +0100 Subject: IsUpdateDateEnabled was never called Change-Id: I056ed836f785191f0685dc6f1313436da33ca0ee --- include/vcl/edit.hxx | 9 --------- include/vcl/vclmedit.hxx | 6 ------ 2 files changed, 15 deletions(-) (limited to 'include') 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: */ -- cgit