summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/vcl/field.hxx1
-rw-r--r--vcl/source/control/field.cxx14
2 files changed, 0 insertions, 15 deletions
diff --git a/vcl/inc/vcl/field.hxx b/vcl/inc/vcl/field.hxx
index 5f5e8d62b2a3..311346ed6383 100644
--- a/vcl/inc/vcl/field.hxx
+++ b/vcl/inc/vcl/field.hxx
@@ -62,7 +62,6 @@ protected:
SAL_DLLPRIVATE void ImplSetText( const XubString& rText, Selection* pNewSel = NULL );
SAL_DLLPRIVATE sal_Bool ImplGetEmptyFieldValue() const { return mbEmptyFieldValue; }
- void SetFieldText( const XubString& rText, sal_Bool bKeepSelection );
void SetEmptyFieldValueData( sal_Bool bValue ) { mbEmptyFieldValue = bValue; }
SAL_DLLPRIVATE LocaleDataWrapper& ImplGetLocaleDataWrapper() const;
diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index 153828758928..51c4ee2dbe26 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -387,20 +387,6 @@ const AllSettings& FormatterBase::GetFieldSettings() const
// -----------------------------------------------------------------------
-void FormatterBase::SetFieldText( const XubString& rText, sal_Bool bKeepSelection )
-{
- if ( mpField )
- {
- Selection aNewSelection( 0xFFFF, 0xFFFF );
- if ( bKeepSelection )
- aNewSelection = mpField->GetSelection();
-
- ImplSetText( rText, &aNewSelection );
- }
-}
-
-// -----------------------------------------------------------------------
-
void FormatterBase::ImplSetText( const XubString& rText, Selection* pNewSelection )
{
if ( mpField )