summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/ui/dbui/mmresultdialogs.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/ui/dbui/mmresultdialogs.cxx b/sw/source/ui/dbui/mmresultdialogs.cxx
index 3794f9f861c9..e9dcc0b93a1b 100644
--- a/sw/source/ui/dbui/mmresultdialogs.cxx
+++ b/sw/source/ui/dbui/mmresultdialogs.cxx
@@ -376,6 +376,7 @@ void SwMMResultPrintDialog::FillInPrinterSettings()
PrinterChangeHdl_Impl(*m_xPrinterLB);
sal_Int32 count = xConfigItem->GetMergedDocumentCount();
+ m_xFromNF->set_max(count);
m_xToNF->set_value(count);
m_xToNF->set_max(count);
}
@@ -432,6 +433,10 @@ void SwMMResultEmailDialog::FillInEmailSettings()
m_xSendAsLB->set_active(3);
SendTypeHdl_Impl(*m_xSendAsLB);
+ const sal_Int32 nCount = xConfigItem->GetMergedDocumentCount();
+ m_xFromNF->set_max(nCount);
+ m_xToNF->set_max(nCount);
+ m_xToNF->set_value(nCount);
}
IMPL_LINK_NOARG(SwMMResultSaveDialog, DocumentSelectionHdl_Impl, weld::ToggleButton&, void)