winlayout.cxx (79aad27f) winlayout.cxx (aa150a94)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 1118 unchanged lines hidden (view full) ---

1127static HRESULT ((WINAPI *pScriptFreeCache)( SCRIPT_CACHE* ));
1128
1129static bool bManualCellAlign = true;
1130
1131// -----------------------------------------------------------------------
1132
1133static bool InitUSP()
1134{
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 1118 unchanged lines hidden (view full) ---

1127static HRESULT ((WINAPI *pScriptFreeCache)( SCRIPT_CACHE* ));
1128
1129static bool bManualCellAlign = true;
1130
1131// -----------------------------------------------------------------------
1132
1133static bool InitUSP()
1134{
1135 OUString aLibraryName( RTL_CONSTASCII_USTRINGPARAM( "usp10" ) );
1136 aUspModule = osl_loadModule( aLibraryName.pData, SAL_LOADMODULE_DEFAULT );
1135 aUspModule = osl_loadAsciiModule( "usp10", SAL_LOADMODULE_DEFAULT );
1137 if( !aUspModule )
1138 return (bUspEnabled = false);
1139
1140 pScriptIsComplex = (HRESULT (WINAPI*)(const WCHAR*,int,DWORD))
1141 osl_getAsciiFunctionSymbol( aUspModule, "ScriptIsComplex" );
1142 bUspEnabled &= (NULL != pScriptIsComplex);
1143
1144 pScriptItemize = (HRESULT (WINAPI*)(const WCHAR*,int,int,

--- 2038 unchanged lines hidden ---
1136 if( !aUspModule )
1137 return (bUspEnabled = false);
1138
1139 pScriptIsComplex = (HRESULT (WINAPI*)(const WCHAR*,int,DWORD))
1140 osl_getAsciiFunctionSymbol( aUspModule, "ScriptIsComplex" );
1141 bUspEnabled &= (NULL != pScriptIsComplex);
1142
1143 pScriptItemize = (HRESULT (WINAPI*)(const WCHAR*,int,int,

--- 2038 unchanged lines hidden ---