summaryrefslogtreecommitdiffstats
path: root/i18npool/inc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-01-24 22:17:41 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-01-24 22:20:45 +0100
commit8d8ff8f0cdc738e00c8915193b3e6324d277f099 (patch)
treec3c19e9dd578f6ed6845ae711a906528d9b6ae70 /i18npool/inc
parentRemove SPECIAL_DEBUG directive. (diff)
downloadcore-8d8ff8f0cdc738e00c8915193b3e6324d277f099.tar.gz
core-8d8ff8f0cdc738e00c8915193b3e6324d277f099.zip
Remove USE_CELL_BOUNDARY_CODE directive.
Diffstat (limited to 'i18npool/inc')
-rw-r--r--i18npool/inc/xdictionary.hxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/i18npool/inc/xdictionary.hxx b/i18npool/inc/xdictionary.hxx
index 74a6db6e98df..8ac931449636 100644
--- a/i18npool/inc/xdictionary.hxx
+++ b/i18npool/inc/xdictionary.hxx
@@ -35,9 +35,6 @@
namespace com { namespace sun { namespace star { namespace i18n {
-// Whether to use cell boundary code, currently unused but prepared.
-#define USE_CELL_BOUNDARY_CODE 0
-
#define CACHE_MAX 32 // max cache structure number
#define DEFAULT_SIZE 256 // for boundary size, to avoid alloc and release memory
@@ -64,12 +61,6 @@ private:
Boundary boundary;
sal_Bool japaneseWordBreak;
-#if USE_CELL_BOUNDARY_CODE
- // For CTL breakiterator, where the word boundary should not be inside cell.
- sal_Bool useCellBoundary;
- sal_Int32* cellBoundary;
-#endif
-
public:
xdictionary(const sal_Char *lang);
~xdictionary();
@@ -78,10 +69,6 @@ public:
Boundary getWordBoundary( const rtl::OUString& rText, sal_Int32 nPos, sal_Int16 wordType, sal_Bool bDirection );
void setJapaneseWordBreak();
-#if USE_CELL_BOUNDARY_CODE
- void setCellBoundary(sal_Int32* cellArray);
-#endif
-
private:
WordBreakCache cache[CACHE_MAX];