summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/ui/misc/docfnote.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/ui/misc/docfnote.cxx b/sw/source/ui/misc/docfnote.cxx
index 9542740f5979..a4a101c77535 100644
--- a/sw/source/ui/misc/docfnote.cxx
+++ b/sw/source/ui/misc/docfnote.cxx
@@ -171,6 +171,7 @@ void SwEndNoteOptionPage::Reset( const SfxItemSet* )
m_xParaTemplBox->append_text(pStyle->GetName());
pStyle = pStyleSheetPool->Next();
}
+ m_xParaTemplBox->make_sorted();
OUString sStr;
SwStyleNameMapper::FillUIName( static_cast< sal_uInt16 >(bEndNote ? RES_POOLCOLL_ENDNOTE
@@ -205,6 +206,7 @@ void SwEndNoteOptionPage::Reset( const SfxItemSet* )
if (m_xPageTemplBox->find_text(rPageDesc.GetName()) == -1)
m_xPageTemplBox->append_text(rPageDesc.GetName());
}
+ m_xPageTemplBox->make_sorted();
m_xPageTemplBox->set_active_text(pInf->GetPageDesc(*pSh->GetDoc())->GetName());
}