[Libreoffice-commits] .: linguistic/source linguistic/workben ucb/source
Christina Rossmanith
crossmanith at kemper.freedesktop.org
Tue Feb 8 12:00:10 PST 2011
linguistic/source/dicimp.cxx | 12 ++++++------
linguistic/source/dlistimp.cxx | 2 +-
linguistic/source/grammarchecker.cxx | 2 +-
linguistic/source/lngopt.cxx | 2 +-
linguistic/source/lngprophelp.cxx | 4 ++--
linguistic/source/lngsvcmgr.cxx | 2 +-
linguistic/workben/sprophelp.cxx | 2 +-
linguistic/workben/sspellimp.cxx | 2 +-
ucb/source/sorter/sortdynres.cxx | 4 ++--
9 files changed, 16 insertions(+), 16 deletions(-)
New commits:
commit f5703918c44ec6aac157a9313f582106bea736aa
Author: Rob Snelders <programming at ertai.nl>
Date: Tue Feb 8 20:59:20 2011 +0100
translated comments
diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx
index 2f42fd0..4974efc 100644
--- a/linguistic/source/dicimp.cxx
+++ b/linguistic/source/dicimp.cxx
@@ -298,7 +298,7 @@ ULONG DictionaryNeo::loadEntries(const OUString &rMainURL)
ULONG nErr = sal::static_int_cast< ULONG >(-1);
- // Header einlesen
+ // read header
BOOL bNegativ;
USHORT nLang;
nDicVersion = ReadDicVersion(pStream, nLang, bNegativ);
@@ -321,7 +321,7 @@ ULONG DictionaryNeo::loadEntries(const OUString &rMainURL)
USHORT nLen = 0;
sal_Char aWordBuf[ BUFSIZE ];
- // Das erste Wort einlesen
+ // Read the first word
if (!pStream->IsEof())
{
*pStream >> nLen;
@@ -338,8 +338,8 @@ ULONG DictionaryNeo::loadEntries(const OUString &rMainURL)
while(!pStream->IsEof())
{
- // Aus dem File einlesen
- // Einfuegen ins Woerterbuch ohne Konvertierung
+ // Read from file
+ // Paste in dictionary without converting
if(*aWordBuf)
{
ByteString aDummy( aWordBuf );
@@ -350,7 +350,7 @@ ULONG DictionaryNeo::loadEntries(const OUString &rMainURL)
}
*pStream >> nLen;
- if (pStream->IsEof()) // #75082# GPF in online-spelling
+ if (pStream->IsEof())
break;
if (0 != (nErr = pStream->GetError()))
return nErr;
@@ -493,7 +493,7 @@ ULONG DictionaryNeo::saveEntries(const OUString &rURL)
pVerStr = pVerStr6;
else
pVerStr = eDicType == DictionaryType_POSITIVE ? pVerStr2 : pVerStr5;
- strcpy( aWordBuf, pVerStr ); // #100211# - checked
+ strcpy( aWordBuf, pVerStr );
USHORT nLen = sal::static_int_cast< USHORT >(strlen( aWordBuf ));
*pStream << nLen;
if (0 != (nErr = pStream->GetError()))
diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx
index 3b8e292..aed850b 100644
--- a/linguistic/source/dlistimp.cxx
+++ b/linguistic/source/dlistimp.cxx
@@ -790,7 +790,7 @@ uno::Sequence< rtl::OUString > DicList::getSupportedServiceNames_Static() throw(
{
osl::MutexGuard aGuard( GetLinguMutex() );
- uno::Sequence< rtl::OUString > aSNS( 1 ); // auch mehr als 1 Service moeglich
+ uno::Sequence< rtl::OUString > aSNS( 1 ); // more than 1 service possible
aSNS.getArray()[0] = A2OU( SN_DICTIONARY_LIST );
return aSNS;
}
diff --git a/linguistic/source/grammarchecker.cxx b/linguistic/source/grammarchecker.cxx
index 5a625df..4f1bdf0 100644
--- a/linguistic/source/grammarchecker.cxx
+++ b/linguistic/source/grammarchecker.cxx
@@ -260,7 +260,7 @@ uno::Sequence< OUString > GrammarChecker::getSupportedServiceNames_Static( ) th
{
//osl::Guard< osl::Mutex > aGuard(GetMutex());
- uno::Sequence< OUString > aSNS( 1 ); // auch mehr als 1 Service moeglich
+ uno::Sequence< OUString > aSNS( 1 ); // more than 1 service possible
aSNS.getArray()[0] = A2OU( "com.sun.star.linguistic2.GrammarChecker" );//SN_LINGU_SERVCICE_MANAGER
return aSNS;
}
diff --git a/linguistic/source/lngopt.cxx b/linguistic/source/lngopt.cxx
index 7a1cbb5..a683e7f 100644
--- a/linguistic/source/lngopt.cxx
+++ b/linguistic/source/lngopt.cxx
@@ -656,7 +656,7 @@ uno::Sequence< OUString > LinguProps::getSupportedServiceNames_Static()
{
MutexGuard aGuard( GetLinguMutex() );
- uno::Sequence< OUString > aSNS( 1 ); // auch mehr als 1 Service moeglich
+ uno::Sequence< OUString > aSNS( 1 ); // more than 1 service possible
aSNS.getArray()[0] = A2OU( SN_LINGU_PROPERTIES );
return aSNS;
}
diff --git a/linguistic/source/lngprophelp.cxx b/linguistic/source/lngprophelp.cxx
index e46b44d..a95ebea 100644
--- a/linguistic/source/lngprophelp.cxx
+++ b/linguistic/source/lngprophelp.cxx
@@ -528,7 +528,7 @@ void PropertyHelper_Spell::SetTmpPropVals( const PropertyValues &rPropVals )
nResMaxNumberOfSuggestions = GetDefaultNumberOfSuggestions();
bResIsSpellWithDigits = bIsSpellWithDigits;
bResIsSpellCapitalization = bIsSpellCapitalization;
- //
+
INT32 nLen = rPropVals.getLength();
if (nLen)
{
@@ -690,7 +690,7 @@ void PropertyHelper_Hyphen::SetTmpPropVals( const PropertyValues &rPropVals )
nResHyphMinLeading = nHyphMinLeading;
nResHyphMinTrailing = nHyphMinTrailing;
nResHyphMinWordLength = nHyphMinWordLength;
- //
+
INT32 nLen = rPropVals.getLength();
if (nLen)
{
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx
index a46918c..2596ef6 100644
--- a/linguistic/source/lngsvcmgr.cxx
+++ b/linguistic/source/lngsvcmgr.cxx
@@ -1955,7 +1955,7 @@ uno::Sequence< OUString > LngSvcMgr::getSupportedServiceNames_Static()
{
osl::MutexGuard aGuard( GetLinguMutex() );
- uno::Sequence< OUString > aSNS( 1 ); // auch mehr als 1 Service moeglich
+ uno::Sequence< OUString > aSNS( 1 ); // more than 1 service possible
aSNS.getArray()[0] = A2OU( SN_LINGU_SERVCICE_MANAGER );
return aSNS;
}
diff --git a/linguistic/workben/sprophelp.cxx b/linguistic/workben/sprophelp.cxx
index aa41324..d887e57 100644
--- a/linguistic/workben/sprophelp.cxx
+++ b/linguistic/workben/sprophelp.cxx
@@ -344,7 +344,7 @@ void PropertyHelper_Spell::SetTmpPropVals( const PropertyValues &rPropVals )
bResIsSpellUpperCase = bIsSpellUpperCase;
bResIsSpellWithDigits = bIsSpellWithDigits;
bResIsSpellCapitalization = bIsSpellCapitalization;
- //
+
INT32 nLen = rPropVals.getLength();
if (nLen)
{
diff --git a/linguistic/workben/sspellimp.cxx b/linguistic/workben/sspellimp.cxx
index 1339b30..e8d1ef9 100644
--- a/linguistic/workben/sspellimp.cxx
+++ b/linguistic/workben/sspellimp.cxx
@@ -457,7 +457,7 @@ Sequence< OUString > SpellChecker::getSupportedServiceNames_Static()
{
MutexGuard aGuard( GetLinguMutex() );
- Sequence< OUString > aSNS( 1 ); // auch mehr als 1 Service moeglich
+ Sequence< OUString > aSNS( 1 ); // more than 1 service possible
aSNS.getArray()[0] = A2OU( SN_SPELLCHECKER );
return aSNS;
}
diff --git a/ucb/source/sorter/sortdynres.cxx b/ucb/source/sorter/sortdynres.cxx
index d3a666c..0402355 100644
--- a/ucb/source/sorter/sortdynres.cxx
+++ b/ucb/source/sorter/sortdynres.cxx
@@ -320,8 +320,8 @@ SortedDynamicResultSet::impl_notify( const ListEvent& Changes )
SortedResultSet *pCurSet = NULL;
- // mxNew und mxOld vertauschen und anschliessend die Tabellen von Old
- // nach New kopieren
+ // exchange mxNew and mxOld and immediately afterwards copy the tables
+ // from Old to New
if ( mbGotWelcome )
{
if ( mbUseOne )
More information about the Libreoffice-commits
mailing list