summaryrefslogtreecommitdiff
path: root/sw/source/ui/envelp/envlop1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/envelp/envlop1.cxx')
-rw-r--r--sw/source/ui/envelp/envlop1.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/ui/envelp/envlop1.cxx b/sw/source/ui/envelp/envlop1.cxx
index 1599d99eb462..be34f66b3bdf 100644
--- a/sw/source/ui/envelp/envlop1.cxx
+++ b/sw/source/ui/envelp/envlop1.cxx
@@ -143,7 +143,7 @@ SwEnvDlg::SwEnvDlg(vcl::Window* pParent, const SfxItemSet& rSet,
}
AddTabPage("envelope", SwEnvPage ::Create, 0);
- AddTabPage("format", SwEnvFmtPage::Create, 0);
+ AddTabPage("format", SwEnvFormatPage::Create, 0);
m_nEnvPrintId = AddTabPage("printer", SwEnvPrtPage::Create, 0);
}
@@ -175,13 +175,13 @@ short SwEnvDlg::Ok()
{
if (pAddresseeSet)
{
- SwTxtFmtColl* pColl = pSh->GetTxtCollFromPool(RES_POOLCOLL_JAKETADRESS);
- pColl->SetFmtAttr(*pAddresseeSet);
+ SwTextFormatColl* pColl = pSh->GetTextCollFromPool(RES_POOLCOLL_JAKETADRESS);
+ pColl->SetFormatAttr(*pAddresseeSet);
}
if (pSenderSet)
{
- SwTxtFmtColl* pColl = pSh->GetTxtCollFromPool(RES_POOLCOLL_SENDADRESS);
- pColl->SetFmtAttr(*pSenderSet);
+ SwTextFormatColl* pColl = pSh->GetTextCollFromPool(RES_POOLCOLL_SENDADRESS);
+ pColl->SetFormatAttr(*pSenderSet);
}
}