summaryrefslogtreecommitdiff
path: root/sw/source/core/inc/scriptinfo.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-05-02 22:40:44 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-05-03 00:06:32 +0100
commit4312651dfc47a9bb6eff5c18862e67dded1cf385 (patch)
treeeff409e19bb341d749fa9e7957a5bf896fd79051 /sw/source/core/inc/scriptinfo.hxx
parent46c01657d505a021673449ff0f874bc080d23ba6 (diff)
XubString->rtl::OUString
Change-Id: I21b785169788e20c8bb05c2fdc9333068f1c69ab
Diffstat (limited to 'sw/source/core/inc/scriptinfo.hxx')
-rw-r--r--sw/source/core/inc/scriptinfo.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/inc/scriptinfo.hxx b/sw/source/core/inc/scriptinfo.hxx
index aa636fc4dd00..b58dbb2ad83a 100644
--- a/sw/source/core/inc/scriptinfo.hxx
+++ b/sw/source/core/inc/scriptinfo.hxx
@@ -291,7 +291,7 @@ public:
Start index of the text
@return Returns if the language is an Arabic language
*/
- static sal_Bool IsArabicText( const XubString& rTxt, xub_StrLen nStt, xub_StrLen nLen );
+ static bool IsArabicText( const rtl::OUString& rTxt, sal_Int32 nStt, sal_Int32 nLen );
/** Performes a thai justification on the kerning array
@@ -311,9 +311,9 @@ public:
The value which has to be added to the cells.
@return The number of extra spaces in the given range
*/
- static sal_uInt16 ThaiJustify( const XubString& rTxt, sal_Int32* pKernArray,
- sal_Int32* pScrArray, xub_StrLen nIdx,
- xub_StrLen nLen, xub_StrLen nNumberOfBlanks = 0,
+ static sal_Int32 ThaiJustify( const rtl::OUString& rTxt, sal_Int32* pKernArray,
+ sal_Int32* pScrArray, sal_Int32 nIdx,
+ sal_Int32 nLen, sal_Int32 nNumberOfBlanks = 0,
long nSpaceAdd = 0 );
static SwScriptInfo* GetScriptInfo( const SwTxtNode& rNode,