[Libreoffice-commits] core.git: sc/source
Johnny_M
klasse at partyheld.de
Thu Mar 30 10:05:15 UTC 2017
sc/source/core/tool/callform.cxx | 4 ++--
sc/source/core/tool/chartlis.cxx | 2 +-
sc/source/core/tool/interpr2.cxx | 4 ++--
sc/source/core/tool/interpr3.cxx | 8 ++++----
sc/source/core/tool/prnsave.cxx | 4 ++--
sc/source/filter/inc/ftools.hxx | 8 ++++----
sc/source/filter/inc/lotattr.hxx | 4 ++--
7 files changed, 17 insertions(+), 17 deletions(-)
New commits:
commit 56923c7b6452b734d554a95f47b7e3703326f032
Author: Johnny_M <klasse at partyheld.de>
Date: Wed Mar 29 18:26:13 2017 +0000
Translate German comments (leftovers)
Translated leftovers in sc/source/core/tool/ and sc/source/filter/inc/
Change-Id: I4dff3d58a4ff5fb93d1fd3b6ab6695c868998e23
Reviewed-on: https://gerrit.libreoffice.org/35879
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Michael Stahl <mstahl at redhat.com>
diff --git a/sc/source/core/tool/callform.cxx b/sc/source/core/tool/callform.cxx
index 1dc5e59dd9c3..65f1d0c21265 100644
--- a/sc/source/core/tool/callform.cxx
+++ b/sc/source/core/tool/callform.cxx
@@ -192,11 +192,11 @@ bool InitExternalFunc(const OUString& rModuleName)
(*reinterpret_cast<SetLanguagePtr>(fpSetLanguage))( nLanguage );
}
- // Module in die Collection aufnehmen
+ // include module into the collection
ModuleData* pModuleData = new ModuleData(rModuleName, pLib.release());
aModuleCollection.insert(pModuleData);
- // Schnittstelle initialisieren
+ // initialize interface
AdvData pfCallBack = &ScAddInAsyncCallBack;
LegacyFuncCollection* pLegacyFuncCol = ScGlobal::GetLegacyFuncCollection();
sal_uInt16 nCount;
diff --git a/sc/source/core/tool/chartlis.cxx b/sc/source/core/tool/chartlis.cxx
index 98a501319662..f482c39389ef 100644
--- a/sc/source/core/tool/chartlis.cxx
+++ b/sc/source/core/tool/chartlis.cxx
@@ -716,7 +716,7 @@ void ScChartListenerCollection::UpdateChartsContainingTab( SCTAB nTab )
bool ScChartListenerCollection::operator==( const ScChartListenerCollection& r ) const
{
- // Do not use ScStrCollection::operator==() here that uses IsEqual und Compare.
+ // Do not use ScStrCollection::operator==() here that uses IsEqual and Compare.
// Use ScChartListener::operator==() instead.
if (pDoc != r.pDoc || m_Listeners.size() != r.m_Listeners.size())
return false;
diff --git a/sc/source/core/tool/interpr2.cxx b/sc/source/core/tool/interpr2.cxx
index 9f6894868e8f..381bb07e9395 100644
--- a/sc/source/core/tool/interpr2.cxx
+++ b/sc/source/core/tool/interpr2.cxx
@@ -2759,7 +2759,7 @@ void ScInterpreter::ScDde()
if ( rArr.IsRecalcModeNormal() )
rArr.SetExclusiveRecalcModeOnLoad();
- // while the link ist not evaluated idle must be disabled (to avoid circular references)
+ // while the link is not evaluated, idle must be disabled (to avoid circular references)
bool bOldEnabled = pDok->IsIdleEnabled();
pDok->EnableIdle(false);
@@ -2905,7 +2905,7 @@ void ScInterpreter::ScBase()
// fDebug1 := 1,3848924157003e+275 <- RoundOff-Error
// fVal != fMult, aber: ::rtl::math::approxEqual( fVal, fMult ) == TRUE
double fDebug2 = ::rtl::math::approxSub( fVal, fMult );
- // und ::rtl::math::approxSub( fVal, fMult ) == 0
+ // and ::rtl::math::approxSub( fVal, fMult ) == 0
double fDebug3 = ( fInt ? fVal / fInt : 0.0 );
// Actual after strange fDebug1 and fVal < fMult is fDebug2 == fBase, but
diff --git a/sc/source/core/tool/interpr3.cxx b/sc/source/core/tool/interpr3.cxx
index e2d9d2f8c1ff..f0f1d843fd54 100644
--- a/sc/source/core/tool/interpr3.cxx
+++ b/sc/source/core/tool/interpr3.cxx
@@ -161,7 +161,7 @@ static double lcl_IterateInverse( const ScDistFunc& rFunction, double fAx, doubl
return fRx;
}
-// Allgemeine Funktionen
+// General functions
void ScInterpreter::ScNoName()
{
@@ -2241,9 +2241,9 @@ void ScInterpreter::ScBetaInv()
PushDouble(fA + fVal*(fB-fA)); // scale to (A,B)
}
- // Achtung: T, F und Chi
- // sind monoton fallend,
- // deshalb 1-Dist als Funktion
+ // Note: T, F, and Chi are
+ // monotonically decreasing,
+ // therefore 1-Dist as function
class ScTDistFunction : public ScDistFunc
{
diff --git a/sc/source/core/tool/prnsave.cxx b/sc/source/core/tool/prnsave.cxx
index 7cc5359713bc..adb5aff85afa 100644
--- a/sc/source/core/tool/prnsave.cxx
+++ b/sc/source/core/tool/prnsave.cxx
@@ -23,7 +23,7 @@
#include <osl/diagnose.h>
-// Daten pro Tabelle
+// Data per table
ScPrintSaverTab::ScPrintSaverTab() :
mpRepeatCol(nullptr),
@@ -66,7 +66,7 @@ bool ScPrintSaverTab::operator==( const ScPrintSaverTab& rCmp ) const
(maPrintRanges == rCmp.maPrintRanges);
}
-// Daten fuer das ganze Dokument
+// Data for the whole document
ScPrintRangeSaver::ScPrintRangeSaver( SCTAB nCount ) :
nTabCount( nCount )
diff --git a/sc/source/filter/inc/ftools.hxx b/sc/source/filter/inc/ftools.hxx
index 3f624ba3f261..ea2ce501ac67 100644
--- a/sc/source/filter/inc/ftools.hxx
+++ b/sc/source/filter/inc/ftools.hxx
@@ -266,10 +266,10 @@ public:
virtual FltError ScImportLotus123( SfxMedium&, ScDocument*, rtl_TextEncoding eSrc ) override;
virtual FltError ScImportQuattroPro( SfxMedium &rMedium, ScDocument *pDoc ) override;
virtual FltError ScImportExcel( SfxMedium&, ScDocument*, const EXCIMPFORMAT ) override;
- // eFormat == EIF_AUTO -> passender Filter wird automatisch verwendet
- // eFormat == EIF_BIFF5 -> nur Biff5-Stream fuehrt zum Erfolg (auch wenn in einem Excel97-Doc)
- // eFormat == EIF_BIFF8 -> nur Biff8-Stream fuehrt zum Erfolg (nur in Excel97-Docs)
- // eFormat == EIF_BIFF_LE4 -> nur Nicht-Storage-Dateien _koennen_ zum Erfolg fuehren
+ // eFormat == EIF_AUTO -> matching filter is used automatically
+ // eFormat == EIF_BIFF5 -> only Biff5 stream leads to success (even in an Excel97 doc)
+ // eFormat == EIF_BIFF8 -> only Biff8 stream leads to success (only in Excel97 docs)
+ // eFormat == EIF_BIFF_LE4 -> only non-storage files _could_ lead to success
virtual FltError ScImportStarCalc10( SvStream&, ScDocument* ) override;
virtual FltError ScImportDif( SvStream&, ScDocument*, const ScAddress& rInsPos,
const rtl_TextEncoding eSrc ) override;
diff --git a/sc/source/filter/inc/lotattr.hxx b/sc/source/filter/inc/lotattr.hxx
index 2c3b3905d4f2..3c77be21d3e5 100644
--- a/sc/source/filter/inc/lotattr.hxx
+++ b/sc/source/filter/inc/lotattr.hxx
@@ -45,7 +45,7 @@ struct LotAttrWK3
bool HasStyles () const
{
return ( nFont || nLineStyle || nFontCol || ( nBack & 0x7F ) );
- // !! ohne Center-Bit!!
+ // !! without center bit!!
}
bool IsCentered () const
@@ -93,7 +93,7 @@ private:
const Color& GetColor( const sal_uInt8 nLotIndex ) const;
ScDocumentPool* pDocPool;
- SvxColorItem* ppColorItems[6]; // 0 und 7 fehlen!
+ SvxColorItem* ppColorItems[6]; // 0 and 7 are missing!
SvxColorItem* pBlack;
SvxColorItem* pWhite;
Color* pColTab;
More information about the Libreoffice-commits
mailing list