diff options
author | Mikhail Voytenko <mav@openoffice.org> | 2011-01-12 11:34:50 +0100 |
---|---|---|
committer | Mikhail Voytenko <mav@openoffice.org> | 2011-01-12 11:34:50 +0100 |
commit | 2b42b8533640fc34709c8d702d0b0448489ed73f (patch) | |
tree | f93556e25d37f17854c841ad112231f4864e5acf /automation/source/server/editwin.cxx | |
parent | e7ee592b13a604da92164d008a3941ef8329f16e (diff) |
removetooltypes01: #i112600# remove tooltypes from automation
Diffstat (limited to 'automation/source/server/editwin.cxx')
-rw-r--r-- | automation/source/server/editwin.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/automation/source/server/editwin.cxx b/automation/source/server/editwin.cxx index 0bcb35a8b306..b1897152a337 100644 --- a/automation/source/server/editwin.cxx +++ b/automation/source/server/editwin.cxx @@ -62,14 +62,14 @@ void ImpWorkWindow::Resize() m_aInhalt.SetPosSizePixel( Point(), GetOutputSizePixel() ); } -BOOL EditWindow::Close() +sal_Bool EditWindow::Close() { if ( pImpWorkWindow ) { delete pImpWorkWindow; pImpWorkWindow = NULL; } - return TRUE; + return sal_True; } void EditWindow::Show() @@ -77,7 +77,7 @@ void EditWindow::Show() if ( Check() ) pImpWorkWindow->Show(); else - bShowWin = TRUE; + bShowWin = sal_True; } void EditWindow::Hide() @@ -85,7 +85,7 @@ void EditWindow::Hide() if ( Check() ) pImpWorkWindow->Hide(); else - bShowWin = FALSE; + bShowWin = sal_False; } EditWindow::EditWindow( WorkWindow *pParent, const String &rName, WinBits iWstyle ) @@ -94,7 +94,7 @@ EditWindow::EditWindow( WorkWindow *pParent, const String &rName, WinBits iWstyl , aMemName(rName) , iMemWstyle(iWstyle) , nTextLen(0) -, bQuiet(FALSE) +, bQuiet(sal_False) { } @@ -103,7 +103,7 @@ EditWindow::~EditWindow() Close(); } -BOOL EditWindow::Check() +sal_Bool EditWindow::Check() { if ( ! pImpWorkWindow && Application::IsInExecute() ) { @@ -113,7 +113,7 @@ BOOL EditWindow::Check() aMemPreWinText.Erase(); if ( bShowWin ) pImpWorkWindow->Show(); - return TRUE; + return sal_True; } return pImpWorkWindow != NULL; } |