summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorRob Snelders <programming@ertai.nl>2011-02-08 20:59:20 +0100
committerChristina Rossmanith <ChrRossmanith@web.de>2011-02-08 20:59:40 +0100
commit123ada6af7bd336aa07260646ee0adca33c8cbbc (patch)
treeadf37f77324743d4815fe4ee84761821f191bdbb /linguistic
parent48c6d8dfd592bb6e6692d209caf19e230d7d3831 (diff)
translated comments
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/dicimp.cxx12
-rw-r--r--linguistic/source/dlistimp.cxx2
-rw-r--r--linguistic/source/grammarchecker.cxx2
-rw-r--r--linguistic/source/lngopt.cxx2
-rw-r--r--linguistic/source/lngprophelp.cxx4
-rw-r--r--linguistic/source/lngsvcmgr.cxx2
-rw-r--r--linguistic/workben/sprophelp.cxx2
-rw-r--r--linguistic/workben/sspellimp.cxx2
8 files changed, 14 insertions, 14 deletions
diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx
index f7f34694bfe9..9a44092bd86d 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 b4a51de2dc25..85325e7105cd 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 bf782c0579fd..3837ceaa32e7 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 4e102bf1aaa6..2056e4d1b4d6 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 4613faa3f16a..b432bf1e5fa2 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 9811263648fc..8bdfd2d3dada 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 9a81205def23..8d01ec4fa0bf 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 c8c80de16d8e..244930d70c25 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;
}