add the remaining parts to previous commit
Change-Id: Ia0b9ed9eed30991f38234bf56c49b26392491f30
This commit is contained in:
parent
985e7e4f50
commit
9edb6ba992
1 changed files with 2 additions and 2 deletions
|
@ -2061,11 +2061,11 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
|
|||
const ScConditionalFormat* pCondFormat = pDoc->GetCondFormat(aPos.Col(), aPos.Row(), aPos.Tab());
|
||||
if(pCondFormat)
|
||||
{
|
||||
pDlg = pFact->CreateScCondFormatDlg( pTabViewShell->GetDialogParent(), pDoc, pCondFormat, pCondFormat->GetRange(), aPos, RID_SCDLG_CONDFORMAT );
|
||||
pDlg = pFact->CreateScCondFormatDlg( pTabViewShell->GetDialogParent(), pDoc, pCondFormat, pCondFormat->GetRange(), pCondFormat->GetRange().GetTopLeftCorner(), RID_SCDLG_CONDFORMAT );
|
||||
}
|
||||
else
|
||||
{
|
||||
pDlg = pFact->CreateScCondFormatDlg( pTabViewShell->GetDialogParent(), pDoc, NULL, aRangeList, aPos, RID_SCDLG_CONDFORMAT );
|
||||
pDlg = pFact->CreateScCondFormatDlg( pTabViewShell->GetDialogParent(), pDoc, NULL, aRangeList, aRangeList.GetTopLeftCorner(), RID_SCDLG_CONDFORMAT );
|
||||
}
|
||||
|
||||
if(pDlg->Execute() == RET_OK)
|
||||
|
|
Loading…
Reference in a new issue