Kaydet (Commit) 67bb43c8 authored tarafından László Németh's avatar László Németh

fdo#65666 keep tab characters in footnote settings (Begin/After)

Change-Id: I3fbd0f2dea5926981c0cd351c3235f6b61e66aaa
üst f7f7900e
......@@ -157,8 +157,8 @@ void SwEndNoteOptionPage::Reset( const SfxItemSet& )
// art
m_pNumViewBox->SelectNumberingType( pInf->aFmt.GetNumberingType());
m_pOffsetFld->SetValue(pInf->nFtnOffset + 1);
m_pPrefixED->SetText(pInf->GetPrefix());
m_pSuffixED->SetText(pInf->GetSuffix());
m_pPrefixED->SetText(pInf->GetPrefix().replaceAll("\t", "\\t")); // fdo#65666
m_pSuffixED->SetText(pInf->GetSuffix().replaceAll("\t", "\\t"));
const SwCharFmt* pCharFmt = pInf->GetCharFmt(
*pSh->GetView().GetDocShell()->GetDoc());
......@@ -363,8 +363,8 @@ sal_Bool SwEndNoteOptionPage::FillItemSet( SfxItemSet & )
pInf->nFtnOffset = static_cast< sal_uInt16 >(m_pOffsetFld->GetValue() -1);
pInf->aFmt.SetNumberingType(m_pNumViewBox->GetSelectedNumberingType() );
pInf->SetPrefix(m_pPrefixED->GetText());
pInf->SetSuffix(m_pSuffixED->GetText());
pInf->SetPrefix(m_pPrefixED->GetText().replaceAll("\\t", "\t"));
pInf->SetSuffix(m_pSuffixED->GetText().replaceAll("\\t", "\t"));
pInf->SetCharFmt( lcl_GetCharFormat( pSh,
m_pFtnCharTextTemplBox->GetSelectEntry() ) );
......
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