[Libreoffice-commits] core.git: sfx2/inc sfx2/source
andreas kainz (via logerrit)
logerrit at kemper.freedesktop.org
Fri May 1 19:29:25 UTC 2020
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 <kainz.a at gmail.com>
AuthorDate: Fri May 1 11:19:54 2020 +0200
Commit: andreas_kainz <kainz.a at 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 <kainz.a at 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()
More information about the Libreoffice-commits
mailing list