diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-08-31 17:54:02 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-09-06 12:12:27 +0200 |
commit | a048b088819442ef1c437c6ecd8904a690b254f2 (patch) | |
tree | 51e1e135d63fecfc7487d21917b8ef078c730232 | |
parent | bc3b71a93edd2ee57b6b01f41094705bcb6b3830 (diff) |
HasKana() can be private
Change-Id: I6c26cbf71214dbd307291fdbb63dd3af74a3a4e5
-rw-r--r-- | sw/source/core/inc/scriptinfo.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/core/inc/scriptinfo.hxx b/sw/source/core/inc/scriptinfo.hxx index b7734fbb0dd2..1ad55c423779 100644 --- a/sw/source/core/inc/scriptinfo.hxx +++ b/sw/source/core/inc/scriptinfo.hxx @@ -78,6 +78,9 @@ private: void ClearKashidaInvalid(sal_Int32 nKashPos); bool MarkOrClearKashidaInvalid(sal_Int32 nStt, sal_Int32 nLen, bool bMark, sal_Int32 nMarkCount); bool IsKashidaLine(sal_Int32 nCharIdx) const; + // examines the range [ nStart, nStart + nEnd ] if there are kanas + // returns start index of kana entry in array, otherwise SAL_MAX_SIZE + size_t HasKana( sal_Int32 nStart, const sal_Int32 nEnd ) const; public: enum CompType { KANA, SPECIAL_LEFT, SPECIAL_RIGHT, NONE }; @@ -246,10 +249,6 @@ public: // HIDDEN TEXT STUFF END - // examines the range [ nStart, nStart + nEnd ] if there are kanas - // returns start index of kana entry in array, otherwise SAL_MAX_SIZE - size_t HasKana( sal_Int32 nStart, const sal_Int32 nEnd ) const; - // modifies the kerning array according to a given compress value long Compress( long* pKernArray, sal_Int32 nIdx, sal_Int32 nLen, const sal_uInt16 nCompress, const sal_uInt16 nFontHeight, |