summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreas kainz <kainz.a@gmail.com>2020-05-01 11:19:54 +0200
committerandreas_kainz <kainz.a@gmail.com>2020-05-01 21:28:52 +0200
commite5e64558322b0e6efc75c7fca1cbd0af40044153 (patch)
treeff069091ff0a09737828e33d6da7f799e506eddb
parent161fde0052c6d0616ba54a0799e84d58b2c80688 (diff)
Template: update category list sort
Change-Id: I6e3b25d65fa0fa57c4bfdac38c3cb6f24aa78f01 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93246 Tested-by: Jenkins Reviewed-by: andreas_kainz <kainz.a@gmail.com>
-rw-r--r--sfx2/inc/doctempl.hrc4
-rw-r--r--sfx2/source/doc/doctemplates.cxx4
2 files changed, 4 insertions, 4 deletions
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()