[Libreoffice-commits] core.git: cui/source

Andreas Heinisch (via logerrit) logerrit at kemper.freedesktop.org
Fri Sep 17 19:44:20 UTC 2021


 cui/source/tabpages/paragrph.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 8aec73d7a93b37778198d416ca4ef285734f2024
Author:     Andreas Heinisch <andreas.heinisch at yahoo.de>
AuthorDate: Fri Sep 17 20:40:55 2021 +0200
Commit:     Andreas Heinisch <andreas.heinisch at yahoo.de>
CommitDate: Fri Sep 17 21:43:43 2021 +0200

    tdf139131 - Sort page styles under Paragraph -> Text Flow
    
    Change-Id: I1bfe098ce9dd0c76c9a469f10e41f7d757e5e50b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122270
    Tested-by: Jenkins
    Reviewed-by: Andreas Heinisch <andreas.heinisch at yahoo.de>

diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index 6726da03961d..a7075bd862e7 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -1940,6 +1940,8 @@ SvxExtParagraphTabPage::SvxExtParagraphTabPage(weld::Container* pPage, weld::Dia
         SfxStyleSheetBase* pStyle = pPool->First(SfxStyleFamily::Page);
         OUString aStdName;
 
+        // tdf139131 - sort page styles
+        m_xApplyCollBox->make_sorted();
         while( pStyle )
         {
             if ( aStdName.isEmpty() )


More information about the Libreoffice-commits mailing list