summaryrefslogtreecommitdiff
path: root/include/linguistic/lngprophelp.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-31 14:35:18 +0200
committerNoel Grandin <noel@peralex.com>2014-04-01 07:38:08 +0200
commitcb66ea3604ea441ddd03df706bb30e6063fb9a52 (patch)
tree6bda45549881a9456da3141f832f63378d7b4b35 /include/linguistic/lngprophelp.hxx
parent95d7ebd22dd20da5a7a26000494b553944fc23ee (diff)
linguistic: sal_Bool->bool
Change-Id: Ie2366b25a1f81a5b25142e8b9a727bcc2f585c14
Diffstat (limited to 'include/linguistic/lngprophelp.hxx')
-rw-r--r--include/linguistic/lngprophelp.hxx48
1 files changed, 24 insertions, 24 deletions
diff --git a/include/linguistic/lngprophelp.hxx b/include/linguistic/lngprophelp.hxx
index 05e8d9d87e76..e0fb2aac1a87 100644
--- a/include/linguistic/lngprophelp.hxx
+++ b/include/linguistic/lngprophelp.hxx
@@ -68,12 +68,12 @@ class PropertyChgHelper :
int nEvtFlags; // flags for event types allowed to be launched
// default values
- sal_Bool bIsIgnoreControlCharacters;
- sal_Bool bIsUseDictionaryList;
+ bool bIsIgnoreControlCharacters;
+ bool bIsUseDictionaryList;
// return values, will be set to default value or current temporary value
- sal_Bool bResIsIgnoreControlCharacters;
- sal_Bool bResIsUseDictionaryList;
+ bool bResIsIgnoreControlCharacters;
+ bool bResIsUseDictionaryList;
// disallow use of copy-constructor and assignment-operator
@@ -92,7 +92,7 @@ protected:
void AddPropNames( const char *pNewNames[], sal_Int32 nCount );
- virtual sal_Bool propertyChange_Impl(
+ virtual bool propertyChange_Impl(
const ::com::sun::star::beans::PropertyChangeEvent& rEvt );
public:
@@ -143,8 +143,8 @@ public:
::com::sun::star::uno::XInterface > &
GetEvtObj() const { return xMyEvtObj; }
- sal_Bool IsIgnoreControlCharacters() const { return bResIsIgnoreControlCharacters; }
- sal_Bool IsUseDictionaryList() const { return bResIsUseDictionaryList; }
+ bool IsIgnoreControlCharacters() const { return bResIsIgnoreControlCharacters; }
+ bool IsUseDictionaryList() const { return bResIsUseDictionaryList; }
};
@@ -195,15 +195,15 @@ class LNG_DLLPUBLIC PropertyHelper_Spell :
public PropertyChgHelper
{
// default values
- sal_Bool bIsSpellUpperCase;
- sal_Bool bIsSpellWithDigits;
- sal_Bool bIsSpellCapitalization;
+ bool bIsSpellUpperCase;
+ bool bIsSpellWithDigits;
+ bool bIsSpellCapitalization;
// return values, will be set to default value or current temporary value
sal_Int16 nResMaxNumberOfSuggestions; // special value that is not part of the property set and thus needs to be handled differently
- sal_Bool bResIsSpellUpperCase;
- sal_Bool bResIsSpellWithDigits;
- sal_Bool bResIsSpellCapitalization;
+ bool bResIsSpellUpperCase;
+ bool bResIsSpellWithDigits;
+ bool bResIsSpellCapitalization;
// disallow use of copy-constructor and assignment-operator
@@ -214,7 +214,7 @@ protected:
// PropertyChgHelper
virtual void SetDefaultValues() SAL_OVERRIDE;
virtual void GetCurrentValues() SAL_OVERRIDE;
- virtual sal_Bool propertyChange_Impl(
+ virtual bool propertyChange_Impl(
const ::com::sun::star::beans::PropertyChangeEvent& rEvt ) SAL_OVERRIDE;
public:
@@ -235,9 +235,9 @@ public:
virtual sal_Int16 GetDefaultNumberOfSuggestions() const;
sal_Int16 GetMaxNumberOfSuggestions() const { return nResMaxNumberOfSuggestions; }
- sal_Bool IsSpellUpperCase() const { return bResIsSpellUpperCase; }
- sal_Bool IsSpellWithDigits() const { return bResIsSpellWithDigits; }
- sal_Bool IsSpellCapitalization() const { return bResIsSpellCapitalization; }
+ bool IsSpellUpperCase() const { return bResIsSpellUpperCase; }
+ bool IsSpellWithDigits() const { return bResIsSpellWithDigits; }
+ bool IsSpellCapitalization() const { return bResIsSpellCapitalization; }
};
@@ -260,15 +260,15 @@ public:
void AddAsPropListener();
void RemoveAsPropListener();
- void SetTmpPropVals( const com::sun::star::beans::PropertyValues &rPropVals );
- sal_Bool IsSpellUpperCase() const;
- sal_Bool IsSpellWithDigits() const;
- sal_Bool IsSpellCapitalization() const;
- sal_Bool addLinguServiceEventListener(
+ void SetTmpPropVals( const com::sun::star::beans::PropertyValues &rPropVals );
+ bool IsSpellUpperCase() const;
+ bool IsSpellWithDigits() const;
+ bool IsSpellCapitalization() const;
+ bool addLinguServiceEventListener(
const ::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XLinguServiceEventListener >& rxListener )
throw(::com::sun::star::uno::RuntimeException);
- sal_Bool removeLinguServiceEventListener(
+ bool removeLinguServiceEventListener(
const ::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XLinguServiceEventListener >& rxListener )
throw(::com::sun::star::uno::RuntimeException);
@@ -296,7 +296,7 @@ protected:
// PropertyChgHelper
virtual void SetDefaultValues() SAL_OVERRIDE;
virtual void GetCurrentValues() SAL_OVERRIDE;
- virtual sal_Bool propertyChange_Impl(
+ virtual bool propertyChange_Impl(
const ::com::sun::star::beans::PropertyChangeEvent& rEvt ) SAL_OVERRIDE;
public: