summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/browserline.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-30 11:46:15 +0200
committerNoel Grandin <noel@peralex.com>2014-05-02 08:49:22 +0200
commit7ae4102f171c5f0d452fa78c5c17722bc9649fc5 (patch)
tree40ff03aeaabe4adfdd90bdb82cb6ef6b80381795 /extensions/source/propctrlr/browserline.cxx
parent7d2cf383667106efe3e2ea6099fe52206b685c5d (diff)
extensions: sal_Bool->bool
Change-Id: I1730f99c08690138e9aa7aba54304fd7bc51491d
Diffstat (limited to 'extensions/source/propctrlr/browserline.cxx')
-rw-r--r--extensions/source/propctrlr/browserline.cxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/extensions/source/propctrlr/browserline.cxx b/extensions/source/propctrlr/browserline.cxx
index 712372391161..ab72d013db29 100644
--- a/extensions/source/propctrlr/browserline.cxx
+++ b/extensions/source/propctrlr/browserline.cxx
@@ -151,24 +151,24 @@ namespace pcr
}
- sal_Bool OBrowserLine::GrabFocus()
+ bool OBrowserLine::GrabFocus()
{
- sal_Bool bRes=sal_False;
+ bool bRes=false;
if ( m_pControlWindow && m_pControlWindow->IsEnabled() )
{
m_pControlWindow->GrabFocus();
- bRes = sal_True;
+ bRes = true;
}
else if ( m_pAdditionalBrowseButton && m_pAdditionalBrowseButton->IsEnabled() )
{
m_pAdditionalBrowseButton->GrabFocus();
- bRes = sal_True;
+ bRes = true;
}
else if ( m_pBrowseButton && m_pBrowseButton->IsEnabled() )
{
m_pBrowseButton->GrabFocus();
- bRes = sal_True;
+ bRes = true;
}
return bRes;
}
@@ -183,7 +183,7 @@ namespace pcr
}
- void OBrowserLine::Show(sal_Bool bFlag)
+ void OBrowserLine::Show(bool bFlag)
{
m_aFtTitle.Show(bFlag);
if ( m_pControlWindow )
@@ -197,11 +197,11 @@ namespace pcr
void OBrowserLine::Hide()
{
- Show(sal_False);
+ Show(false);
}
- sal_Bool OBrowserLine::IsVisible()
+ bool OBrowserLine::IsVisible()
{
return m_aFtTitle.IsVisible();
}
@@ -415,7 +415,7 @@ namespace pcr
}
- void OBrowserLine::ShowBrowseButton( const OUString& _rImageURL, sal_Bool _bPrimary )
+ void OBrowserLine::ShowBrowseButton( const OUString& _rImageURL, bool _bPrimary )
{
PushButton& rButton( impl_ensureButton( _bPrimary ) );
@@ -427,7 +427,7 @@ namespace pcr
}
- void OBrowserLine::ShowBrowseButton( const Image& _rImage, sal_Bool _bPrimary )
+ void OBrowserLine::ShowBrowseButton( const Image& _rImage, bool _bPrimary )
{
PushButton& rButton( impl_ensureButton( _bPrimary ) );
if ( !!_rImage )
@@ -435,13 +435,13 @@ namespace pcr
}
- void OBrowserLine::ShowBrowseButton( sal_Bool _bPrimary )
+ void OBrowserLine::ShowBrowseButton( bool _bPrimary )
{
impl_ensureButton( _bPrimary );
}
- void OBrowserLine::implHideBrowseButton( sal_Bool _bPrimary, bool _bReLayout )
+ void OBrowserLine::implHideBrowseButton( bool _bPrimary, bool _bReLayout )
{
PushButton*& rpButton = _bPrimary ? m_pBrowseButton : m_pAdditionalBrowseButton;
@@ -457,7 +457,7 @@ namespace pcr
}
- void OBrowserLine::HideBrowseButton( sal_Bool _bPrimary )
+ void OBrowserLine::HideBrowseButton( bool _bPrimary )
{
implHideBrowseButton( _bPrimary, true );
}