Kaydet (Commit) e0aed145 authored tarafından Noel Grandin's avatar Noel Grandin

unused m_sNoSubjectST/m_sDefaultAttachmentST in SwMMResultEmailDialog

ever since

    commit ba0796b3
    Date:   Wed Dec 23 17:43:14 2015 +0100
    mailmerge: Killed the 'Save, print or send' page.

Change-Id: Id77cd6beb3eaa13ead848495d9f8661c83f60975
üst e159f8b1
......@@ -434,9 +434,7 @@ void SwMMResultEmailDialog::FillInEmailSettings()
if (m_pAttachmentED->GetText().isEmpty())
{
OUString sAttach(m_sDefaultAttachmentST);
sAttach += ".";
sAttach += lcl_GetExtensionForDocType(
OUString sAttach = "." + lcl_GetExtensionForDocType(
reinterpret_cast<sal_uLong>(m_pSendAsLB->GetSelectEntryData()));
m_pAttachmentED->SetText(sAttach);
......@@ -1012,10 +1010,10 @@ IMPL_LINK(SwMMResultEmailDialog, SendDocumentsHdl_Impl, Button*, pButton, void)
ScopedVclPtrInstance<SwSendQueryBox_Impl> aQuery(pButton, "SubjectDialog",
"modules/swriter/ui/subjectdialog.ui");
aQuery->SetIsEmptyTextAllowed(true);
aQuery->SetValue(m_sNoSubjectST);
aQuery->SetValue("");
if(RET_OK == aQuery->Execute())
{
if(aQuery->GetValue() != m_sNoSubjectST)
if(!aQuery->GetValue().isEmpty())
m_pSubjectED->SetText(aQuery->GetValue());
}
else
......
......@@ -125,8 +125,6 @@ class SwMMResultEmailDialog : public SfxModalDialog
VclPtr<Button> m_pOKButton;
OUString m_sDefaultAttachmentST;
OUString m_sNoSubjectST;
OUString m_sConfigureMail;
OUString m_sCC;
......
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