sfx2/inc/doctempl.hrc            |    4 ++--
 sfx2/source/doc/doctemplates.cxx |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit e5e64558322b0e6efc75c7fca1cbd0af40044153
Author:     andreas kainz <kain...@gmail.com>
AuthorDate: Fri May 1 11:19:54 2020 +0200
Commit:     andreas_kainz <kain...@gmail.com>
CommitDate: Fri May 1 21:28:52 2020 +0200

    Template: update category list sort
    
    Change-Id: I6e3b25d65fa0fa57c4bfdac38c3cb6f24aa78f01
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93246
    Tested-by: Jenkins
    Reviewed-by: andreas_kainz <kain...@gmail.com>

diff --git a/sfx2/inc/doctempl.hrc b/sfx2/inc/doctempl.hrc
index 23a199ef47ce..46773035e9b7 100644
--- a/sfx2/inc/doctempl.hrc
+++ b/sfx2/inc/doctempl.hrc
@@ -25,6 +25,7 @@
 const char* TEMPLATE_LONG_NAMES_ARY[] =
 {
     NC_("TEMPLATE_LONG_NAMES_ARY", "My Templates"),
+    NC_("TEMPLATE_LONG_NAMES_ARY", "Styles"),
     NC_("TEMPLATE_LONG_NAMES_ARY", "Business Correspondence"),
     NC_("TEMPLATE_LONG_NAMES_ARY", "Other Business Documents"),
     NC_("TEMPLATE_LONG_NAMES_ARY", "Personal Correspondence and Documents"),
@@ -34,8 +35,7 @@ const char* TEMPLATE_LONG_NAMES_ARY[] =
     NC_("TEMPLATE_LONG_NAMES_ARY", "Presentation Backgrounds"),
     NC_("TEMPLATE_LONG_NAMES_ARY", "Presentations"),
     NC_("TEMPLATE_LONG_NAMES_ARY", "Miscellaneous"),
-    NC_("TEMPLATE_LONG_NAMES_ARY", "Labels"),
-    NC_("TEMPLATE_LONG_NAMES_ARY", "Styles")
+    NC_("TEMPLATE_LONG_NAMES_ARY", "Labels")
 };
 
 #endif
diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx
index fb193080652e..966293d4de23 100644
--- a/sfx2/source/doc/doctemplates.cxx
+++ b/sfx2/source/doc/doctemplates.cxx
@@ -481,6 +481,7 @@ void SfxDocTplService_Impl::getDefaultLocale()
 const char* TEMPLATE_SHORT_NAMES_ARY[] =
 {
     "standard",
+    "styles",
     "officorr",
     "offimisc",
     "personal",
@@ -490,8 +491,7 @@ const char* TEMPLATE_SHORT_NAMES_ARY[] =
     "layout",
     "presnt",
     "misc",
-    "labels",
-    "styles"
+    "labels"
 };
 
 void SfxDocTplService_Impl::readFolderList()
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to