[Libreoffice-commits] core.git: sc/inc sc/source
Jens Carl
j.carl43 at gmx.de
Tue Jan 16 10:24:14 UTC 2018
sc/inc/servuno.hxx | 3 ++-
sc/source/ui/unoobj/servuno.cxx | 4 ++++
2 files changed, 6 insertions(+), 1 deletion(-)
New commits:
commit 4ea231ccdebe6bd7b189e7b856d9b3cfc0b04a6f
Author: Jens Carl <j.carl43 at gmx.de>
Date: Tue Jan 16 07:04:52 2018 +0000
Add ServiceProvider "com.sun.star.sheet.GlobalSheetSettings"
Change-Id: I31a93cd6a7b46f1746aee694668295fabe4fa8fd
Reviewed-on: https://gerrit.libreoffice.org/47926
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Jens Carl <j.carl43 at gmx.de>
diff --git a/sc/inc/servuno.hxx b/sc/inc/servuno.hxx
index d718bf2cda4b..a53b81f3e3e4 100644
--- a/sc/inc/servuno.hxx
+++ b/sc/inc/servuno.hxx
@@ -33,7 +33,8 @@ public:
SHEET , URLFIELD , PAGEFIELD , PAGESFIELD , DATEFIELD , TIMEFIELD , TITLEFIELD , FILEFIELD ,
SHEETFIELD , CELLSTYLE , PAGESTYLE ,
// sheet
- AUTOFORMAT , AUTOFORMATS, CELLRANGES , FUNCTIONDESCRIPTIONS , RECENTFUNCTIONS ,
+ AUTOFORMAT , AUTOFORMATS, CELLRANGES , FUNCTIONDESCRIPTIONS , GLOBALSHEETSETTINGS ,
+ RECENTFUNCTIONS ,
// drawing layer tables
GRADTAB , HATCHTAB , BITMAPTAB , TRGRADTAB , MARKERTAB , DASHTAB , NUMRULES ,
diff --git a/sc/source/ui/unoobj/servuno.cxx b/sc/source/ui/unoobj/servuno.cxx
index bec6c090c3d6..e3ee59062ea7 100644
--- a/sc/source/ui/unoobj/servuno.cxx
+++ b/sc/source/ui/unoobj/servuno.cxx
@@ -266,6 +266,7 @@ const ProvNamesId_Type aProvNamesId[] =
{ "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.GlobalSheetSettings", Type::GLOBALSHEETSETTINGS },
{ "com.sun.star.sheet.RecentFunctions", Type::RECENTFUNCTIONS },
{ "com.sun.star.drawing.GradientTable", Type::GRADTAB },
{ "com.sun.star.drawing.HatchTable", Type::HATCHTAB },
@@ -436,6 +437,9 @@ uno::Reference<uno::XInterface> ScServiceProvider::MakeInstance(
case Type::FUNCTIONDESCRIPTIONS:
xRet.set(static_cast<sheet::XFunctionDescriptions*>(new ScFunctionListObj()));
break;
+ case Type::GLOBALSHEETSETTINGS:
+ xRet.set(static_cast<sheet::XGlobalSheetSettings*>(new ScSpreadsheetSettings()));
+ break;
case Type::RECENTFUNCTIONS:
xRet.set(static_cast<sheet::XRecentFunctions*>(new ScRecentFunctionsObj()));
break;
More information about the Libreoffice-commits
mailing list