summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-19 13:12:56 +0200
committerNoel Grandin <noel@peralex.com>2014-03-24 08:12:08 +0200
commitcafdef8109f11435542f41d336f44771b6ced02e (patch)
treed5fc7656ae5d0fec3f468e4768b5aefecaf6bd6f /include
parent9f12e4a351cdaf7d22bf1699914cd58e3642e808 (diff)
svtools: sal_Bool->bool
Change-Id: I56072620f9ea28833e1590a7fff7d71ed11fc34c
Diffstat (limited to 'include')
-rw-r--r--include/svtools/addresstemplate.hxx2
-rw-r--r--include/svtools/apearcfg.hxx20
-rw-r--r--include/svtools/asynclink.hxx13
3 files changed, 17 insertions, 18 deletions
diff --git a/include/svtools/addresstemplate.hxx b/include/svtools/addresstemplate.hxx
index dc72b9e2f896..68b9ff80c867 100644
--- a/include/svtools/addresstemplate.hxx
+++ b/include/svtools/addresstemplate.hxx
@@ -112,7 +112,7 @@ namespace svt
virtual bool PreNotify( NotifyEvent& _rNEvt );
// implementations
- void implScrollFields(sal_Int32 _nPos, sal_Bool _bAdjustFocus, sal_Bool _bAdjustScrollbar);
+ void implScrollFields(sal_Int32 _nPos, bool _bAdjustFocus, bool _bAdjustScrollbar);
void implSelectField(ListBox* _pBox, const OUString& _rText);
void initalizeListBox(ListBox* _pList);
diff --git a/include/svtools/apearcfg.hxx b/include/svtools/apearcfg.hxx
index 45a8e8fac2f5..f08ec1a19b86 100644
--- a/include/svtools/apearcfg.hxx
+++ b/include/svtools/apearcfg.hxx
@@ -47,12 +47,12 @@ class SVT_DLLPUBLIC SvtTabAppearanceCfg : public utl::ConfigItem
short nAAMinPixelHeight ;
#endif
- sal_Bool bMenuMouseFollow ;
+ bool bMenuMouseFollow ;
#if defined( UNX )
- sal_Bool bFontAntialiasing ;
+ bool bFontAntialiasing ;
#endif
- static sal_Bool bInitialized ;
+ static bool bInitialized ;
SVT_DLLPRIVATE const com::sun::star::uno::Sequence<OUString>& GetPropertyNames();
@@ -76,19 +76,19 @@ public:
void SetApplicationDefaults ( Application* pApp );
- void SetMenuMouseFollow(sal_Bool bSet) {bMenuMouseFollow = bSet; SetModified();}
- sal_Bool IsMenuMouseFollow() const{return bMenuMouseFollow;}
+ void SetMenuMouseFollow(bool bSet) {bMenuMouseFollow = bSet; SetModified();}
+ bool IsMenuMouseFollow() const{return bMenuMouseFollow;}
#if defined( UNX )
- void SetFontAntiAliasing( sal_Bool bSet ) { bFontAntialiasing = bSet; SetModified(); }
- sal_Bool IsFontAntiAliasing() const { return bFontAntialiasing; }
+ void SetFontAntiAliasing( bool bSet ) { bFontAntialiasing = bSet; SetModified(); }
+ bool IsFontAntiAliasing() const { return bFontAntialiasing; }
- sal_uInt16 GetFontAntialiasingMinPixelHeight( ) const { return nAAMinPixelHeight; }
+ sal_uInt16 GetFontAntialiasingMinPixelHeight( ) const { return nAAMinPixelHeight; }
void SetFontAntialiasingMinPixelHeight( sal_uInt16 _nMinHeight ) { nAAMinPixelHeight = _nMinHeight; SetModified(); }
#endif
- static sal_Bool IsInitialized() { return bInitialized; }
- static void SetInitialized() { bInitialized = sal_True; }
+ static bool IsInitialized() { return bInitialized; }
+ static void SetInitialized() { bInitialized = true; }
};
#endif // _OFA_APEARCFG_HXX
diff --git a/include/svtools/asynclink.hxx b/include/svtools/asynclink.hxx
index 1428cd564133..55a156e37014 100644
--- a/include/svtools/asynclink.hxx
+++ b/include/svtools/asynclink.hxx
@@ -34,8 +34,8 @@ class SVT_DLLPUBLIC AsynchronLink
Link _aLink;
sal_uLong _nEventId;
Timer* _pTimer;
- sal_Bool _bInCall;
- sal_Bool* _pDeleted;
+ bool _bInCall;
+ bool* _pDeleted;
void* _pArg;
::osl::Mutex* _pMutex;
@@ -47,7 +47,7 @@ public:
: _aLink( rLink )
, _nEventId( 0 )
, _pTimer( 0 )
- , _bInCall( sal_False )
+ , _bInCall( false )
, _pDeleted( 0 )
, _pArg( 0 )
, _pMutex( 0 )
@@ -55,7 +55,7 @@ public:
AsynchronLink()
: _nEventId( 0 )
, _pTimer( 0 )
- , _bInCall( sal_False )
+ , _bInCall( false )
, _pDeleted( 0 )
, _pArg( 0 )
, _pMutex( 0 )
@@ -64,10 +64,9 @@ public:
void CreateMutex();
void operator=( const Link& rLink ) { _aLink = rLink; }
- void Call( void* pObj, sal_Bool bAllowDoubles = sal_False,
- sal_Bool bUseTimer = sal_False );
+ void Call( void* pObj, bool bAllowDoubles = false, bool bUseTimer = false );
void ClearPendingCall( );
- sal_Bool IsSet() const { return _aLink.IsSet(); }
+ bool IsSet() const { return _aLink.IsSet(); }
Link GetLink() const { return _aLink; }
};