]> git.pld-linux.org Git - packages/libreoffice.git/blob - openoffice-svx-freeze-fix.patch
- DON'T hardcode java paths!
[packages/libreoffice.git] / openoffice-svx-freeze-fix.patch
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.037581 seconds and 3 git commands to generate.