]> git.pld-linux.org Git - packages/libreoffice.git/blame - openoffice-svx-freeze-fix.patch
- up
[packages/libreoffice.git] / openoffice-svx-freeze-fix.patch
CommitLineData
f6bd72df 1--- svx/source/editeng/impedit2.cxx.freezefix 2003-10-08 16:27:07.000000000 -0400
2+++ svx/source/editeng/impedit2.cxx 2003-10-08 16:27:19.000000000 -0400
3@@ -59,6 +59,8 @@
4 *
5 ************************************************************************/
6
7+#include <stdio.h>
8+
9 #include <eeng_pch.hxx>
10
11 #pragma hdrstop
12@@ -1640,7 +1642,13 @@
13 }
14
15 if ( rTypes[0].nScriptType == i18n::ScriptType::WEAK )
16- rTypes[0].nScriptType = ( rTypes.Count() > 1 ) ? rTypes[1].nScriptType : GetI18NScriptTypeOfLanguage( GetDefaultLanguage() );
17+ {
18+ //--- rTypes[0].nScriptType = ( rTypes.Count() > 1 ) ? rTypes[1].nScriptType : GetI18NScriptTypeOfLanguage( GetDefaultLanguage() );
19+ if ( rTypes.Count() > 1 )
20+ rTypes[0].nScriptType = rTypes[1].nScriptType;
21+ else
22+ rTypes[0].nScriptType = GetI18NScriptTypeOfLanguage( GetDefaultLanguage() );
23+ }
24 }
25 }
26
This page took 0.114556 seconds and 4 git commands to generate.