[Libreoffice-commits] .: sc/inc
Christina Rossmanith
crossmanith at kemper.freedesktop.org
Fri Mar 11 23:56:21 PST 2011
sc/inc/callform.hxx | 5 -----
sc/inc/cell.hxx | 16 ++--------------
sc/inc/cellform.hxx | 6 +++---
sc/inc/chartarr.hxx | 4 ++--
sc/inc/chartlis.hxx | 8 ++++----
sc/inc/chartuno.hxx | 4 ++--
sc/inc/chgtrack.hxx | 2 +-
sc/inc/collect.hxx | 8 +++-----
8 files changed, 17 insertions(+), 36 deletions(-)
New commits:
commit 486b73ed3428f9694fb7fd74d7f9ea99c2687c69
Author: Nicolas Christener <nc at adfinis.com>
Date: Fri Mar 11 23:03:40 2011 +0100
translate german comments in /sc/inc
diff --git a/sc/inc/callform.hxx b/sc/inc/callform.hxx
index df22605..1c7ce15 100644
--- a/sc/inc/callform.hxx
+++ b/sc/inc/callform.hxx
@@ -33,11 +33,9 @@
#include <rtl/ustring.hxx>
-//------------------------------------------------------------------------
#define MAXFUNCPARAM 16
#define MAXARRSIZE 0xfffe
-//------------------------------------------------------------------------
#ifndef WIN
#ifndef WNT
#define CALLTYPE
@@ -54,7 +52,6 @@ extern "C" {
typedef void (CALLTYPE* AdvData)( double& nHandle, void* pData );
}
-//------------------------------------------------------------------------
enum ParamType
{
PTR_DOUBLE,
@@ -65,7 +62,6 @@ enum ParamType
NONE
};
-//------------------------------------------------------------------------
class ModuleData;
class FuncData : public ScDataObject
{
@@ -108,7 +104,6 @@ public:
};
-//------------------------------------------------------------------------
class FuncCollection : public ScSortedCollection
{
public:
diff --git a/sc/inc/cell.hxx b/sc/inc/cell.hxx
index 38e85ef..28b6ef8 100644
--- a/sc/inc/cell.hxx
+++ b/sc/inc/cell.hxx
@@ -114,7 +114,7 @@ public:
Returns false for formula cells returning nothing, use HasEmptyData() for that. */
bool IsBlank( bool bIgnoreNotes = false ) const;
-// fuer Idle-Berechnung
+// for idle-calculations
inline USHORT GetTextWidth() const { return nTextWidth; }
inline void SetTextWidth( USHORT nNew ) { nTextWidth = nNew; }
@@ -161,7 +161,7 @@ public:
BOOL HasEmptyData() const;
BOOL HasValueData() const;
BOOL HasStringData() const;
- String GetStringData() const; // nur echte Strings
+ String GetStringData() const; // only real strings
static BOOL CellEqual( const ScBaseCell* pCell1, const ScBaseCell* pCell2 );
@@ -200,8 +200,6 @@ private:
ScNoteCell( const ScNoteCell& );
};
-// ============================================================================
-
class SC_DLLPUBLIC ScValueCell : public ScBaseCell
{
public:
@@ -222,8 +220,6 @@ private:
double mfValue;
};
-// ============================================================================
-
class SC_DLLPUBLIC ScStringCell : public ScBaseCell
{
public:
@@ -246,8 +242,6 @@ private:
String maString;
};
-// ============================================================================
-
class SC_DLLPUBLIC ScEditCell : public ScBaseCell
{
private:
@@ -286,8 +280,6 @@ public:
void RemoveCharAttribs( const ScPatternAttr& rAttr );
};
-// ============================================================================
-
class ScEditDataArray
{
public:
@@ -330,8 +322,6 @@ private:
::std::vector<Item> maArray;
};
-// ============================================================================
-
enum ScMatrixMode {
MM_NONE = 0, // No matrix formula
MM_FORMULA = 1, // Upper left matrix formula cell
@@ -554,8 +544,6 @@ public:
ScToken* GetNextRefToken();
};
-// ============================================================================
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/cellform.hxx b/sc/inc/cellform.hxx
index 9274020..9998c8c 100644
--- a/sc/inc/cellform.hxx
+++ b/sc/inc/cellform.hxx
@@ -39,9 +39,9 @@ class SvNumberFormatter;
class Color;
enum ScForceTextFmt {
- ftDontForce, // Zahlen als Zahlen
- ftForce, // Zahlen als Text
- ftCheck // ist das Zahlenformat ein Textformat?
+ ftDontForce, // numbers as numbers
+ ftForce, // numbers as text
+ ftCheck // is the numberformat a textformat?
};
//------------------------------------------------------------------------
diff --git a/sc/inc/chartarr.hxx b/sc/inc/chartarr.hxx
index 32d3876..83a46de 100644
--- a/sc/inc/chartarr.hxx
+++ b/sc/inc/chartarr.hxx
@@ -69,12 +69,12 @@ public:
};
-class SC_DLLPUBLIC ScChartArray : public ScDataObject // nur noch Parameter-Struct
+class SC_DLLPUBLIC ScChartArray : public ScDataObject // only parameter-struct
{
String aName;
ScDocument* pDocument;
ScChartPositioner aPositioner;
- BOOL bValid; // fuer Erzeugung aus SchMemChart
+ BOOL bValid; // for creation out of SchMemChart
private:
ScMemChart* CreateMemChartSingle();
diff --git a/sc/inc/chartlis.hxx b/sc/inc/chartlis.hxx
index 6b93791..7bcde42 100644
--- a/sc/inc/chartlis.hxx
+++ b/sc/inc/chartlis.hxx
@@ -76,7 +76,7 @@ private:
ScChartUnoData* pUnoData;
ScDocument* pDoc;
- BOOL bUsed; // fuer ScChartListenerCollection::FreeUnused
+ BOOL bUsed; // for ScChartListenerCollection::FreeUnused
BOOL bDirty;
BOOL bSeriesRangesScheduled;
@@ -172,13 +172,13 @@ public:
virtual ~ScChartListenerCollection();
- // nur nach copy-ctor noetig, wenn neu ins Dok gehaengt
+ // only needed after copy-ctor, if newly added to doc
void StartAllListeners();
void ChangeListening( const String& rName,
const ScRangeListRef& rRangeListRef,
BOOL bDirty = FALSE );
- // FreeUnused nur wie in ScDocument::UpdateChartListenerCollection verwenden!
+ // use FreeUnused only the way it's used in ScDocument::UpdateChartListenerCollection
void FreeUnused();
void FreeUno( const com::sun::star::uno::Reference< com::sun::star::chart::XChartDataChangeEventListener >& rListener,
const com::sun::star::uno::Reference< com::sun::star::chart::XChartData >& rSource );
@@ -188,7 +188,7 @@ public:
void SetDiffDirty( const ScChartListenerCollection&,
BOOL bSetChartRangeLists = FALSE );
- void SetRangeDirty( const ScRange& rRange ); // z.B. Zeilen/Spalten
+ void SetRangeDirty( const ScRange& rRange ); // for example rows/columns
void UpdateScheduledSeriesRanges();
void UpdateChartsContainingTab( SCTAB nTab );
diff --git a/sc/inc/chartuno.hxx b/sc/inc/chartuno.hxx
index 93f02a1..5f987d9 100644
--- a/sc/inc/chartuno.hxx
+++ b/sc/inc/chartuno.hxx
@@ -60,7 +60,7 @@ class ScChartsObj : public cppu::WeakImplHelper4<
{
private:
ScDocShell* pDocShell;
- SCTAB nTab; // Charts sind pro Sheet
+ SCTAB nTab; // Charts are per sheet
ScChartObj* GetObjectByIndex_Impl(long nIndex) const;
ScChartObj* GetObjectByName_Impl(const ::rtl::OUString& aName) const;
@@ -134,7 +134,7 @@ class ScChartObj : public ::comphelper::OBaseMutex
{
private:
ScDocShell* pDocShell;
- SCTAB nTab; // Charts sind pro Sheet
+ SCTAB nTab; // Charts are per sheet
String aChartName;
void Update_Impl( const ScRangeListRef& rRanges, bool bColHeaders, bool bRowHeaders );
diff --git a/sc/inc/chgtrack.hxx b/sc/inc/chgtrack.hxx
index 4bb75ca..fc6632d 100644
--- a/sc/inc/chgtrack.hxx
+++ b/sc/inc/chgtrack.hxx
@@ -619,7 +619,7 @@ class ScChangeActionMove : public ScChangeAction
ScBigRange aFromRange;
ScChangeTrack* pTrack;
ScChangeActionCellListEntry* pFirstCell;
- ULONG nStartLastCut; // fuer PasteCut Undo
+ ULONG nStartLastCut; // for PasteCut undo
ULONG nEndLastCut;
ScChangeActionMove( const ScRange& rFromRange,
diff --git a/sc/inc/collect.hxx b/sc/inc/collect.hxx
index eefecd3..13263a5 100644
--- a/sc/inc/collect.hxx
+++ b/sc/inc/collect.hxx
@@ -90,7 +90,7 @@ class SC_DLLPUBLIC ScSortedCollection : public ScCollection
private:
BOOL bDuplicates;
protected:
- // fuer ScStrCollection Load/Store
+ // for ScStrCollection load/store
void SetDups( BOOL bVal ) { bDuplicates = bVal; }
BOOL IsDups() const { return bDuplicates; }
public:
@@ -121,13 +121,11 @@ public:
StrData(const StrData& rData) : ScDataObject(), aStr(rData.aStr) {}
virtual ScDataObject* Clone() const;
const String& GetString() const { return aStr; }
- // SetString nur, wenn StrData nicht in ScStrCollection ist! !!!
- // z.B. fuer Searcher
+ // SetString only, if StrData is not in ScStrCollection! for example
+ // for Searcher
void SetString( const String& rNew ) { aStr = rNew; }
};
-//------------------------------------------------------------------------
-
class SvStream;
class SC_DLLPUBLIC ScStrCollection : public ScSortedCollection
More information about the Libreoffice-commits
mailing list