diff options
Diffstat (limited to 'sc/source/ui/view/tabvwshc.cxx')
-rw-r--r-- | sc/source/ui/view/tabvwshc.cxx | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/sc/source/ui/view/tabvwshc.cxx b/sc/source/ui/view/tabvwshc.cxx index 7d1cbb05761b..ace1aae4df97 100644 --- a/sc/source/ui/view/tabvwshc.cxx +++ b/sc/source/ui/view/tabvwshc.cxx @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -74,8 +74,8 @@ void ScTabViewShell::SetCurRefDlgId( USHORT nNew ) { - // CurRefDlgId is stored in ScModule to find if a ref dialog is open, - // and in the view to identify the view that has opened the dialog + // CurRefDlgId is stored in ScModule to find if a ref dialog is open, + // and in the view to identify the view that has opened the dialog nCurRefDlgId = nNew; } @@ -83,18 +83,18 @@ SfxModelessDialog* ScTabViewShell::CreateRefDialog( SfxBindings* pB, SfxChildWindow* pCW, SfxChildWinInfo* pInfo, Window* pParent, USHORT nSlotId ) { - // Dialog nur aufmachen, wenn ueber ScModule::SetRefDialog gerufen, damit - // z.B. nach einem Absturz offene Ref-Dialoge nicht wiederkommen (#42341#). + // Dialog nur aufmachen, wenn ueber ScModule::SetRefDialog gerufen, damit + // z.B. nach einem Absturz offene Ref-Dialoge nicht wiederkommen (#42341#). if ( SC_MOD()->GetCurRefDlgId() != nSlotId ) return NULL; if ( nCurRefDlgId != nSlotId ) { - // the dialog has been opened in a different view - // -> lock the dispatcher for this view (modal mode) + // the dialog has been opened in a different view + // -> lock the dispatcher for this view (modal mode) - GetViewData()->GetDispatcher().Lock( TRUE ); // lock is reset when closing dialog + GetViewData()->GetDispatcher().Lock( TRUE ); // lock is reset when closing dialog return NULL; } @@ -129,13 +129,13 @@ SfxModelessDialog* ScTabViewShell::CreateRefDialog( if ( !pDlgData ) { - ScConsolidateParam aConsParam; + ScConsolidateParam aConsParam; SCCOL nStartCol, nEndCol; SCROW nStartRow, nEndRow; SCTAB nStartTab, nEndTab; GetViewData()->GetSimpleArea( nStartCol, nStartRow, nStartTab, - nEndCol, nEndRow, nEndTab ); + nEndCol, nEndRow, nEndTab ); PutInOrder( nStartCol, nEndCol ); PutInOrder( nStartRow, nEndRow ); @@ -158,7 +158,7 @@ SfxModelessDialog* ScTabViewShell::CreateRefDialog( case SID_DEFINE_DBNAME: { - // wenn auf einem bestehenden Bereich aufgerufen, den markieren + // wenn auf einem bestehenden Bereich aufgerufen, den markieren GetDBData( TRUE, SC_DB_OLD ); const ScMarkData& rMark = GetViewData()->GetMarkData(); if ( !rMark.IsMarked() && !rMark.IsMultiMarked() ) @@ -170,8 +170,8 @@ SfxModelessDialog* ScTabViewShell::CreateRefDialog( case SID_SPECIAL_FILTER: { - ScQueryParam aQueryParam; - SfxItemSet aArgSet( GetPool(), + ScQueryParam aQueryParam; + SfxItemSet aArgSet( GetPool(), SCITEM_QUERYDATA, SCITEM_QUERYDATA ); @@ -195,8 +195,8 @@ SfxModelessDialog* ScTabViewShell::CreateRefDialog( case SID_FILTER: { - ScQueryParam aQueryParam; - SfxItemSet aArgSet( GetPool(), + ScQueryParam aQueryParam; + SfxItemSet aArgSet( GetPool(), SCITEM_QUERYDATA, SCITEM_QUERYDATA ); @@ -216,8 +216,8 @@ SfxModelessDialog* ScTabViewShell::CreateRefDialog( case SID_OPENDLG_TABOP: { - ScViewData* pViewData = GetViewData(); - ScRefAddress aCurPos ( pViewData->GetCurX(), + ScViewData* pViewData = GetViewData(); + ScRefAddress aCurPos ( pViewData->GetCurX(), pViewData->GetCurY(), pViewData->GetTabNo(), FALSE, FALSE, FALSE ); @@ -228,7 +228,7 @@ SfxModelessDialog* ScTabViewShell::CreateRefDialog( case SID_OPENDLG_SOLVE: { - ScViewData* pViewData = GetViewData(); + ScViewData* pViewData = GetViewData(); ScAddress aCurPos( pViewData->GetCurX(), pViewData->GetCurY(), pViewData->GetTabNo()); @@ -246,7 +246,7 @@ SfxModelessDialog* ScTabViewShell::CreateRefDialog( case SID_OPENDLG_PIVOTTABLE: { - // all settings must be in pDialogDPObject + // all settings must be in pDialogDPObject if( pDialogDPObject ) { @@ -279,7 +279,7 @@ SfxModelessDialog* ScTabViewShell::CreateRefDialog( case SID_OPENDLG_FUNCTION: { - // Dialog schaut selber, was in der Zelle steht + // Dialog schaut selber, was in der Zelle steht pResult = new ScFormulaDlg( pB, pCW, pParent, GetViewData(),ScGlobal::GetStarCalcFunctionMgr() ); } @@ -287,7 +287,7 @@ SfxModelessDialog* ScTabViewShell::CreateRefDialog( case FID_CHG_SHOW: { - // Dialog schaut selber, was in der Zelle steht + // Dialog schaut selber, was in der Zelle steht pResult = new ScHighlightChgDlg( pB, pCW, pParent, GetViewData() ); } @@ -295,7 +295,7 @@ SfxModelessDialog* ScTabViewShell::CreateRefDialog( case WID_SIMPLE_REF: { - // Dialog schaut selber, was in der Zelle steht + // Dialog schaut selber, was in der Zelle steht ScViewData* pViewData = GetViewData(); pViewData->SetRefTabNo( pViewData->GetTabNo() ); @@ -311,9 +311,9 @@ SfxModelessDialog* ScTabViewShell::CreateRefDialog( if (pResult) { - // Die Dialoge gehen immer mit eingeklapptem Zusaetze-Button auf, - // darum muss die Groesse ueber das Initialize gerettet werden - // (oder den Zusaetze-Status mit speichern !!!) + // Die Dialoge gehen immer mit eingeklapptem Zusaetze-Button auf, + // darum muss die Groesse ueber das Initialize gerettet werden + // (oder den Zusaetze-Status mit speichern !!!) Size aSize = pResult->GetSizePixel(); pResult->Initialize( pInfo ); |