Kaydet (Commit) d2d730f6 authored tarafından Mariusz Dykierek's avatar Mariusz Dykierek Kaydeden (comit) Caolán McNamara

Removed FormatterBase::SetFieldText

üst 2955fc0c
......@@ -94,7 +94,6 @@ FontSelectPattern::FontSelectPattern(ImplFontData const&, Size const&, float, in
FontSizeBox::SetUserValue(long, FieldUnit)
FontStyleBox::FontStyleBox(Window*, long)
FormattedField::SetValidateText(String const&, String const*)
FormatterBase::SetFieldText(String const&, unsigned char)
GraphCtrl::GraphCtrl(Window*, long)
GtkSalFrame::popIgnoreDamage()
GtkSalFrame::pushIgnoreDamage()
......
......@@ -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;
......
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment