diff options
author | Mariusz Dykierek <mariuszdykierek@gmail.com> | 2012-01-16 16:20:43 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-16 16:21:24 +0000 |
commit | d2d730f65774564f27f3f5a0d3a1ee94db21c47f (patch) | |
tree | 388f9fcc8b43c52f8f584b6aea5d070bedcaf12d /vcl | |
parent | 2955fc0c3ef3c15b5fdad43969402503ed439336 (diff) |
Removed FormatterBase::SetFieldText
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/vcl/field.hxx | 1 | ||||
-rw-r--r-- | vcl/source/control/field.cxx | 14 |
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 ) |