diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-26 13:25:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-27 13:45:09 +0200 |
commit | ffca95023020a24eaff4ece1d4c7bedd469bfb78 (patch) | |
tree | 301269f53d41a33798965e21197508d20633eb9b /sfx2/source/dialog | |
parent | 75ebd3bdf3ffcfd088f6dead6657b5a4244f2317 (diff) |
sfx2/childwin.hxx: sal_Bool->bool
Change-Id: I4fe18964a3178c797ce6e1fe259ec230c2de6eb7
Diffstat (limited to 'sfx2/source/dialog')
-rw-r--r-- | sfx2/source/dialog/dockwin.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/dialog/partwnd.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/dialog/recfloat.cxx | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/dialog/dockwin.cxx b/sfx2/source/dialog/dockwin.cxx index bc42133cc972..54a7fdb01dcc 100644 --- a/sfx2/source/dialog/dockwin.cxx +++ b/sfx2/source/dialog/dockwin.cxx @@ -211,7 +211,7 @@ SfxDockingWrapper::SfxDockingWrapper( Window* pParentWnd , pWindow->SetOutputSizePixel( Size( 270, 240 ) ); ( ( SfxDockingWindow* ) pWindow )->Initialize( pInfo ); - SetHideNotDelete( sal_True ); + SetHideNotDelete( true ); } SfxChildWindow* SfxDockingWrapper::CreateImpl( diff --git a/sfx2/source/dialog/partwnd.cxx b/sfx2/source/dialog/partwnd.cxx index 591a9598f6fc..27baa2b75946 100644 --- a/sfx2/source/dialog/partwnd.cxx +++ b/sfx2/source/dialog/partwnd.cxx @@ -69,7 +69,7 @@ SfxPartChildWnd_Impl::SfxPartChildWnd_Impl pWindow->SetSizePixel( Size( 175, 175 ) ); ( ( SfxDockingWindow* ) pWindow )->Initialize( pInfo ); - SetHideNotDelete( sal_True ); + SetHideNotDelete( true ); } SfxPartChildWnd_Impl::~SfxPartChildWnd_Impl() @@ -88,7 +88,7 @@ SfxPartChildWnd_Impl::~SfxPartChildWnd_Impl() pWin->GetBindings().SetActiveFrame( NULL ); } -sal_Bool SfxPartChildWnd_Impl::QueryClose() +bool SfxPartChildWnd_Impl::QueryClose() { return ( (SfxPartDockWnd_Impl*)pWindow )->QueryClose(); } diff --git a/sfx2/source/dialog/recfloat.cxx b/sfx2/source/dialog/recfloat.cxx index a9d91171ac6e..1f925990ecd5 100644 --- a/sfx2/source/dialog/recfloat.cxx +++ b/sfx2/source/dialog/recfloat.cxx @@ -132,7 +132,7 @@ SfxRecordingFloatWrapper_Impl::SfxRecordingFloatWrapper_Impl( Window* pParentWnd , pBindings( pBind ) { pWindow = new SfxRecordingFloat_Impl( pBindings, this, pParentWnd ); - SetWantsFocus( sal_False ); + SetWantsFocus( false ); eChildAlignment = SFX_ALIGN_NOALIGNMENT; ( ( SfxFloatingWindow* ) pWindow )->Initialize( pInfo ); } @@ -145,10 +145,10 @@ SfxRecordingFloatWrapper_Impl::~SfxRecordingFloatWrapper_Impl() pBindings->GetDispatcher()->Execute( SID_STOP_RECORDING, SFX_CALLMODE_SYNCHRON, &aItem, 0L ); } -sal_Bool SfxRecordingFloatWrapper_Impl::QueryClose() +bool SfxRecordingFloatWrapper_Impl::QueryClose() { // asking for recorded macro should be replaced if index access is available! - sal_Bool bRet = sal_True; + bool bRet = true; com::sun::star::uno::Reference< com::sun::star::frame::XDispatchRecorder > xRecorder = pBindings->GetRecorder(); if ( xRecorder.is() && !xRecorder->getRecordedMacro().isEmpty() ) { |