Kaydet (Commit) 768c7438 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

bool improvements

Change-Id: Iab6343064ad002bd11660aeb8c88c54562109cbc
üst 11bdc1bd
......@@ -178,7 +178,7 @@ public:
void SetChildWindow(sal_uInt16 nId, sal_Bool bVisible, sal_Bool bSetFocus=sal_True);
void ToggleChildWindow(sal_uInt16);
sal_Bool HasChildWindow(sal_uInt16);
bool HasChildWindow(sal_uInt16);
sal_Bool KnowsChildWindow(sal_uInt16);
void ShowChildWindow(sal_uInt16,sal_Bool bVisible=sal_True);
SfxChildWindow* GetChildWindow(sal_uInt16);
......
......@@ -3262,10 +3262,10 @@ void SfxViewFrame::ToggleChildWindow(sal_uInt16 nId)
//--------------------------------------------------------------------
sal_Bool SfxViewFrame::HasChildWindow( sal_uInt16 nId )
bool SfxViewFrame::HasChildWindow( sal_uInt16 nId )
{
SfxWorkWindow* pWork = GetWorkWindow_Impl( nId );
return pWork ? pWork->HasChildWindow_Impl(nId) : sal_False;
return pWork && pWork->HasChildWindow_Impl(nId);
}
//--------------------------------------------------------------------
......
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