summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-04-25 15:00:54 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-04-26 09:28:38 +0900
commit9d97a2af7cd4d51fbf4dc3027f82cb6c7fc8328d (patch)
treebf87fbc10acafa39f0bcac587de4a6d10eaf7fdd /include
parent52b618e196f25c9b4c8a20064e2c97e6d5c82368 (diff)
sal_Bool to bool
Change-Id: I7dcb2dcef78c67d90ff2dea58c1374bd17ac58af
Diffstat (limited to 'include')
-rw-r--r--include/svl/documentlockfile.hxx10
-rw-r--r--include/svl/nranges.hxx6
2 files changed, 8 insertions, 8 deletions
diff --git a/include/svl/documentlockfile.hxx b/include/svl/documentlockfile.hxx
index 437b59fbf127..ec741da2f6bc 100644
--- a/include/svl/documentlockfile.hxx
+++ b/include/svl/documentlockfile.hxx
@@ -35,7 +35,7 @@ namespace svt {
class SVL_DLLPUBLIC DocumentLockFile : public LockFileCommon
{
// the workaround for automated testing!
- static sal_Bool m_bAllowInteraction;
+ static bool m_bAllowInteraction;
::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > OpenStream();
@@ -45,15 +45,15 @@ public:
DocumentLockFile( const OUString& aOrigURL );
~DocumentLockFile();
- sal_Bool CreateOwnLockFile();
+ bool CreateOwnLockFile();
::com::sun::star::uno::Sequence< OUString > GetLockData();
- sal_Bool OverwriteOwnLockFile();
+ bool OverwriteOwnLockFile();
void RemoveFile();
// the methods allow to control whether UI interaction regarding the locked document file is allowed
// this is a workaround for automated tests
- static void AllowInteraction( sal_Bool bAllow ) { m_bAllowInteraction = bAllow; }
- static sal_Bool IsInteractionAllowed() { return m_bAllowInteraction; }
+ static void AllowInteraction( bool bAllow ) { m_bAllowInteraction = bAllow; }
+ static bool IsInteractionAllowed() { return m_bAllowInteraction; }
};
}
diff --git a/include/svl/nranges.hxx b/include/svl/nranges.hxx
index 364bf59a44f2..993b35e28ea8 100644
--- a/include/svl/nranges.hxx
+++ b/include/svl/nranges.hxx
@@ -42,8 +42,8 @@ public:
~SfxUShortRanges()
{ delete [] _pRanges; }
- sal_Bool operator == ( const SfxUShortRanges & ) const;
- sal_Bool operator != ( const SfxUShortRanges & rRanges ) const
+ bool operator == ( const SfxUShortRanges & ) const;
+ bool operator != ( const SfxUShortRanges & rRanges ) const
{ return !( *this == rRanges ); }
SfxUShortRanges& operator = ( const SfxUShortRanges & );
@@ -53,7 +53,7 @@ public:
SfxUShortRanges& operator /= ( const SfxUShortRanges & );
sal_uInt16 Count() const;
- sal_Bool IsEmpty() const
+ bool IsEmpty() const
{ return !_pRanges || 0 == *_pRanges; }
operator const sal_uInt16* () const