diff options
Diffstat (limited to 'sc/source/ui/app/scmod.cxx')
-rw-r--r-- | sc/source/ui/app/scmod.cxx | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index 01ebacbbb545..97b5e889b3cf 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -119,7 +119,7 @@ static sal_uInt16 nIdleCount = 0; -//------------------------------------------------------------------ + SFX_IMPL_INTERFACE( ScModule, SfxShell, ScResId(RID_APPTITLE) ) { @@ -128,7 +128,7 @@ SFX_IMPL_INTERFACE( ScModule, SfxShell, ScResId(RID_APPTITLE) ) SFX_STATUSBAR_REGISTRATION( ScResId(SCCFG_STATUSBAR) ); // nur ID wichtig } -//------------------------------------------------------------------ + ScModule::ScModule( SfxObjectFactory* pFact ) : SfxModule( SfxApplication::CreateResManager( "sc" ), false, pFact, NULL ), @@ -208,7 +208,7 @@ ScModule::~ScModule() DeleteCfg(); // wurde mal aus Exit() gerufen } -//------------------------------------------------------------------ + void ScModule::ConfigurationChanged( utl::ConfigurationBroadcaster* p, sal_uInt32 ) { if ( p == pColorConfig || p == pAccessOptions ) @@ -335,7 +335,7 @@ void ScModule::Notify( SfxBroadcaster&, const SfxHint& rHint ) } } -//------------------------------------------------------------------ + void ScModule::DeleteCfg() { @@ -370,11 +370,11 @@ void ScModule::DeleteCfg() } } -//------------------------------------------------------------------ + // // von der Applikation verschoben: // -//------------------------------------------------------------------ + void ScModule::Execute( SfxRequest& rReq ) { @@ -644,7 +644,7 @@ void ScModule::HideDisabledSlots( SfxItemSet& rSet ) } -//------------------------------------------------------------------ + void ScModule::ResetDragObject() { @@ -713,14 +713,14 @@ ScDocument* ScModule::GetClipDoc() return NULL; } -//------------------------------------------------------------------ + void ScModule::SetSelectionTransfer( ScSelectionTransferObj* pNew ) { pSelTransfer = pNew; } -//------------------------------------------------------------------ + void ScModule::InitFormEditData() { @@ -732,7 +732,7 @@ void ScModule::ClearFormEditData() DELETEZ( pFormEditData ); } -//------------------------------------------------------------------ + void ScModule::SetViewOptions( const ScViewOptions& rOpt ) { @@ -972,11 +972,11 @@ sal_uInt16 ScModule::GetOptDigitLanguage() LANGUAGE_SYSTEM; } -//------------------------------------------------------------------ + // // Optionen // -//------------------------------------------------------------------ + // // ModifyOptions - Items aus Calc-Options-Dialog @@ -997,7 +997,7 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet ) GetInputOptions(); OSL_ENSURE( pInputCfg, "InputOptions not initialised :-(" ); - //-------------------------------------------------------------- + SfxViewFrame* pViewFrm = SfxViewFrame::Current(); SfxBindings* pBindings = pViewFrm ? &pViewFrm->GetBindings() : NULL; @@ -1014,7 +1014,7 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet ) bool bSaveInputOptions = false; bool bCompileErrorCells = false; - //-------------------------------------------------------------------------- + // SFX_APP()->SetOptions( rOptSet ); @@ -1320,7 +1320,7 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet ) SFX_APP()->Broadcast( SfxSimpleHint( SID_SCPRINTOPTIONS ) ); } - //---------------------------------------------------------- + if ( bSaveAppOptions ) pAppCfg->OptionsChanged(); @@ -1416,11 +1416,11 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet ) } } -//------------------------------------------------------------------ + // // Input-Handler // -//------------------------------------------------------------------ + ScInputHandler* ScModule::GetInputHdl( ScTabViewShell* pViewSh, bool bUseRef ) { @@ -1527,7 +1527,7 @@ ScInputHandler* ScModule::GetRefInputHdl() return pRefInputHandler; } -//------------------------------------------------------------------------ + // Olk's Krempel: void ScModule::InputGetSelection( sal_Int32& rStart, sal_Int32& rEnd ) @@ -1601,11 +1601,11 @@ void ScModule::ActivateInputWindow( const OUString* pStrFormula, bool bMatrix ) } } -//------------------------------------------------------------------ + // // Referenz - Dialoge // -//------------------------------------------------------------------ + void ScModule::SetRefDialog( sal_uInt16 nId, bool bVis, SfxViewFrame* pViewFrm ) { @@ -1909,11 +1909,11 @@ void ScModule::EndReference() } } -//------------------------------------------------------------------ + // // Idle / Online-Spelling // -//------------------------------------------------------------------ + void ScModule::AnythingChanged() { |