summaryrefslogtreecommitdiff
path: root/vcl/source/app
diff options
context:
space:
mode:
authorLuc Castermans <luc@bassenge.castermans.org>2012-07-01 21:10:41 +0200
committerPhilipp Riemer <ruderphilipp@gmail.com>2012-07-02 01:27:30 +0200
commit16c4e5506b10284611f2653f867fe09ce75b6a18 (patch)
treea4aabb9a296723691c3ee0369c1c3a8028aa334a /vcl/source/app
parenta4a4bde34e5e3f60143ca8d5ae053237da18712e (diff)
translated german comments
Change-Id: Ia99de2167bbc401d212eb9cf04883f3f8270f44f
Diffstat (limited to 'vcl/source/app')
-rw-r--r--vcl/source/app/dbggui.cxx4
-rw-r--r--vcl/source/app/help.cxx15
-rw-r--r--vcl/source/app/idlemgr.cxx2
-rw-r--r--vcl/source/app/settings.cxx50
-rw-r--r--vcl/source/app/svapp.cxx32
-rw-r--r--vcl/source/app/svmain.cxx14
-rw-r--r--vcl/source/app/timer.cxx31
7 files changed, 70 insertions, 78 deletions
diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx
index c36f866fea2f..fcf5a4c6e4ae 100644
--- a/vcl/source/app/dbggui.cxx
+++ b/vcl/source/app/dbggui.cxx
@@ -1608,7 +1608,7 @@ long SolarMessageBoxExecutor::doIt()
{
long nResult = RET_NO;
- // Tracking beenden und Mouse freigeben, damit die Boxen nicht haengen
+ // Stop tracking and release mouse, to assure boxes do not hang
ImplSVData* pSVData = ImplGetSVData();
if ( pSVData->maWinData.mpTrackWin )
pSVData->maWinData.mpTrackWin->EndTracking( ENDTRACK_CANCEL );
@@ -1789,7 +1789,7 @@ void DbgGUIStart()
if ( pData )
{
DbgDialog* pDialog = new DbgDialog;
- // Fuer den Debug-Dialog schalten wir Dialogtests aus
+ // we switch off dialog tests for the debug dialog
sal_uLong nOldFlags = pData->nTestFlags;
pData->nTestFlags &= ~DBG_TEST_DIALOG;
if ( !pDialog->Execute() )
diff --git a/vcl/source/app/help.cxx b/vcl/source/app/help.cxx
index b968ca1aadc7..48881ba03561 100644
--- a/vcl/source/app/help.cxx
+++ b/vcl/source/app/help.cxx
@@ -283,8 +283,7 @@ void Help::HideTip( sal_uLong nId )
HelpTextWindow* pHelpWin = (HelpTextWindow*)nId;
Window* pFrameWindow = pHelpWin->ImplGetFrameWindow();
pHelpWin->Hide();
- // Update ausloesen, damit ein Paint sofort ausgeloest wird, da
- // wir den Hintergrund nicht sichern
+ // trigger update, so that a Paint is instantly triggered since we do not save the background
pFrameWindow->ImplUpdateAll();
delete pHelpWin;
ImplGetSVData()->maHelpData.mnLastHelpHideTime = Time::GetSystemTicks();
@@ -374,7 +373,7 @@ void HelpTextWindow::SetHelpText( const String& rHelpText )
Point aTmpPoint;
sal_uInt16 nCharsInLine = 35 + ((maHelpText.Len()/100)*5);
XubString aXXX;
- aXXX.Fill( nCharsInLine, 'x' ); // Durchschnittliche Breite, damit nicht jedes Fenster anders.
+ aXXX.Fill( nCharsInLine, 'x' ); // average width to have all windows consistent
long nWidth = GetTextWidth( aXXX );
Size aTmpSize( nWidth, 0x7FFFFFFF );
Rectangle aTry1( aTmpPoint, aTmpSize );
@@ -384,10 +383,10 @@ void HelpTextWindow::SetHelpText( const String& rHelpText )
nDrawFlags |= TEXT_DRAW_MNEMONIC;
Rectangle aTextRect = GetTextRect( aTry1, maHelpText, nDrawFlags );
- // Spaeter mal eine geeignete Breite ermitteln...
+ // get a better width later...
maTextRect = aTextRect;
- // Sicherheitsabstand...
+ // safety distance...
maTextRect.SetPos( Point( HELPTEXTMARGIN_BALLOON, HELPTEXTMARGIN_BALLOON ) );
}
@@ -461,7 +460,7 @@ void HelpTextWindow::ShowHelp( sal_uInt16 nDelayMode )
sal_uLong nTimeout = 0;
if ( nDelayMode != HELPDELAY_NONE )
{
- // Im ExtendedHelp-Fall die Hilfe schneller anzeigen
+ // In case of ExtendedHelp display help sooner
if ( ImplGetSVData()->maHelpData.mbExtHelpMode )
nTimeout = 15;
else
@@ -519,8 +518,8 @@ Size HelpTextWindow::CalcOutSize() const
void HelpTextWindow::RequestHelp( const HelpEvent& /*rHEvt*/ )
{
- // Nur damit nicht von Window::RequestHelp() ein
- // ShowQuickHelp/ShowBalloonHelp am HelpTextWindow aufgerufen wird.
+ // Just to assure that Window::RequestHelp() is not called by
+ // ShowQuickHelp/ShowBalloonHelp in the HelpTextWindow.
}
// -----------------------------------------------------------------------
diff --git a/vcl/source/app/idlemgr.cxx b/vcl/source/app/idlemgr.cxx
index 7548b5ca62f6..45038abedb83 100644
--- a/vcl/source/app/idlemgr.cxx
+++ b/vcl/source/app/idlemgr.cxx
@@ -92,7 +92,7 @@ sal_Bool ImplIdleMgr::InsertIdleHdl( const Link& rLink, sal_uInt16 nPriority )
mpIdleList->push_back( pIdleData );
}
- // Wenn Timer noch nicht gestartet ist, dann starten
+ // if Timer was not started already then start it now
if ( !maTimer.IsActive() )
maTimer.Start();
diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx
index 02457d1791e5..9684e38511b8 100644
--- a/vcl/source/app/settings.cxx
+++ b/vcl/source/app/settings.cxx
@@ -123,7 +123,7 @@ MouseSettings::MouseSettings( const MouseSettings& rSet )
{
DBG_ASSERT( rSet.mpData->mnRefCount < 0xFFFFFFFE, "MouseSettings: RefCount overflow" );
- // shared Instance Daten uebernehmen und Referenzcounter erhoehen
+ // copy shared instance data and increment reference counter
mpData = rSet.mpData;
mpData->mnRefCount++;
}
@@ -132,7 +132,7 @@ MouseSettings::MouseSettings( const MouseSettings& rSet )
MouseSettings::~MouseSettings()
{
- // Daten loeschen, wenn letzte Referenz
+ // delete data if last reference
if ( mpData->mnRefCount == 1 )
delete mpData;
else
@@ -145,10 +145,10 @@ const MouseSettings& MouseSettings::operator =( const MouseSettings& rSet )
{
DBG_ASSERT( rSet.mpData->mnRefCount < 0xFFFFFFFE, "MouseSettings: RefCount overflow" );
- // Zuerst Referenzcounter erhoehen, damit man sich selbst zuweisen kann
+ // increment reference counter first, to be able to assign oneself
rSet.mpData->mnRefCount++;
- // Daten loeschen, wenn letzte Referenz
+ // delete data if last reference
if ( mpData->mnRefCount == 1 )
delete mpData;
else
@@ -163,7 +163,7 @@ const MouseSettings& MouseSettings::operator =( const MouseSettings& rSet )
void MouseSettings::CopyData()
{
- // Falls noch andere Referenzen bestehen, dann kopieren
+ // copy if another references exist
if ( mpData->mnRefCount != 1 )
{
mpData->mnRefCount--;
@@ -445,7 +445,7 @@ StyleSettings::StyleSettings( const StyleSettings& rSet )
{
DBG_ASSERT( rSet.mpData->mnRefCount < 0xFFFFFFFE, "StyleSettings: RefCount overflow" );
- // shared Instance Daten uebernehmen und Referenzcounter erhoehen
+ // copy shared instance data and increment reference counter
mpData = rSet.mpData;
mpData->mnRefCount++;
}
@@ -454,7 +454,7 @@ StyleSettings::StyleSettings( const StyleSettings& rSet )
StyleSettings::~StyleSettings()
{
- // Daten loeschen, wenn letzte Referenz
+ // if last reference then delete data
if ( mpData->mnRefCount == 1 )
delete mpData;
else
@@ -714,10 +714,10 @@ const StyleSettings& StyleSettings::operator =( const StyleSettings& rSet )
{
DBG_ASSERT( rSet.mpData->mnRefCount < 0xFFFFFFFE, "StyleSettings: RefCount overflow" );
- // Zuerst Referenzcounter erhoehen, damit man sich selbst zuweisen kann
+ // increase reference counter first, to be able to assign oneself
rSet.mpData->mnRefCount++;
- // Daten loeschen, wenn letzte Referenz
+ // if last reference then delete data
if ( mpData->mnRefCount == 1 )
delete mpData;
else
@@ -732,7 +732,7 @@ const StyleSettings& StyleSettings::operator =( const StyleSettings& rSet )
void StyleSettings::CopyData()
{
- // Falls noch andere Referenzen bestehen, dann kopieren
+ // copy if other references exist
if ( mpData->mnRefCount != 1 )
{
mpData->mnRefCount--;
@@ -886,7 +886,7 @@ MiscSettings::MiscSettings( const MiscSettings& rSet )
{
DBG_ASSERT( rSet.mpData->mnRefCount < 0xFFFFFFFE, "MiscSettings: RefCount overflow" );
- // shared Instance Daten uebernehmen und Referenzcounter erhoehen
+ // copy shared instance data and increment reference counter
mpData = rSet.mpData;
mpData->mnRefCount++;
}
@@ -895,7 +895,7 @@ MiscSettings::MiscSettings( const MiscSettings& rSet )
MiscSettings::~MiscSettings()
{
- // Daten loeschen, wenn letzte Referenz
+ // if last reference then delete data
if ( mpData->mnRefCount == 1 )
delete mpData;
else
@@ -908,10 +908,10 @@ const MiscSettings& MiscSettings::operator =( const MiscSettings& rSet )
{
DBG_ASSERT( rSet.mpData->mnRefCount < 0xFFFFFFFE, "MiscSettings: RefCount overflow" );
- // Zuerst Referenzcounter erhoehen, damit man sich selbst zuweisen kann
+ // increase reference counter first, to be able to assign oneself
rSet.mpData->mnRefCount++;
- // Daten loeschen, wenn letzte Referenz
+ // if last reference then delete data
if ( mpData->mnRefCount == 1 )
delete mpData;
else
@@ -926,7 +926,7 @@ const MiscSettings& MiscSettings::operator =( const MiscSettings& rSet )
void MiscSettings::CopyData()
{
- // Falls noch andere Referenzen bestehen, dann kopieren
+ // copy if other references exist
if ( mpData->mnRefCount != 1 )
{
mpData->mnRefCount--;
@@ -1126,7 +1126,7 @@ HelpSettings::HelpSettings( const HelpSettings& rSet )
{
DBG_ASSERT( rSet.mpData->mnRefCount < 0xFFFFFFFE, "HelpSettings: RefCount overflow" );
- // shared Instance Daten uebernehmen und Referenzcounter erhoehen
+ // copy shared instance data and increment reference counter
mpData = rSet.mpData;
mpData->mnRefCount++;
}
@@ -1135,7 +1135,7 @@ HelpSettings::HelpSettings( const HelpSettings& rSet )
HelpSettings::~HelpSettings()
{
- // Daten loeschen, wenn letzte Referenz
+ // if last reference then delete data
if ( mpData->mnRefCount == 1 )
delete mpData;
else
@@ -1148,10 +1148,10 @@ const HelpSettings& HelpSettings::operator =( const HelpSettings& rSet )
{
DBG_ASSERT( rSet.mpData->mnRefCount < 0xFFFFFFFE, "HelpSettings: RefCount overflow" );
- // Zuerst Referenzcounter erhoehen, damit man sich selbst zuweisen kann
+ // increase reference counter first, to be able to assign oneself
rSet.mpData->mnRefCount++;
- // Daten loeschen, wenn letzte Referenz
+ // delete data if last reference
if ( mpData->mnRefCount == 1 )
delete mpData;
else
@@ -1166,7 +1166,7 @@ const HelpSettings& HelpSettings::operator =( const HelpSettings& rSet )
void HelpSettings::CopyData()
{
- // Falls noch andere Referenzen bestehen, dann kopieren
+ // copy of other references exist
if ( mpData->mnRefCount != 1 )
{
mpData->mnRefCount--;
@@ -1256,7 +1256,7 @@ AllSettings::AllSettings( const AllSettings& rSet )
DBG_CTOR( AllSettings, NULL );
DBG_ASSERT( rSet.mpData->mnRefCount < 0xFFFFFFFE, "Settings: RefCount overflow" );
- // shared Instance Daten uebernehmen und Referenzcounter erhoehen
+ // copy shared instance data and increse reference counter
mpData = rSet.mpData;
mpData->mnRefCount++;
}
@@ -1267,7 +1267,7 @@ AllSettings::~AllSettings()
{
DBG_DTOR( AllSettings, NULL );
- // Daten loeschen, wenn letzte Referenz
+ // if last reference then delete data
if ( mpData->mnRefCount == 1 )
delete mpData;
else
@@ -1282,10 +1282,10 @@ const AllSettings& AllSettings::operator =( const AllSettings& rSet )
DBG_CHKTHIS( AllSettings, NULL );
DBG_CHKOBJ( &rSet, AllSettings, NULL );
- // Zuerst Referenzcounter erhoehen, damit man sich selbst zuweisen kann
+ // increase reference counter first, to be able to assign oneself
rSet.mpData->mnRefCount++;
- // Daten loeschen, wenn letzte Referenz
+ // if last reference then delete data
if ( mpData->mnRefCount == 1 )
delete mpData;
else
@@ -1302,7 +1302,7 @@ void AllSettings::CopyData()
{
DBG_CHKTHIS( AllSettings, NULL );
- // Falls noch andere Referenzen bestehen, dann kopieren
+ // copy if other references exist
if ( mpData->mnRefCount != 1 )
{
mpData->mnRefCount--;
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index a8439f61dedc..3611f4386213 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -340,8 +340,7 @@ sal_uInt16 Application::Exception( sal_uInt16 nError )
{
switch ( nError & EXC_MAJORTYPE )
{
- // Bei System machen wir nichts und lassen dem System den
- // vortritt
+ // System has precedence (so do nothing)
case EXC_SYSTEM:
return 0;
@@ -564,10 +563,10 @@ extern int nImplSysDialog;
sal_Bool Application::IsUICaptured()
{
ImplSVData* pSVData = ImplGetSVData();
- // Wenn Mouse gecaptured, oder im TrackingModus oder im Auswahlmodus
- // eines FloatingWindows (wie Menus, Aufklapp-ToolBoxen) soll kein
- // weiteres Fenster aufgezogen werden
- // D&D aktive !!!
+
+ // If mouse was captured, or if in tracking- or in select-mode of a floatingwindow (e.g. menus
+ // or pulldown toolboxes) another window should be created
+ // D&D active !!!
if ( pSVData->maWinData.mpCaptureWin || pSVData->maWinData.mpTrackWin ||
pSVData->maWinData.mpFirstFloat || nImplSysDialog )
return sal_True;
@@ -652,7 +651,7 @@ void Application::SetSettings( const AllSettings& rSettings )
// Update all windows
Window* pFirstFrame = pSVData->maWinData.mpFirstFrame;
- // Daten, die neu berechnet werden muessen, zuruecksetzen
+ // Reset data that needs to be re-calculated
long nOldDPIX = 0;
long nOldDPIY = 0;
if ( pFirstFrame )
@@ -664,11 +663,10 @@ void Application::SetSettings( const AllSettings& rSettings )
Window* pFrame = pFirstFrame;
while ( pFrame )
{
- // AppFont-Cache-Daten zuruecksetzen
+ // restore AppFont cache data
pFrame->mpWindowImpl->mpFrameData->meMapUnit = MAP_PIXEL;
- // UpdateSettings am ClientWindow aufrufen, damit
- // die Daten nicht doppelt geupdatet werden
+ // call UpdateSettings from ClientWindow in order to prevent updating data twice
Window* pClientWin = pFrame;
while ( pClientWin->ImplGetClientWindow() )
pClientWin = pClientWin->ImplGetClientWindow();
@@ -677,8 +675,7 @@ void Application::SetSettings( const AllSettings& rSettings )
Window* pTempWin = pFrame->mpWindowImpl->mpFrameData->mpFirstOverlap;
while ( pTempWin )
{
- // UpdateSettings am ClientWindow aufrufen, damit
- // die Daten nicht doppelt geupdatet werden
+ // call UpdateSettings from ClientWindow in order to prevent updating data twice
pClientWin = pTempWin;
while ( pClientWin->ImplGetClientWindow() )
pClientWin = pClientWin->ImplGetClientWindow();
@@ -689,9 +686,8 @@ void Application::SetSettings( const AllSettings& rSettings )
pFrame = pFrame->mpWindowImpl->mpFrameData->mpNextFrame;
}
- // Wenn sich die DPI-Aufloesung fuer Screen-Ausgaben
- // geaendert hat, setzen wir auch bei allen
- // Screen-Kompatiblen VirDev's die neue Aufloesung
+ // if DPI resolution for screen output was changed set the new resolution for all
+ // screen compatible VirDev´s
pFirstFrame = pSVData->maWinData.mpFirstFrame;
if ( pFirstFrame )
{
@@ -1043,7 +1039,7 @@ sal_Bool Application::InsertIdleHdl( const Link& rLink, sal_uInt16 nPrio )
{
ImplSVData* pSVData = ImplGetSVData();
- // Falls er noch nicht existiert, dann anlegen
+ // create if not existing
if ( !pSVData->maAppData.mpIdleMgr )
pSVData->maAppData.mpIdleMgr = new ImplIdleMgr;
@@ -1180,7 +1176,7 @@ void Application::SetAppName( const XubString& rUniqueName )
{
ImplSVData* pSVData = ImplGetSVData();
- // Falls er noch nicht existiert, dann anlegen
+ // create if not existing
if ( !pSVData->maAppData.mpAppName )
pSVData->maAppData.mpAppName = new XubString( rUniqueName );
else
@@ -1204,7 +1200,7 @@ void Application::SetDisplayName( const UniString& rName )
{
ImplSVData* pSVData = ImplGetSVData();
- // Falls er noch nicht existiert, dann anlegen
+ // create if not existing
if ( !pSVData->maAppData.mpDisplayName )
pSVData->maAppData.mpDisplayName = new UniString( rName );
else
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 959e055b0f45..75708556bd09 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -97,7 +97,7 @@ oslSignalAction SAL_CALL VCLExceptionSignal_impl( void* /*pData*/, oslSignalInfo
{
static bool bIn = false;
- // Wenn wir nocheinmal abstuerzen, verabschieden wir uns gleich
+ // if we crash again, bail out immediatly
if ( !bIn )
{
sal_uInt16 nVCLException = 0;
@@ -130,8 +130,7 @@ oslSignalAction SAL_CALL VCLExceptionSignal_impl( void* /*pData*/, oslSignalInfo
SolarMutexGuard aLock;
- // Timer nicht mehr anhalten, da ansonsten die UAE-Box
- // auch nicht mehr gepaintet wird
+ // do not stop timer because otherwise the UAE-Box will not be painted as well
ImplSVData* pSVData = ImplGetSVData();
if ( pSVData->mpApp )
{
@@ -168,7 +167,7 @@ int ImplSVMain()
if( bInit )
{
- // Application-Main rufen
+ // call application main
pSVData->maAppData.mbInAppMain = sal_True;
nReturn = pSVData->mpApp->Main();
pSVData->maAppData.mbInAppMain = sal_False;
@@ -298,8 +297,7 @@ sal_Bool InitVCL( const ::com::sun::star::uno::Reference< ::com::sun::star::lang
// soffice/sfx implementation creates the global service manager
pSVData->mpApp->Init();
- // Den AppFileName gleich holen und absolut machen, bevor das
- // WorkingDirectory sich aendert...
+ // Fetch AppFileName and make it absolute before the workdir changes...
rtl::OUString aExeFileName;
osl_getExecutableFile( &aExeFileName.pData );
@@ -313,10 +311,10 @@ sal_Bool InitVCL( const ::com::sun::star::uno::Reference< ::com::sun::star::lang
pSVData->maGDIData.mpScreenFontCache = new ImplFontCache( sal_False );
pSVData->maGDIData.mpGrfConverter = new GraphicConverter;
- // Exception-Handler setzen
+ // Set exception handler
pExceptionHandler = osl_addSignalHandler(VCLExceptionSignal_impl, NULL);
- // Debug-Daten initialisieren
+ // initialise debug data
DBGGUI_INIT();
return sal_True;
diff --git a/vcl/source/app/timer.cxx b/vcl/source/app/timer.cxx
index 3011cb282c26..a644a59203d9 100644
--- a/vcl/source/app/timer.cxx
+++ b/vcl/source/app/timer.cxx
@@ -51,8 +51,8 @@ struct ImplTimerData
Timer* mpSVTimer; // Pointer to SV Timer instance
sal_uLong mnUpdateTime; // Last Update Time
sal_uLong mnTimerUpdate; // TimerCallbackProcs on stack
- sal_Bool mbDelete; // Wurde Timer waehren Update() geloescht
- sal_Bool mbInTimeout; // Befinden wir uns im Timeout-Handler
+ sal_Bool mbDelete; // Was timer deleted during Update()?
+ sal_Bool mbInTimeout; // Are we in a timeout handler?
};
// =======================================================================
@@ -115,23 +115,22 @@ void Timer::ImplTimerCallbackProc()
pSVData->mnTimerUpdate++;
pSVData->mbNotAllTimerCalled = sal_True;
- // Suche Timer raus, wo der Timeout-Handler gerufen werden muss
+ // find timer where the timer handler needs to be called
pTimerData = pSVData->mpFirstTimerData;
while ( pTimerData )
{
- // Wenn Timer noch nicht neu ist und noch nicht geloescht wurde
- // und er sich nicht im Timeout-Handler befindet,
- // dann den Handler rufen, wenn die Zeit abgelaufen ist
+ // If the timer is not new, was not deleted, and if it is not in the timeout handler, then
+ // call the handler as soon as the time is up.
if ( (pTimerData->mnTimerUpdate < pSVData->mnTimerUpdate) &&
!pTimerData->mbDelete && !pTimerData->mbInTimeout )
{
- // Zeit abgelaufen
+ // time has expired
if ( (pTimerData->mnUpdateTime+pTimerData->mpSVTimer->mnTimeout) <= nTime )
{
- // Neue Updatezeit setzen
+ // set new update time
pTimerData->mnUpdateTime = nTime;
- // kein AutoTimer, dann anhalten
+ // if no AutoTimer than stop
if ( !pTimerData->mpSVTimer->mbAuto )
{
pTimerData->mpSVTimer->mbActive = sal_False;
@@ -148,19 +147,19 @@ void Timer::ImplTimerCallbackProc()
pTimerData = pTimerData->mpNext;
}
- // Neue Zeit ermitteln
+ // determine new time
sal_uLong nNewTime = Time::GetSystemTicks();
pPrevTimerData = NULL;
pTimerData = pSVData->mpFirstTimerData;
while ( pTimerData )
{
- // Befindet sich Timer noch im Timeout-Handler, dann ignorieren
+ // ignore if timer is still in timeout handler
if ( pTimerData->mbInTimeout )
{
pPrevTimerData = pTimerData;
pTimerData = pTimerData->mpNext;
}
- // Wurde Timer zwischenzeitlich zerstoert ?
+ // Was timer destroyed in the meantime?
else if ( pTimerData->mbDelete )
{
if ( pPrevTimerData )
@@ -176,7 +175,7 @@ void Timer::ImplTimerCallbackProc()
else
{
pTimerData->mnTimerUpdate = 0;
- // kleinste Zeitspanne ermitteln
+ // determine smallest time slot
if ( pTimerData->mnUpdateTime == nTime )
{
nDeltaTime = pTimerData->mpSVTimer->mnTimeout;
@@ -200,7 +199,7 @@ void Timer::ImplTimerCallbackProc()
}
}
- // Wenn keine Timer mehr existieren, dann Clock loeschen
+ // delete clock if no more timers available
if ( !pSVData->mpFirstTimerData )
{
pSVData->mpSalTimer->Stop();
@@ -261,7 +260,7 @@ void Timer::SetTimeout( sal_uLong nNewTimeout )
{
mnTimeout = nNewTimeout;
- // Wenn Timer aktiv, dann Clock erneuern
+ // if timer is active then renew clock
if ( mbActive )
{
ImplSVData* pSVData = ImplGetSVData();
@@ -297,7 +296,7 @@ void Timer::Start()
mpTimerData->mbDelete = sal_False;
mpTimerData->mbInTimeout = sal_False;
- // !!!!! Wegen SFX hinten einordnen !!!!!
+ // insert last due to SFX!
ImplTimerData* pPrev = NULL;
ImplTimerData* pData = pSVData->mpFirstTimerData;
while ( pData )