--- svx/source/editeng/impedit2.cxx.freezefix 2003-10-08 16:27:07.000000000 -0400 +++ svx/source/editeng/impedit2.cxx 2003-10-08 16:27:19.000000000 -0400 @@ -59,6 +59,8 @@ * ************************************************************************/ +#include + #include #pragma hdrstop @@ -1640,7 +1642,13 @@ } if ( rTypes[0].nScriptType == i18n::ScriptType::WEAK ) - rTypes[0].nScriptType = ( rTypes.Count() > 1 ) ? rTypes[1].nScriptType : GetI18NScriptTypeOfLanguage( GetDefaultLanguage() ); + { + //--- rTypes[0].nScriptType = ( rTypes.Count() > 1 ) ? rTypes[1].nScriptType : GetI18NScriptTypeOfLanguage( GetDefaultLanguage() ); + if ( rTypes.Count() > 1 ) + rTypes[0].nScriptType = rTypes[1].nScriptType; + else + rTypes[0].nScriptType = GetI18NScriptTypeOfLanguage( GetDefaultLanguage() ); + } } }