Kaydet (Commit) 7f1004ba authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:salbool etc.

Change-Id: I0cd65a88fba241725476a407143e2d4d03961dc5
üst be88e305
......@@ -421,7 +421,7 @@ ScCondFormatDlg::ScCondFormatDlg(SfxBindings* pB, SfxChildWindow* pCW,
vcl::Window* pParent, ScViewData* pViewData,
const ScConditionalFormat* pFormat, const ScRangeList& rRange,
const ScAddress& rPos, condformat::dialog::ScCondFormatDialogType eType,
sal_Bool bManaged)
bool bManaged)
: ScAnyRefDlg(pB, pCW, pParent, "ConditionalFormatDialog",
"modules/scalc/ui/conditionalformatdialog.ui")
, mbManaged(bManaged)
......
......@@ -110,7 +110,7 @@ private:
VclPtr<ScCondFormatList> mpCondFormList;
sal_Int32 maKey;
sal_Bool mbManaged;
bool mbManaged;
ScAddress maPos;
ScViewData* mpViewData;
......@@ -127,7 +127,7 @@ public:
SC_DLLPUBLIC ScCondFormatDlg(SfxBindings* pB, SfxChildWindow* pCW, vcl::Window* pWindow,
ScViewData* pViewData, const ScConditionalFormat* pFormat,
const ScRangeList& rRange, const ScAddress& rPos,
condformat::dialog::ScCondFormatDialogType eType, sal_Bool bManaged);
condformat::dialog::ScCondFormatDialogType eType, bool bManaged);
virtual ~ScCondFormatDlg();
virtual void dispose() SAL_OVERRIDE;
......
......@@ -1935,7 +1935,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
SfxViewFrame* pViewFrm = pTabViewShell->GetViewFrame();
SfxChildWindow* pWnd = pViewFrm->GetChildWindow( nId );
pScMod->SetRefDialog( nId, pWnd ? false : sal_True );
pScMod->SetRefDialog( nId, pWnd == nullptr );
break;
}
......@@ -2057,7 +2057,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
SfxViewFrame* pViewFrm = pTabViewShell->GetViewFrame();
SfxChildWindow* pWnd = pViewFrm->GetChildWindow( nId );
pScMod->SetRefDialog( nId, pWnd ? false : sal_True );
pScMod->SetRefDialog( nId, pWnd == nullptr );
}
}
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment