Add some static goodness here, too, to avoid duplicate symbols

Change-Id: Ie5e7aecd4f1c0e5b4dda9250ae755bf9210e048f
This commit is contained in:
Tor Lillqvist
2012-09-20 14:19:46 +03:00
committed by Tor Lillqvist
parent b869b73947
commit 45bae63f0f
3 changed files with 4 additions and 4 deletions

View File

@@ -85,7 +85,7 @@ DBG_NAME( EditView )
// From SW => Create common method
LanguageType lcl_CheckLanguage(
static LanguageType lcl_CheckLanguage(
const OUString &rText,
Reference< XSpellChecker1 > xSpell,
Reference< linguistic2::XLanguageGuessing > xLangGuess,

View File

@@ -1675,7 +1675,7 @@ sal_Bool ImpEditEngine::IsInputSequenceCheckingRequired( sal_Unicode nChar, cons
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 )
{

View File

@@ -254,7 +254,7 @@ Point lcl_ImplCalcRotatedPos( Point rPos, Point rOrigin, double nSin, double nCo
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
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 );
}
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
sal_Bool bRet = 0x627 != cPrevCh && 0x62F != cPrevCh && 0x630 != cPrevCh &&