diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-19 12:30:34 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-19 12:47:07 +0100 |
commit | 973b47a336b239cc92f1789013d28e5bd55f859f (patch) | |
tree | 6481f2803208409896aecf6745239cf07953baab /unotools/source/config/useroptions.cxx | |
parent | 9ad3fc29dd98167c35fcb599da0b4e764ddf04dd (diff) |
unotools: sal_Bool -> bool
Change-Id: I8051c0756e0474a5b4f748e0aa15a9922e82ea97
Diffstat (limited to 'unotools/source/config/useroptions.cxx')
-rw-r--r-- | unotools/source/config/useroptions.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unotools/source/config/useroptions.cxx b/unotools/source/config/useroptions.cxx index 7c140bca3aaf..5f17b08f4e99 100644 --- a/unotools/source/config/useroptions.cxx +++ b/unotools/source/config/useroptions.cxx @@ -94,7 +94,7 @@ public: OUString GetFullName () const; - sal_Bool IsTokenReadonly (sal_uInt16 nToken) const; + bool IsTokenReadonly (sal_uInt16 nToken) const; OUString GetToken (sal_uInt16 nToken) const; void SetToken (sal_uInt16 nToken, OUString const& rNewToken); void Notify (); @@ -208,7 +208,7 @@ void SvtUserOptions::Impl::Notify () NotifyListeners(0); } -sal_Bool SvtUserOptions::Impl::IsTokenReadonly (sal_uInt16 nToken) const +bool SvtUserOptions::Impl::IsTokenReadonly (sal_uInt16 nToken) const { if (nToken < nOptionNameCount) { @@ -221,7 +221,7 @@ sal_Bool SvtUserOptions::Impl::IsTokenReadonly (sal_uInt16 nToken) const else { SAL_WARN("unotools.config", "SvtUserOptions::Impl::IsTokenReadonly(): invalid token"); - return sal_False; + return false; } } @@ -278,7 +278,7 @@ OUString SvtUserOptions::GetCustomerNumber () const { return GetToken(USER_OPT_C void SvtUserOptions::SetCustomerNumber (OUString const& sToken) { SetToken(USER_OPT_CUSTOMERNUMBER, sToken); } -sal_Bool SvtUserOptions::IsTokenReadonly (sal_uInt16 nToken) const +bool SvtUserOptions::IsTokenReadonly (sal_uInt16 nToken) const { osl::MutexGuard aGuard(GetInitMutex()); return pImpl->IsTokenReadonly(nToken); |