[Libreoffice-commits] core.git: include/vcl
Stephan Bergmann
sbergman at redhat.com
Thu Feb 6 01:37:47 PST 2014
include/vcl/edit.hxx | 9 ---------
include/vcl/vclmedit.hxx | 6 ------
2 files changed, 15 deletions(-)
New commits:
commit 828596838870caa2a1f9cdb3dffc43b086cfe886
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Feb 6 10:32:57 2014 +0100
IsUpdateDateEnabled was never called
Change-Id: I056ed836f785191f0685dc6f1313436da33ca0ee
diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx
index 2ee94da..471e5d3 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 6e47f13..83c50c6 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: */
More information about the Libreoffice-commits
mailing list