View | Details | Raw Unified | Return to issue 126476
Collapse All | Expand All

(-)main/sw/source/core/text/itrcrsr.cxx (+4 lines)
Lines 56-61 Link Here
56
// --> OD 2010-05-05 #i111284#
56
// --> OD 2010-05-05 #i111284#
57
#include <numrule.hxx>
57
#include <numrule.hxx>
58
// <--
58
// <--
59
#include <com/sun/star/i18n/ScriptType.hpp>
59
60
60
// Nicht reentrant !!!
61
// Nicht reentrant !!!
61
// wird in GetCharRect gesetzt und im UnitUp/Down ausgewertet.
62
// wird in GetCharRect gesetzt und im UnitUp/Down ausgewertet.
Lines 267-272 Link Here
267
			rSpace.IsAutoFirst() )
268
			rSpace.IsAutoFirst() )
268
		{
269
		{
269
			nFirstLineOfs = GetFnt()->GetSize( GetFnt()->GetActual() ).Height();
270
			nFirstLineOfs = GetFnt()->GetSize( GetFnt()->GetActual() ).Height();
271
                        LanguageType aLang = pNode->GetLang( 0, 1, i18n::ScriptType::ASIAN);
272
                        if (aLang != LANGUAGE_KOREAN && aLang != LANGUAGE_JAPANESE)
273
                            nFirstLineOfs<<=1;
270
			const SvxLineSpacingItem *pSpace = aLineInf.GetLineSpacing();
274
			const SvxLineSpacingItem *pSpace = aLineInf.GetLineSpacing();
271
			if( pSpace )
275
			if( pSpace )
272
			{
276
			{

Return to issue 126476