diff options
author | Nicolas Christener <nc@adfinis.com> | 2011-03-12 22:07:05 +0100 |
---|---|---|
committer | Christina Rossmanith <ChrRossmanith@web.de> | 2011-03-13 19:40:00 +0100 |
commit | e02b8039e756945c3490d1b898516f513ef54568 (patch) | |
tree | 5f95350e5fc9515f942f8096936b2c4f7cb720f5 /sc | |
parent | OSL_TRACE: Use format string for GetBuffer() (diff) | |
download | core-e02b8039e756945c3490d1b898516f513ef54568.tar.gz core-e02b8039e756945c3490d1b898516f513ef54568.zip |
translate german comments in /sc/inc
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/consoli.hxx | 5 | ||||
-rw-r--r-- | sc/inc/dapiuno.hxx | 34 | ||||
-rw-r--r-- | sc/inc/dbcolect.hxx | 4 | ||||
-rw-r--r-- | sc/inc/detdata.hxx | 8 | ||||
-rw-r--r-- | sc/inc/dociter.hxx | 8 | ||||
-rw-r--r-- | sc/inc/docpool.hxx | 2 | ||||
-rw-r--r-- | sc/inc/document.hxx | 6 | ||||
-rw-r--r-- | sc/inc/docuno.hxx | 2 | ||||
-rw-r--r-- | sc/inc/dpdimsave.hxx | 11 |
9 files changed, 8 insertions, 72 deletions
diff --git a/sc/inc/consoli.hxx b/sc/inc/consoli.hxx index 5b52f49e03ce..f72813ab9458 100644 --- a/sc/inc/consoli.hxx +++ b/sc/inc/consoli.hxx @@ -34,8 +34,6 @@ class ScDocument; -// ----------------------------------------------------------------------- - struct ScReferenceEntry // without constructor ! { SCCOL nCol; @@ -64,9 +62,6 @@ public: void AddEntry( SCCOL nCol, SCROW nRow, SCTAB nTab ); }; -// ----------------------------------------------------------------------- - - // // Sequence: // 1) create ScConsData diff --git a/sc/inc/dapiuno.hxx b/sc/inc/dapiuno.hxx index c4612f6a571c..b834970d9aa4 100644 --- a/sc/inc/dapiuno.hxx +++ b/sc/inc/dapiuno.hxx @@ -94,8 +94,6 @@ public: const ScDPNumGroupInfo& rGroupInfo ); }; -// ============================================================================ - /** DataPilotTables collection per sheet. */ class ScDataPilotTablesObj : public cppu::WeakImplHelper4< com::sun::star::sheet::XDataPilotTables, @@ -163,8 +161,6 @@ public: throw(::com::sun::star::uno::RuntimeException); }; -// ============================================================================ - // ScDataPilotDescriptorBase is never instantiated directly class ScDataPilotDescriptorBase : public com::sun::star::sheet::XDataPilotDescriptor, public com::sun::star::beans::XPropertySet, @@ -193,7 +189,7 @@ public: ScDocShell* GetDocShell() const { return pDocShell; } - // in den Ableitungen: + // in the derivatives: virtual ScDPObject* GetDPObject() const = 0; virtual void SetDPObject(ScDPObject* pDPObj) = 0; @@ -283,8 +279,6 @@ public: // XServiceInfo is in derived classes }; -// ============================================================================ - class ScDataPilotDescriptor : public ScDataPilotDescriptorBase { private: @@ -314,8 +308,6 @@ public: throw(::com::sun::star::uno::RuntimeException); }; -// ============================================================================ - class ScDataPilotTableObj : public ScDataPilotDescriptorBase, public com::sun::star::sheet::XDataPilotTable2, public com::sun::star::util::XModifyBroadcaster @@ -394,8 +386,6 @@ public: throw(::com::sun::star::uno::RuntimeException); }; -// ============================================================================ - struct ScFieldIdentifier { ::rtl::OUString maFieldName; /// Source field name. @@ -409,8 +399,6 @@ struct ScFieldIdentifier maFieldName( rFieldName ), mnFieldIdx( nFieldIdx ), mbDataLayout( bDataLayout ) {} }; -// ============================================================================ - /** Base class of all implementation objects based on a DataPilot descriptor or DataPilot table object. Wraps acquiring and releasing the parent. */ class ScDataPilotChildObjBase @@ -442,8 +430,6 @@ private: ScDataPilotChildObjBase& operator=( const ScDataPilotChildObjBase& ); }; -// ============================================================================ - typedef ::cppu::WeakImplHelper4 < ::com::sun::star::container::XEnumerationAccess, @@ -508,8 +494,6 @@ private: ::com::sun::star::uno::Any maOrient; /// Field orientation, no value = all fields. }; -// ============================================================================ - typedef ::cppu::WeakImplHelper5 < ::com::sun::star::container::XNamed, @@ -585,7 +569,7 @@ public: virtual com::sun::star::uno::Reference<com::sun::star::container::XIndexAccess> SAL_CALL getItems() throw (::com::sun::star::uno::RuntimeException); - // nur noch aus Property-Funktionen gerufen: + // only called from property-functions: com::sun::star::sheet::DataPilotFieldOrientation getOrientation(void) const; void setOrientation(com::sun::star::sheet::DataPilotFieldOrientation Orientation); com::sun::star::sheet::GeneralFunction getFunction(void) const; @@ -637,8 +621,6 @@ private: ::com::sun::star::uno::Any maOrient; }; -// ============================================================================ - typedef ::std::vector< ::rtl::OUString > ScFieldGroupMembers; struct ScFieldGroup @@ -649,8 +631,6 @@ struct ScFieldGroup typedef ::std::vector< ScFieldGroup > ScFieldGroups; -// ============================================================================ - typedef ::cppu::WeakImplHelper4 < ::com::sun::star::container::XNameContainer, @@ -737,8 +717,6 @@ private: ScFieldGroups maGroups; }; -// ============================================================================ - typedef ::cppu::WeakImplHelper5 < ::com::sun::star::container::XNameContainer, @@ -819,8 +797,6 @@ private: ::rtl::OUString maGroupName; }; -// ============================================================================ - typedef ::cppu::WeakImplHelper2 < ::com::sun::star::container::XNamed, @@ -852,8 +828,6 @@ private: ::rtl::OUString maName; }; -// ============================================================================ - typedef ::cppu::WeakImplHelper4 < ::com::sun::star::container::XEnumerationAccess, @@ -907,8 +881,6 @@ private: ScDataPilotItemObj* GetObjectByIndex_Impl( sal_Int32 nIndex ) const; }; -// ============================================================================ - typedef ::cppu::WeakImplHelper3 < ::com::sun::star::container::XNamed, @@ -986,8 +958,6 @@ private: sal_Int32 mnIndex; }; -// ============================================================================ - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/inc/dbcolect.hxx b/sc/inc/dbcolect.hxx index 405ca44e9d8e..7d34d1572fcd 100644 --- a/sc/inc/dbcolect.hxx +++ b/sc/inc/dbcolect.hxx @@ -37,12 +37,8 @@ #include "address.hxx" #include "scdllapi.h" -//------------------------------------------------------------------------ - class ScDocument; -//------------------------------------------------------------------------ - class ScDBData : public ScDataObject, public ScRefreshTimer { diff --git a/sc/inc/detdata.hxx b/sc/inc/detdata.hxx index cc8b52afbb4e..66d584596b57 100644 --- a/sc/inc/detdata.hxx +++ b/sc/inc/detdata.hxx @@ -65,7 +65,7 @@ public: const ScAddress& GetPos() const { return aPos; } ScDetOpType GetOperation() const { return eOperation; } - // fuer UpdateRef: + // for UpdateRef: void SetPos(const ScAddress& rNew) { aPos=rNew; } int operator== ( const ScDetOpData& r ) const @@ -75,7 +75,7 @@ public: //------------------------------------------------------------------------ // -// Liste der Operationen +// list of operators // typedef ScDetOpData* ScDetOpDataPtr; @@ -84,7 +84,7 @@ SV_DECL_PTRARR_DEL(ScDetOpArr_Impl, ScDetOpDataPtr, SC_DETOP_GROW, SC_DETOP_GROW class ScDetOpList : public ScDetOpArr_Impl { - BOOL bHasAddError; // updated in Append + BOOL bHasAddError; // updated in append public: ScDetOpList() : bHasAddError(FALSE) {} @@ -95,7 +95,7 @@ public: void UpdateReference( ScDocument* pDoc, UpdateRefMode eUpdateRefMode, const ScRange& rRange, SCsCOL nDx, SCsROW nDy, SCsTAB nDz ); - BOOL operator==( const ScDetOpList& r ) const; // fuer Ref-Undo + BOOL operator==( const ScDetOpList& r ) const; // for ref-undo void Append( ScDetOpData* pData ); diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx index 05b78da87d0b..0aeab41d21b6 100644 --- a/sc/inc/dociter.hxx +++ b/sc/inc/dociter.hxx @@ -129,8 +129,6 @@ public: } }; -// ============================================================================ - class ScDBQueryDataIterator { public: @@ -216,8 +214,6 @@ public: bool GetNext(Value& rValue); }; -// ============================================================================ - class ScCellIterator // walk through all cells in an area { // for SubTotal no hidden and no sub-total lines private: @@ -514,8 +510,6 @@ public: const ScBaseCell* GetCell() const { return pFoundCell; } }; -// ============================================================================ - class ScRowBreakIterator { public: @@ -531,8 +525,6 @@ private: ::std::set<SCROW>::const_iterator maEnd; }; -// ============================================================================ - class ScDocRowHeightUpdater { public: diff --git a/sc/inc/docpool.hxx b/sc/inc/docpool.hxx index 61e75afe4a3c..573760d28b64 100644 --- a/sc/inc/docpool.hxx +++ b/sc/inc/docpool.hxx @@ -34,8 +34,6 @@ class ScStyleSheet; -//------------------------------------------------------------------------ - class SC_DLLPUBLIC ScDocumentPool: public SfxItemPool { SfxPoolItem** ppPoolDefaults; diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index d569c1d093b3..feaec42bc031 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -200,16 +200,12 @@ struct ScDocStat USHORT nPageCount; }; -// ----------------------------------------------------------------------- - // DDE link modes const BYTE SC_DDE_DEFAULT = 0; const BYTE SC_DDE_ENGLISH = 1; const BYTE SC_DDE_TEXT = 2; const BYTE SC_DDE_IGNOREMODE = 255; /// For usage in FindDdeLink() only! -// ----------------------------------------------------------------------- - class ScDocument { friend class ScDocumentIterator; @@ -418,7 +414,7 @@ public: SCSIZE GetCellCount(SCTAB nTab, SCCOL nCol) const; ULONG GetCodeCount() const; // RPN-Code in formulas DECL_LINK( GetUserDefinedColor, USHORT * ); - // Numberformatter + // number formatter public: SC_DLLPUBLIC ScDocument( ScDocumentMode eMode = SCDOCMODE_DOCUMENT, diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx index 179c0eb5a74f..e1cfa2b5a78e 100644 --- a/sc/inc/docuno.hxx +++ b/sc/inc/docuno.hxx @@ -740,7 +740,7 @@ class ScAnnotationsObj : public cppu::WeakImplHelper3< { private: ScDocShell* pDocShell; - SCTAB nTab; // Collection haengt am Sheet + SCTAB nTab; // Collection belongs to the sheet bool GetAddressByIndex_Impl( sal_Int32 nIndex, ScAddress& rPos ) const; ScAnnotationObj* GetObjectByIndex_Impl( sal_Int32 nIndex ) const; diff --git a/sc/inc/dpdimsave.hxx b/sc/inc/dpdimsave.hxx index 382c72b7a189..3c377c04b1e8 100644 --- a/sc/inc/dpdimsave.hxx +++ b/sc/inc/dpdimsave.hxx @@ -43,14 +43,11 @@ class SvNumberFormatter; class ScDPSaveGroupDimension; -// -------------------------------------------------------------------- // // Classes to save Data Pilot settings that create new dimensions (fields). // These have to be applied before the other ScDPSaveData settings. // -// ============================================================================ - class SC_DLLPUBLIC ScDPSaveGroupItem { String aGroupName; // name of group @@ -80,8 +77,6 @@ public: typedef ::std::vector<ScDPSaveGroupItem> ScDPSaveGroupItemVec; -// ============================================================================ - class SC_DLLPUBLIC ScDPSaveGroupDimension { String aSourceDim; // always the real source from the original data @@ -121,8 +116,6 @@ public: void Rename( const String& rNewName ); }; -// ============================================================================ - class SC_DLLPUBLIC ScDPSaveNumGroupDimension { String aDimensionName; @@ -147,8 +140,6 @@ public: void SetDateInfo( const ScDPNumGroupInfo& rInfo, sal_Int32 nPart ); }; -// ============================================================================ - class SC_DLLPUBLIC ScDPDimensionSaveData { public: @@ -197,8 +188,6 @@ private: ScDPSaveNumGroupDimMap maNumGroupDims; }; -// ============================================================================ - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |