Kaydet (Commit) 275dbf60 authored tarafından Christian M. Heller's avatar Christian M. Heller Kaydeden (comit) Thomas Arnhold

fdo#39468 Translate German comments - vcl/win/source/app

Change-Id: I5bd5851f763a392cad658d206d23ea055456fce2
Reviewed-on: https://gerrit.libreoffice.org/2938Reviewed-by: 's avatarThomas Arnhold <thomas@arnhold.org>
Tested-by: 's avatarThomas Arnhold <thomas@arnhold.org>
üst 43fe205a
......@@ -61,7 +61,7 @@ int ImplSalWICompareAscii( const wchar_t* pStr1, const char* pStr2 )
char c2;
do
{
// Ist das Zeichen zwischen 'A' und 'Z' dann umwandeln
// change to LowerCase if the char is between 'A' and 'Z'
c1 = *pStr1;
c2 = *pStr2;
if ( (c1 >= 65) && (c1 <= 90) )
......
......@@ -212,8 +212,7 @@ void ImplSalYieldMutexAcquireWithWait()
SalData* pSalData = GetSalData();
if ( pSalData->mnAppThreadId == nThreadId )
{
// Wenn wir den Mutex nicht bekommen, muessen wir solange
// warten, bis wir Ihn bekommen
// wait till we get the Mutex
sal_Bool bAcquire = FALSE;
do
{
......@@ -399,13 +398,13 @@ SalData::SalData()
}
mnStockPenCount = 0; // count of static pens
mnStockBrushCount = 0; // count of static brushes
mnSalObjWantKeyEvt = 0; // KeyEvent, welcher vom SalObj-Hook verarbeitet werden soll
mnSalObjWantKeyEvt = 0; // KeyEvent for the SalObj hook
mnCacheDCInUse = 0; // count of CacheDC in use
mbObjClassInit = FALSE; // is SALOBJECTCLASS initialised
mbInPalChange = FALSE; // is in WM_QUERYNEWPALETTE
mnAppThreadId = 0; // Id from Applikation-Thread
mbScrSvrEnabled = FALSE; // ScreenSaver enabled
mnSageStatus = 0; // status of Sage-DLL (DISABLE_AGENT == nicht vorhanden)
mnSageStatus = 0; // status of Sage-DLL (DISABLE_AGENT == not available)
mpSageEnableProc = 0; // funktion to deactivate the system agent
mpFirstIcon = 0; // icon cache, points to first icon, NULL if none
mpTempFontItem = 0;
......@@ -940,7 +939,7 @@ bool WinSalInstance::AnyInput( sal_uInt16 nType )
void SalTimer::Start( sal_uLong nMS )
{
// Um auf Main-Thread umzuschalten
// to switch to Main-Thread
SalData* pSalData = GetSalData();
if ( pSalData->mpFirstInstance )
{
......@@ -957,7 +956,7 @@ void SalTimer::Start( sal_uLong nMS )
SalFrame* WinSalInstance::CreateChildFrame( SystemParentData* pSystemParentData, sal_uLong nSalFrameStyle )
{
// Um auf Main-Thread umzuschalten
// to switch to Main-Thread
return (SalFrame*)ImplSendMessage( mhComWnd, SAL_MSG_CREATEFRAME, nSalFrameStyle, (LPARAM)pSystemParentData->hWnd );
}
......@@ -965,7 +964,7 @@ SalFrame* WinSalInstance::CreateChildFrame( SystemParentData* pSystemParentData,
SalFrame* WinSalInstance::CreateFrame( SalFrame* pParent, sal_uLong nSalFrameStyle )
{
// Um auf Main-Thread umzuschalten
// to switch to Main-Thread
HWND hWndParent;
if ( pParent )
hWndParent = static_cast<WinSalFrame*>(pParent)->mhWnd;
......@@ -987,7 +986,7 @@ SalObject* WinSalInstance::CreateObject( SalFrame* pParent,
SystemWindowData* /*pWindowData*/, // SystemWindowData meaningless on Windows
sal_Bool /*bShow*/ )
{
// Um auf Main-Thread umzuschalten
// to switch to Main-Thread
return (SalObject*)ImplSendMessage( mhComWnd, SAL_MSG_CREATEOBJECT, 0, (LPARAM)static_cast<WinSalFrame*>(pParent) );
}
......
......@@ -42,11 +42,11 @@ void ImplSalStartTimer( sal_uLong nMS, sal_Bool bMutex )
if ( !bMutex )
pSalData->mnTimerOrgMS = nMS;
// Periode darf nicht zu gross sein, da Windows mit sal_uInt16 arbeitet
// duration has to fit into Window's sal_uInt16
if ( nMS > MAX_SYSPERIOD )
nMS = MAX_SYSPERIOD;
// Gibt es einen Timer, dann zerstoren
// kill timer if it exists
if ( pSalData->mnTimerId )
KillTimer( 0, pSalData->mnTimerId );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment