[Libreoffice-commits] .: linguistic/source vbahelper/source
Michael Meeks
mmeeks at kemper.freedesktop.org
Thu Feb 10 02:02:01 PST 2011
linguistic/source/dlistimp.cxx | 7 +++----
vbahelper/source/vbahelper/vbaapplicationbase.cxx | 2 +-
2 files changed, 4 insertions(+), 5 deletions(-)
New commits:
commit 1ac2a815aa58a0636d3d0422e62a6dcf06b237e6
Author: Rob Snelders <rob at ertai.nl>
Date: Thu Feb 10 09:59:21 2011 +0000
translate comments
diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx
index aed850b..16b6881 100644
--- a/linguistic/source/dlistimp.cxx
+++ b/linguistic/source/dlistimp.cxx
@@ -345,7 +345,7 @@ void DicList::SearchForDictionaries(
if(!::IsVers2OrNewer( aURL, nLang, bNeg ))
{
- // Wenn kein
+ // When not
xub_StrLen nPos = aURL.Search('.');
String aExt(aURL.Copy(nPos + 1));
aExt.ToLowerAscii();
@@ -358,9 +358,8 @@ void DicList::SearchForDictionaries(
continue; // andere Files
}
- // Aufnehmen in die Liste der Dictionaries
- // Wenn existent nicht aufnehmen
- //
+ // Record in the list of Dictoinaries
+ // When it already exists don't record
INT16 nSystemLanguage = MsLangId::getSystemLanguage();
String aTmp1 = ToLower( aURL, nSystemLanguage );
xub_StrLen nPos = aTmp1.SearchBackward( '/' );
diff --git a/vbahelper/source/vbahelper/vbaapplicationbase.cxx b/vbahelper/source/vbahelper/vbaapplicationbase.cxx
index 3dc77cb..33809cb 100644
--- a/vbahelper/source/vbahelper/vbaapplicationbase.cxx
+++ b/vbahelper/source/vbahelper/vbaapplicationbase.cxx
@@ -89,7 +89,7 @@ public:
Time aTimeNow;
Date aRefDate( 1,1,1900 );
long nDiffDays = (long)(aDateNow - aRefDate);
- nDiffDays += 2; // Anpassung VisualBasic: 1.Jan.1900 == 2
+ nDiffDays += 2; // Change VisualBasic: 1.Jan.1900 == 2
long nDiffSeconds = aTimeNow.GetHour() * 3600 + aTimeNow.GetMin() * 60 + aTimeNow.GetSec();
return (double)nDiffDays + ((double)nDiffSeconds)/(double)(24*3600);
More information about the Libreoffice-commits
mailing list