Add some static goodness here, too, to avoid duplicate symbols
Change-Id: Ie5e7aecd4f1c0e5b4dda9250ae755bf9210e048f
This commit is contained in:
committed by
Tor Lillqvist
parent
b869b73947
commit
45bae63f0f
@@ -85,7 +85,7 @@ DBG_NAME( EditView )
|
|||||||
|
|
||||||
|
|
||||||
// From SW => Create common method
|
// From SW => Create common method
|
||||||
LanguageType lcl_CheckLanguage(
|
static LanguageType lcl_CheckLanguage(
|
||||||
const OUString &rText,
|
const OUString &rText,
|
||||||
Reference< XSpellChecker1 > xSpell,
|
Reference< XSpellChecker1 > xSpell,
|
||||||
Reference< linguistic2::XLanguageGuessing > xLangGuess,
|
Reference< linguistic2::XLanguageGuessing > xLangGuess,
|
||||||
|
@@ -1675,7 +1675,7 @@ sal_Bool ImpEditEngine::IsInputSequenceCheckingRequired( sal_Unicode nChar, cons
|
|||||||
return bIsSequenceChecking;
|
return bIsSequenceChecking;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool lcl_HasStrongLTR ( const String& rTxt, xub_StrLen nStart, xub_StrLen nEnd )
|
static bool lcl_HasStrongLTR ( const String& rTxt, xub_StrLen nStart, xub_StrLen nEnd )
|
||||||
{
|
{
|
||||||
for ( xub_StrLen nCharIdx = nStart; nCharIdx < nEnd; ++nCharIdx )
|
for ( xub_StrLen nCharIdx = nStart; nCharIdx < nEnd; ++nCharIdx )
|
||||||
{
|
{
|
||||||
|
@@ -254,7 +254,7 @@ Point lcl_ImplCalcRotatedPos( Point rPos, Point rOrigin, double nSin, double nCo
|
|||||||
return aTranslatedPos;
|
return aTranslatedPos;
|
||||||
}
|
}
|
||||||
|
|
||||||
sal_Bool lcl_IsLigature( xub_Unicode cCh, xub_Unicode cNextCh ) // For Kashidas from sw/source/core/text/porlay.txt
|
static sal_Bool lcl_IsLigature( xub_Unicode cCh, xub_Unicode cNextCh ) // For Kashidas from sw/source/core/text/porlay.txt
|
||||||
{
|
{
|
||||||
// Lam + Alef
|
// Lam + Alef
|
||||||
return ( 0x644 == cCh && 0x627 == cNextCh ) ||
|
return ( 0x644 == cCh && 0x627 == cNextCh ) ||
|
||||||
@@ -262,7 +262,7 @@ sal_Bool lcl_IsLigature( xub_Unicode cCh, xub_Unicode cNextCh ) // For Kashidas
|
|||||||
( 0x628 == cCh && 0x631 == cNextCh );
|
( 0x628 == cCh && 0x631 == cNextCh );
|
||||||
}
|
}
|
||||||
|
|
||||||
sal_Bool lcl_ConnectToPrev( xub_Unicode cCh, xub_Unicode cPrevCh ) // For Kashidas from sw/source/core/text/porlay.txt
|
static sal_Bool lcl_ConnectToPrev( xub_Unicode cCh, xub_Unicode cPrevCh ) // For Kashidas from sw/source/core/text/porlay.txt
|
||||||
{
|
{
|
||||||
// Alef, Dal, Thal, Reh, Zain, and Waw do not connect to the left
|
// Alef, Dal, Thal, Reh, Zain, and Waw do not connect to the left
|
||||||
sal_Bool bRet = 0x627 != cPrevCh && 0x62F != cPrevCh && 0x630 != cPrevCh &&
|
sal_Bool bRet = 0x627 != cPrevCh && 0x62F != cPrevCh && 0x630 != cPrevCh &&
|
||||||
|
Reference in New Issue
Block a user