Kaydet (Commit) b205c115 authored tarafından Noel Grandin's avatar Noel Grandin

sal_Bool->bool

Change-Id: I1cbd59331cd0ff3d76c29d5db8c35b032a7b8176
üst 1d12011d
......@@ -139,14 +139,14 @@ class ScSimpleRefDlgWrapper: public SfxChildWindow
SFX_DECL_CHILDWINDOW_WITHID(Class);
static void SetDefaultPosSize(Point aPos, Size aSize, sal_Bool bSet=sal_True);
static void SetDefaultPosSize(Point aPos, Size aSize, bool bSet = true);
OUString GetRefString();
void SetRefString(const OUString& rStr);
void SetCloseHdl( const Link& rLink );
void SetUnoLinks( const Link& rDone, const Link& rAbort,
const Link& rChange );
void SetFlags( sal_Bool bCloseOnButtonUp, sal_Bool bSingleCell, sal_Bool bMultiSelection );
static void SetAutoReOpen(sal_Bool bFlag);
void SetFlags( bool bCloseOnButtonUp, bool bSingleCell, bool bMultiSelection );
static void SetAutoReOpen(bool bFlag);
void StartRefInput();
};
......
......@@ -129,12 +129,12 @@ IMPL_CHILD_CTOR( ScFormulaDlgWrapper, SID_OPENDLG_FUNCTION )
// ScSimpleRefDlgWrapper
//-------------------------------------------------------------------------
static sal_Bool bScSimpleRefFlag;
static bool bScSimpleRefFlag;
static long nScSimpleRefHeight;
static long nScSimpleRefWidth;
static long nScSimpleRefX;
static long nScSimpleRefY;
static sal_Bool bAutoReOpen=sal_True;
static bool bAutoReOpen = true;
ScSimpleRefDlgWrapper::ScSimpleRefDlgWrapper( Window* pParentP,
sal_uInt16 nId,
......@@ -172,7 +172,7 @@ ScSimpleRefDlgWrapper::ScSimpleRefDlgWrapper( Window* pParentP,
}
}
void ScSimpleRefDlgWrapper::SetDefaultPosSize(Point aPos, Size aSize, sal_Bool bSet)
void ScSimpleRefDlgWrapper::SetDefaultPosSize(Point aPos, Size aSize, bool bSet)
{
bScSimpleRefFlag=bSet;
if(bScSimpleRefFlag)
......@@ -195,7 +195,7 @@ OUString ScSimpleRefDlgWrapper::GetRefString()
return aResult;
}
void ScSimpleRefDlgWrapper::SetAutoReOpen(sal_Bool bFlag)
void ScSimpleRefDlgWrapper::SetAutoReOpen(bool bFlag)
{
bAutoReOpen=bFlag;
}
......@@ -225,7 +225,7 @@ void ScSimpleRefDlgWrapper::SetUnoLinks( const Link& rDone,
}
}
void ScSimpleRefDlgWrapper::SetFlags( sal_Bool bCloseOnButtonUp, sal_Bool bSingleCell, sal_Bool bMultiSelection )
void ScSimpleRefDlgWrapper::SetFlags( bool bCloseOnButtonUp, bool bSingleCell, bool bMultiSelection )
{
if(pWindow!=NULL)
{
......
......@@ -1108,7 +1108,7 @@ IMPL_LINK_NOARG(ScTabViewShell, SimpleRefClose)
SetTabNo( GetViewData()->GetRefTabNo() );
}
ScSimpleRefDlgWrapper::SetAutoReOpen( sal_True );
ScSimpleRefDlgWrapper::SetAutoReOpen( true );
return 0;
}
......
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