diff options
Diffstat (limited to 'sc/source/ui/view/reffact.cxx')
-rw-r--r-- | sc/source/ui/view/reffact.cxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sc/source/ui/view/reffact.cxx b/sc/source/ui/view/reffact.cxx index 58be3b960b54..683cd3a52848 100644 --- a/sc/source/ui/view/reffact.cxx +++ b/sc/source/ui/view/reffact.cxx @@ -91,7 +91,7 @@ namespace { ScTabViewShell * lcl_GetTabViewShell( SfxBindings *pBindings ); } #define IMPL_CHILD_CTOR(Class,sid) \ Class::Class( Window* pParentP, \ - USHORT nId, \ + sal_uInt16 nId, \ SfxBindings* p, \ SfxChildWinInfo* pInfo ) \ : SfxChildWindow(pParentP, nId) \ @@ -109,7 +109,7 @@ namespace { ScTabViewShell * lcl_GetTabViewShell( SfxBindings *pBindings ); } pWindow = pViewShell ? \ pViewShell->CreateRefDialog( p, this, pInfo, pParentP, sid ) : NULL; \ if (pViewShell && !pWindow) \ - pViewShell->GetViewFrame()->SetChildWindow( nId, FALSE ); \ + pViewShell->GetViewFrame()->SetChildWindow( nId, false ); \ } @@ -198,15 +198,15 @@ IMPL_CHILD_CTOR( ScFormulaDlgWrapper, SID_OPENDLG_FUNCTION ) // ScSimpleRefDlgWrapper //------------------------------------------------------------------------- -static BOOL bScSimpleRefFlag; +static sal_Bool bScSimpleRefFlag; static long nScSimpleRefHeight; static long nScSimpleRefWidth; static long nScSimpleRefX; static long nScSimpleRefY; -static BOOL bAutoReOpen=TRUE; +static sal_Bool bAutoReOpen=sal_True; ScSimpleRefDlgWrapper::ScSimpleRefDlgWrapper( Window* pParentP, - USHORT nId, + sal_uInt16 nId, SfxBindings* p, SfxChildWinInfo* pInfo ) : SfxChildWindow(pParentP, nId) @@ -237,11 +237,11 @@ ScSimpleRefDlgWrapper::ScSimpleRefDlgWrapper( Window* pParentP, if (!pWindow) { - SC_MOD()->SetRefDialog( nId, FALSE ); + SC_MOD()->SetRefDialog( nId, false ); } } -void ScSimpleRefDlgWrapper::SetDefaultPosSize(Point aPos, Size aSize, BOOL bSet) +void ScSimpleRefDlgWrapper::SetDefaultPosSize(Point aPos, Size aSize, sal_Bool bSet) { bScSimpleRefFlag=bSet; if(bScSimpleRefFlag) @@ -264,7 +264,7 @@ String ScSimpleRefDlgWrapper::GetRefString() return aResult; } -void ScSimpleRefDlgWrapper::SetAutoReOpen(BOOL bFlag) +void ScSimpleRefDlgWrapper::SetAutoReOpen(sal_Bool bFlag) { bAutoReOpen=bFlag; } @@ -294,7 +294,7 @@ void ScSimpleRefDlgWrapper::SetUnoLinks( const Link& rDone, } } -void ScSimpleRefDlgWrapper::SetFlags( BOOL bCloseOnButtonUp, BOOL bSingleCell, BOOL bMultiSelection ) +void ScSimpleRefDlgWrapper::SetFlags( sal_Bool bCloseOnButtonUp, sal_Bool bSingleCell, sal_Bool bMultiSelection ) { if(pWindow!=NULL) { @@ -317,7 +317,7 @@ void ScSimpleRefDlgWrapper::StartRefInput() //------------------------------------------------------------------------- ScAcceptChgDlgWrapper::ScAcceptChgDlgWrapper( Window* pParentP, - USHORT nId, + sal_uInt16 nId, SfxBindings* pBindings, SfxChildWinInfo* pInfo ) : SfxChildWindow( pParentP, nId ) @@ -333,7 +333,7 @@ ScAcceptChgDlgWrapper::ScAcceptChgDlgWrapper( Window* pParentP, ((ScAcceptChgDlg*)pWindow)->Initialize( pInfo ); } if (pViewShell && !pWindow) - pViewShell->GetViewFrame()->SetChildWindow( nId, FALSE ); + pViewShell->GetViewFrame()->SetChildWindow( nId, false ); } void ScAcceptChgDlgWrapper::ReInitDlg() @@ -370,7 +370,7 @@ namespace } ScValidityRefChildWin::ScValidityRefChildWin( Window* pParentP, \ - USHORT nId, \ + sal_uInt16 nId, \ SfxBindings* p, \ SfxChildWinInfo* /*pInfo*/ ) \ : SfxChildWindow(pParentP, nId), @@ -378,7 +378,7 @@ ScValidityRefChildWin::ScValidityRefChildWin( Window* pParentP, m_bFreeWindowLock( false ), m_pSavedWndParent( NULL ) { - SetWantsFocus( FALSE );\ + SetWantsFocus( false );\ ScTabViewShell* pViewShell = \ NULL != ( pWindow = ScValidationDlg::Find1AliveObject( pParentP ) ) ? static_cast<ScValidationDlg*>(pWindow)->GetTabViewShell() : lcl_GetTabViewShell( p ); @@ -386,7 +386,7 @@ ScValidityRefChildWin::ScValidityRefChildWin( Window* pParentP, pViewShell = PTR_CAST( ScTabViewShell, SfxViewShell::Current() ); DBG_ASSERT( pViewShell, "missing view shell :-(" ); \ if (pViewShell && !pWindow) \ - pViewShell->GetViewFrame()->SetChildWindow( nId, FALSE ); \ + pViewShell->GetViewFrame()->SetChildWindow( nId, false ); \ if( pWindow ) m_pSavedWndParent = pWindow->GetParent(); } |