LibreOffice Module i18nlangtag (master) 1
Typedefs | Functions | Variables
inwnt.cxx File Reference
#include <sal/config.h>
#include <windef.h>
#include <winbase.h>
#include <winnls.h>
#include <osl/mutex.hxx>
#include <osl/doublecheckedlocking.h>
#include <i18nlangtag/mslangid.hxx>
Include dependency graph for inwnt.cxx:

Go to the source code of this file.

Typedefs

typedef LANGID(WINAPI * getLangFromEnv) ()
 

Functions

static LanguageType GetSVLang (LANGID nWinLangId)
 
static void getPlatformSystemLanguageImpl (LanguageType &rSystemLanguage, getLangFromEnv pGetUserDefault, getLangFromEnv pGetSystemDefault)
 

Variables

static LanguageType nImplSystemLanguage = LANGUAGE_DONTKNOW
 
static LanguageType nImplSystemUILanguage = LANGUAGE_DONTKNOW
 

Typedef Documentation

◆ getLangFromEnv

typedef LANGID(WINAPI * getLangFromEnv) ()

Definition at line 43 of file inwnt.cxx.

Function Documentation

◆ getPlatformSystemLanguageImpl()

static void getPlatformSystemLanguageImpl ( LanguageType rSystemLanguage,
getLangFromEnv  pGetUserDefault,
getLangFromEnv  pGetSystemDefault 
)
static

Definition at line 45 of file inwnt.cxx.

References GetSVLang(), and LANGUAGE_DONTKNOW.

◆ GetSVLang()

static LanguageType GetSVLang ( LANGID  nWinLangId)
static

Definition at line 34 of file inwnt.cxx.

Referenced by getPlatformSystemLanguageImpl().

Variable Documentation

◆ nImplSystemLanguage

LanguageType nImplSystemLanguage = LANGUAGE_DONTKNOW
static

Definition at line 30 of file inwnt.cxx.

◆ nImplSystemUILanguage

LanguageType nImplSystemUILanguage = LANGUAGE_DONTKNOW
static

Definition at line 31 of file inwnt.cxx.