diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-02-16 09:48:05 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-16 10:26:03 +0000 |
commit | 08c475bb24a34f3a6a3f08e8490b521e8dcc96be (patch) | |
tree | 45380d74b4b7f751d43041f28e9588f8ca7a1a89 /svtools | |
parent | 46087fd1b7186cd181275693e72494c4a07c0c38 (diff) |
callcatcher: update unused code list
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/svtools/fmtfield.hxx | 1 | ||||
-rw-r--r-- | svtools/inc/svtools/svmedit.hxx | 1 | ||||
-rw-r--r-- | svtools/source/control/fmtfield.cxx | 14 | ||||
-rw-r--r-- | svtools/source/edit/svmedit.cxx | 6 |
4 files changed, 0 insertions, 22 deletions
diff --git a/svtools/inc/svtools/fmtfield.hxx b/svtools/inc/svtools/fmtfield.hxx index a3e53c8ead79..fdbf2518b69b 100644 --- a/svtools/inc/svtools/fmtfield.hxx +++ b/svtools/inc/svtools/fmtfield.hxx @@ -200,7 +200,6 @@ public: public: virtual void SetText( const XubString& rStr ); virtual void SetText( const XubString& rStr, const Selection& rNewSelection ); - void SetValidateText(const XubString& rText, const String* pErrorText = NULL); // die folgenden Methoden sind interesant, wenn m_bTreatAsNumber auf sal_False sitzt /** nehmen wir mal an, irgendjemand will das ganze schoene double-Handling gar nicht haben, sondern diff --git a/svtools/inc/svtools/svmedit.hxx b/svtools/inc/svtools/svmedit.hxx index 5ff8ab4de8a3..eb855dac731a 100644 --- a/svtools/inc/svtools/svmedit.hxx +++ b/svtools/inc/svtools/svmedit.hxx @@ -89,7 +89,6 @@ public: virtual sal_Bool IsReadOnly() const; void EnableFocusSelectionHide( sal_Bool bHide ); - sal_Bool IsFocusSelectionHideEnabled() const; virtual void SetMaxTextLen( xub_StrLen nMaxLen = 0 ); virtual xub_StrLen GetMaxTextLen() const; diff --git a/svtools/source/control/fmtfield.cxx b/svtools/source/control/fmtfield.cxx index 821e9d86cdd3..3c8e3021fcea 100644 --- a/svtools/source/control/fmtfield.cxx +++ b/svtools/source/control/fmtfield.cxx @@ -398,20 +398,6 @@ FormattedField::~FormattedField() } //------------------------------------------------------------------------------ -void FormattedField::SetValidateText(const XubString& rText, const String* pErrorText) -{ - DBG_CHKTHIS(FormattedField, NULL); - - if (CheckText(rText)) - SetText(rText); - else - if (pErrorText) - ImplSetTextImpl(*pErrorText, NULL); - else - ImplSetValue(m_dDefaultValue, sal_True); -} - -//------------------------------------------------------------------------------ void FormattedField::SetText(const XubString& rStr) { DBG_CHKTHIS(FormattedField, NULL); diff --git a/svtools/source/edit/svmedit.cxx b/svtools/source/edit/svmedit.cxx index 267a20337254..640f05a19d3e 100644 --- a/svtools/source/edit/svmedit.cxx +++ b/svtools/source/edit/svmedit.cxx @@ -1575,12 +1575,6 @@ void MultiLineEdit::EnableFocusSelectionHide( sal_Bool bHide ) pImpSvMEdit->GetTextWindow()->SetAutoFocusHide( bHide ); } -sal_Bool MultiLineEdit::IsFocusSelectionHideEnabled() const -{ - return pImpSvMEdit->GetTextWindow()->IsAutoFocusHide(); -} - - void MultiLineEdit::SetLeftMargin( sal_uInt16 n ) { if ( GetTextEngine() ) |