diff options
-rw-r--r-- | sc/inc/callform.hxx | 5 | ||||
-rw-r--r-- | sc/inc/cell.hxx | 16 | ||||
-rw-r--r-- | sc/inc/cellform.hxx | 6 | ||||
-rw-r--r-- | sc/inc/chartarr.hxx | 4 | ||||
-rw-r--r-- | sc/inc/chartlis.hxx | 8 | ||||
-rw-r--r-- | sc/inc/chartuno.hxx | 4 | ||||
-rw-r--r-- | sc/inc/chgtrack.hxx | 2 | ||||
-rw-r--r-- | sc/inc/collect.hxx | 8 |
8 files changed, 17 insertions, 36 deletions
diff --git a/sc/inc/callform.hxx b/sc/inc/callform.hxx index 5331ba469b79..dd3df165a7eb 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 a75476a25004..38c1f80c69bc 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 9b7bc5236ae0..290c4d7661ee 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 f3604756eab8..58890f7c92c0 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 2fed42309ed1..102409509d10 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 ce778ad62423..179fb789e178 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 f7e2e72551ad..ca7c10307eb1 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 9e0b1a66c1bd..3edf85120d9f 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 |