diff options
author | Jens Carl <j.carl43@gmx.de> | 2018-01-03 22:36:45 +0000 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2018-01-04 06:38:14 +0100 |
commit | b0ab92eaa70dd6d6986b348525a901b75dfd7c69 (patch) | |
tree | 177f53bae346c04eeacc5332d48274db36491aa8 /sc/source/ui/unoobj/servuno.cxx | |
parent | 39f033e54858bc1c55ed82afe74199be05c08817 (diff) |
Add ServiceProvider "com.sun.star.sheet.TableAutoFormats"
Change-Id: If058d47116e0a287fc5b2155f5ae6b36cbd8fa47
Reviewed-on: https://gerrit.libreoffice.org/47359
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'sc/source/ui/unoobj/servuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/servuno.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/unoobj/servuno.cxx b/sc/source/ui/unoobj/servuno.cxx index 1573bf7f8cb5..bec6c090c3d6 100644 --- a/sc/source/ui/unoobj/servuno.cxx +++ b/sc/source/ui/unoobj/servuno.cxx @@ -263,6 +263,7 @@ const ProvNamesId_Type aProvNamesId[] = { "com.sun.star.style.CellStyle", Type::CELLSTYLE }, { "com.sun.star.style.PageStyle", Type::PAGESTYLE }, { "com.sun.star.sheet.TableAutoFormat", Type::AUTOFORMAT }, + { "com.sun.star.sheet.TableAutoFormats", Type::AUTOFORMATS }, { "com.sun.star.sheet.SheetCellRanges", Type::CELLRANGES }, { "com.sun.star.sheet.FunctionDescriptions", Type::FUNCTIONDESCRIPTIONS }, { "com.sun.star.sheet.RecentFunctions", Type::RECENTFUNCTIONS }, @@ -423,6 +424,9 @@ uno::Reference<uno::XInterface> ScServiceProvider::MakeInstance( case Type::AUTOFORMAT: xRet.set(static_cast<container::XIndexAccess*>(new ScAutoFormatObj( SC_AFMTOBJ_INVALID ))); break; + case Type::AUTOFORMATS: + xRet.set(static_cast<container::XIndexAccess*>(new ScAutoFormatsObj())); + break; case Type::CELLRANGES: // isn't inserted, rather filled // -> DocShell must be set, but empty ranges |