diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:20:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:27:27 +0200 |
commit | 2c6840eb95eb925be78f2b5279594ef5c71c2e98 (patch) | |
tree | e51faa80bc33355f2224311f8b7ec0f10ef2da0d /sw/source/uibase/utlui | |
parent | bb34461d280d499d93ef982e9b7391fd791ffa35 (diff) |
loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I5c33d8ed3551d9ad4432824995bfdc3f73cfc5f8
Diffstat (limited to 'sw/source/uibase/utlui')
-rw-r--r-- | sw/source/uibase/utlui/unotools.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/uibase/utlui/unotools.cxx b/sw/source/uibase/utlui/unotools.cxx index e0e3c097075a..c7ce30c7b8bb 100644 --- a/sw/source/uibase/utlui/unotools.cxx +++ b/sw/source/uibase/utlui/unotools.cxx @@ -124,7 +124,7 @@ void SwOneExampleFrame::CreateControl() _xControl->createPeer( xToolkit, xParent ); uno::Reference< awt::XWindow > xWin( _xControl, uno::UNO_QUERY ); - xWin->setVisible(sal_False); + xWin->setVisible(false); Size aWinSize(aTopWindow->GetOutputSizePixel()); xWin->setPosSize( 0, 0, aWinSize.Width(), aWinSize.Height(), awt::PosSize::SIZE ); @@ -214,7 +214,7 @@ IMPL_LINK_TYPED( SwOneExampleFrame, TimeoutHdl, Idle*, pTimer, void ) uno::Any aValue = xPropSet->getPropertyValue("LayoutManager"); aValue >>= xLayoutManager; if ( xLayoutManager.is() ) - xLayoutManager->setVisible( sal_False ); + xLayoutManager->setVisible( false ); } catch (const uno::Exception&) { @@ -377,7 +377,7 @@ IMPL_LINK_TYPED( SwOneExampleFrame, TimeoutHdl, Idle*, pTimer, void ) if(xScrCursor.is()) xScrCursor->screenUp(); - xWin->setVisible( sal_True ); + xWin->setVisible( true ); aTopWindow->Show(); if( xTunnel.is() ) @@ -428,8 +428,8 @@ void SwOneExampleFrame::ClearDocument() } else { - _xCursor->gotoStart(sal_False); - _xCursor->gotoEnd(sal_True); + _xCursor->gotoStart(false); + _xCursor->gotoEnd(true); _xCursor->setString(OUString()); } } |