[Libreoffice-commits] core.git: sw/source
Heiko Tietze (via logerrit)
logerrit at kemper.freedesktop.org
Tue Jan 14 08:45:04 UTC 2020
sw/source/ui/misc/docfnote.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 2b3c96a03f2e3c12148ec00c93f06e093d384db9
Author: Heiko Tietze <tietze.heiko at gmail.com>
AuthorDate: Mon Jan 13 11:09:58 2020 +0100
Commit: Heiko Tietze <heiko.tietze at documentfoundation.org>
CommitDate: Tue Jan 14 09:44:31 2020 +0100
Related tdf#129836 - Alphabetize styles in the footnotes/endnotes dialog
Page and paragraph dropdowns were missing
in Ie9bc4f63412dabd6032f0a9b7225384823f2f39a
Change-Id: Ied25eeb1360718315190104213172da594e4b05c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86666
Reviewed-by: Heiko Tietze <heiko.tietze at documentfoundation.org>
Tested-by: Heiko Tietze <heiko.tietze at documentfoundation.org>
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());
}
More information about the Libreoffice-commits
mailing list