summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorMariusz Dykierek <mariuszdykierek@gmail.com>2012-01-16 16:20:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-16 16:21:24 +0000
commitd2d730f65774564f27f3f5a0d3a1ee94db21c47f (patch)
tree388f9fcc8b43c52f8f584b6aea5d070bedcaf12d /vcl
parentDateAcceptancePattern and PartitiveMonths for Czech language (diff)
downloadcore-d2d730f65774564f27f3f5a0d3a1ee94db21c47f.tar.gz
core-d2d730f65774564f27f3f5a0d3a1ee94db21c47f.zip
Removed FormatterBase::SetFieldText
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 )