diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
commit | e8f8f24c8415898c787bbfb629247ed62e73a2b9 (patch) | |
tree | dae18a3acbf29c192118e7c003f80df8da8e21ae /toolkit/source/awt/vclxwindow.cxx | |
parent | 1c8402465cfd4df862409dc310f5f099d044c4d8 (diff) |
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
Diffstat (limited to 'toolkit/source/awt/vclxwindow.cxx')
-rw-r--r-- | toolkit/source/awt/vclxwindow.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index fa29d4fb82ae..a8b8981bed99 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -1065,7 +1065,7 @@ void VCLXWindow::addWindowListener( const ::com::sun::star::uno::Reference< ::co // #100119# Get all resize events, even if height or width 0, or invisible if ( GetWindow() ) - GetWindow()->EnableAllResize( sal_True ); + GetWindow()->EnableAllResize( true ); } void VCLXWindow::removeWindowListener( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowListener >& rxListener ) throw(::com::sun::star::uno::RuntimeException) @@ -1627,7 +1627,7 @@ void VCLXWindow::setProperty( const OUString& PropertyName, const ::com::sun::st // support transparency only for special controls pWindow->SetBackground(); pWindow->SetControlBackground(); - pWindow->SetPaintTransparent( sal_True ); + pWindow->SetPaintTransparent( true ); break; } @@ -1660,7 +1660,7 @@ void VCLXWindow::setProperty( const OUString& PropertyName, const ::com::sun::st case WINDOW_RADIOBUTTON: case WINDOW_GROUPBOX: case WINDOW_FIXEDLINE: - pWindow->SetPaintTransparent( sal_False ); + pWindow->SetPaintTransparent( false ); default: ; } pWindow->Invalidate(); // Invalidate if control does not respond to it @@ -1862,7 +1862,7 @@ void VCLXWindow::setProperty( const OUString& PropertyName, const ::com::sun::st break; case BASEPROPERTY_AUTOMNEMONICS: { - sal_Bool bAutoMnemonics = false; + bool bAutoMnemonics = false; Value >>= bAutoMnemonics; AllSettings aSettings = pWindow->GetSettings(); StyleSettings aStyleSettings = aSettings.GetStyleSettings(); @@ -2314,9 +2314,9 @@ void VCLXWindow::draw( sal_Int32 nX, sal_Int32 nY ) throw(::com::sun::star::uno: pWindow->Show(); pWindow->Update(); - pWindow->SetParentUpdateMode( sal_False ); + pWindow->SetParentUpdateMode( false ); pWindow->Hide(); - pWindow->SetParentUpdateMode( sal_True ); + pWindow->SetParentUpdateMode( true ); pWindow->SetPosPixel( aOldPos ); if ( bWasVisible ) @@ -2341,10 +2341,10 @@ void VCLXWindow::draw( sal_Int32 nX, sal_Int32 nY ) throw(::com::sun::star::uno: { sal_Bool bOldNW =pWindow->IsNativeWidgetEnabled(); if( bOldNW ) - pWindow->EnableNativeWidget(sal_False); + pWindow->EnableNativeWidget(false); pWindow->PaintToDevice( pDev, aP, aSz ); if( bOldNW ) - pWindow->EnableNativeWidget(sal_True); + pWindow->EnableNativeWidget(true); } } } |