diff options
author | Albert Thuswaldner <albert.thuswaldner@gmail.com> | 2011-06-13 15:54:06 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-06-13 16:08:16 -0400 |
commit | 50b5d6076d9dc40eb0c484843481b2bf804d71e4 (patch) | |
tree | 123a56ca8001ed23ff284c337874ae55a85f80de /sc/source/ui/app/scmod.cxx | |
parent | 2206f826c017acedbf813f5ee368ff227cb91cf9 (diff) |
fdo#33293: Option to configure initial number of sheets in Calc.
Diffstat (limited to 'sc/source/ui/app/scmod.cxx')
-rw-r--r-- | sc/source/ui/app/scmod.cxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index 764b8d91f801..30ff5287c6c4 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -100,13 +100,13 @@ #include "dwfunctr.hxx" #include "formdata.hxx" #include "tpprint.hxx" +#include "tpdefaults.hxx" #include "transobj.hxx" #include "detfunc.hxx" #include "preview.hxx" #include <svx/xmlsecctrl.hxx> - #define ScModule #include "scslots.hxx" @@ -2047,6 +2047,14 @@ SfxTabPage* ScModule::CreateTabPage( sal_uInt16 nId, Window* pParent, const Sfx pRet = (*ScTpPrintOptionsCreate)( pParent, rSet); } break; + case RID_SC_TP_DEFAULTS: + { + ::CreateTabPage ScTpDefaultsOptionsCreate = pFact->GetTabPageCreatorFunc( RID_SCPAGE_DEFAULTS ); + if ( ScTpDefaultsOptionsCreate ) + pRet = (*ScTpDefaultsOptionsCreate)( pParent, rSet); + } + break; + case RID_OFA_TP_INTERNATIONAL: { SfxAbstractDialogFactory* pSfxFact = SfxAbstractDialogFactory::Create(); |