summaryrefslogtreecommitdiff
path: root/i18npool/inc/xdictionary.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/inc/xdictionary.hxx')
-rw-r--r--i18npool/inc/xdictionary.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/i18npool/inc/xdictionary.hxx b/i18npool/inc/xdictionary.hxx
index 847cb097a3f1..13078e88d5c0 100644
--- a/i18npool/inc/xdictionary.hxx
+++ b/i18npool/inc/xdictionary.hxx
@@ -37,7 +37,7 @@ struct WordBreakCache {
sal_Int32 size; // size of wordboundary
WordBreakCache();
- sal_Bool equals(const sal_Unicode *str, Boundary& boundary); // checking cached string
+ bool equals(const sal_Unicode *str, Boundary& boundary); // checking cached string
};
class xdictionary
@@ -52,22 +52,22 @@ private:
oslModule hModule;
#endif
Boundary boundary;
- sal_Bool japaneseWordBreak;
+ bool japaneseWordBreak;
public:
xdictionary(const sal_Char *lang);
~xdictionary();
Boundary nextWord( const OUString& rText, sal_Int32 nPos, sal_Int16 wordType);
Boundary previousWord( const OUString& rText, sal_Int32 nPos, sal_Int16 wordType);
- Boundary getWordBoundary( const OUString& rText, sal_Int32 nPos, sal_Int16 wordType, sal_Bool bDirection );
+ Boundary getWordBoundary( const OUString& rText, sal_Int32 nPos, sal_Int16 wordType, bool bDirection );
void setJapaneseWordBreak();
private:
WordBreakCache cache[CACHE_MAX];
- sal_Bool seekSegment(const OUString& rText, sal_Int32 pos, Boundary& boundary);
+ bool seekSegment(const OUString& rText, sal_Int32 pos, Boundary& boundary);
WordBreakCache& getCache(const sal_Unicode *text, Boundary& boundary);
- sal_Bool exists(const sal_uInt32 u);
+ bool exists(const sal_uInt32 u);
sal_Int32 getLongestMatch(const sal_Unicode *text, sal_Int32 len);
};