diff options
Diffstat (limited to 'sc/source/core/inc')
-rw-r--r-- | sc/source/core/inc/addinhelpid.hxx | 2 | ||||
-rw-r--r-- | sc/source/core/inc/addinlis.hxx | 28 | ||||
-rw-r--r-- | sc/source/core/inc/adiasync.hxx | 38 | ||||
-rw-r--r-- | sc/source/core/inc/bcaslot.hxx | 84 | ||||
-rw-r--r-- | sc/source/core/inc/cellkeytranslator.hxx | 16 | ||||
-rw-r--r-- | sc/source/core/inc/core_pch.hxx | 4 | ||||
-rw-r--r-- | sc/source/core/inc/ddelink.hxx | 40 | ||||
-rw-r--r-- | sc/source/core/inc/doubleref.hxx | 52 | ||||
-rw-r--r-- | sc/source/core/inc/jumpmatrix.hxx | 2 | ||||
-rw-r--r-- | sc/source/core/inc/parclass.hxx | 10 | ||||
-rw-r--r-- | sc/source/core/inc/poolhelp.hxx | 24 | ||||
-rw-r--r-- | sc/source/core/inc/refupdat.hxx | 10 | ||||
-rw-r--r-- | sc/source/core/inc/scrdata.hxx | 2 |
13 files changed, 156 insertions, 156 deletions
diff --git a/sc/source/core/inc/addinhelpid.hxx b/sc/source/core/inc/addinhelpid.hxx index 6618c97b6dc9..01de0ca5f926 100644 --- a/sc/source/core/inc/addinhelpid.hxx +++ b/sc/source/core/inc/addinhelpid.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sc/source/core/inc/addinlis.hxx b/sc/source/core/inc/addinlis.hxx index 122d347fa98f..d3cb130b8956 100644 --- a/sc/source/core/inc/addinlis.hxx +++ b/sc/source/core/inc/addinlis.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -29,7 +29,7 @@ #ifndef SC_ADDINLIS_HXX #define SC_ADDINLIS_HXX -#include "adiasync.hxx" // for ScAddInDocs PtrArr +#include "adiasync.hxx" // for ScAddInDocs PtrArr #include <tools/list.hxx> #include <com/sun/star/sheet/XResultListener.hpp> #include <com/sun/star/sheet/XVolatileResult.hpp> @@ -48,10 +48,10 @@ class ScAddInListener : public cppu::WeakImplHelper2< { private: com::sun::star::uno::Reference<com::sun::star::sheet::XVolatileResult> xVolRes; - com::sun::star::uno::Any aResult; - ScAddInDocs* pDocs; // documents where this is used + com::sun::star::uno::Any aResult; + ScAddInDocs* pDocs; // documents where this is used - static List aAllListeners; + static List aAllListeners; // always allocated via CreateListener ScAddInListener( @@ -60,29 +60,29 @@ private: ScDocument* pD ); public: - virtual ~ScAddInListener(); + virtual ~ScAddInListener(); // create Listener and put it into global list - static ScAddInListener* CreateListener( + static ScAddInListener* CreateListener( com::sun::star::uno::Reference< com::sun::star::sheet::XVolatileResult> xVR, ScDocument* pDoc ); - static ScAddInListener* Get( com::sun::star::uno::Reference< + static ScAddInListener* Get( com::sun::star::uno::Reference< com::sun::star::sheet::XVolatileResult> xVR ); - static void RemoveDocument( ScDocument* pDocument ); + static void RemoveDocument( ScDocument* pDocument ); - BOOL HasDocument( ScDocument* pDoc ) const { return pDocs->Seek_Entry( pDoc ); } - void AddDocument( ScDocument* pDoc ) { pDocs->Insert( pDoc ); } - const com::sun::star::uno::Any& GetResult() const { return aResult; } + BOOL HasDocument( ScDocument* pDoc ) const { return pDocs->Seek_Entry( pDoc ); } + void AddDocument( ScDocument* pDoc ) { pDocs->Insert( pDoc ); } + const com::sun::star::uno::Any& GetResult() const { return aResult; } // XResultListener - virtual void SAL_CALL modified( const ::com::sun::star::sheet::ResultEvent& aEvent ) + virtual void SAL_CALL modified( const ::com::sun::star::sheet::ResultEvent& aEvent ) throw(::com::sun::star::uno::RuntimeException); // XEventListener - virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) + virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException); // XServiceInfo diff --git a/sc/source/core/inc/adiasync.hxx b/sc/source/core/inc/adiasync.hxx index 69896c08160a..3931d4651c18 100644 --- a/sc/source/core/inc/adiasync.hxx +++ b/sc/source/core/inc/adiasync.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -42,7 +42,7 @@ void CALLTYPE ScAddInAsyncCallBack( double& nHandle, void* pData ); class ScAddInAsync; typedef ScAddInAsync* ScAddInAsyncPtr; SV_DECL_PTRARR_SORT( ScAddInAsyncs, ScAddInAsyncPtr, 4, 4 ) -extern ScAddInAsyncs theAddInAsyncTbl; // in adiasync.cxx +extern ScAddInAsyncs theAddInAsyncTbl; // in adiasync.cxx class ScDocument; typedef ScDocument* ScAddInDocPtr; @@ -55,14 +55,14 @@ class ScAddInAsync : public SvtBroadcaster private: union { - double nVal; // aktueller Wert - String* pStr; + double nVal; // aktueller Wert + String* pStr; }; - ScAddInDocs* pDocs; // Liste der benutzenden Dokumente - FuncData* pFuncData; // Zeiger auf die Daten in der Collection - ULONG nHandle; // wird von double auf ULONG gecasted - ParamType eType; // PTR_DOUBLE oder PTR_STRING Ergebnis - BOOL bValid; // ob Wert gueltig + ScAddInDocs* pDocs; // Liste der benutzenden Dokumente + FuncData* pFuncData; // Zeiger auf die Daten in der Collection + ULONG nHandle; // wird von double auf ULONG gecasted + ParamType eType; // PTR_DOUBLE oder PTR_STRING Ergebnis + BOOL bValid; // ob Wert gueltig public: // cTor nur wenn ScAddInAsync::Get fehlschlaegt! @@ -71,17 +71,17 @@ public: ScDocument* pDoc ); // default-cTor nur fuer das eine globale aSeekObj !!! ScAddInAsync(); - virtual ~ScAddInAsync(); - static ScAddInAsync* Get( ULONG nHandle ); - static void CallBack( ULONG nHandle, void* pData ); - static void RemoveDocument( ScDocument* pDocument ); - BOOL IsValid() const { return bValid; } - ParamType GetType() const { return eType; } - double GetValue() const { return nVal; } - const String& GetString() const { return *pStr; } - BOOL HasDocument( ScDocument* pDoc ) const + virtual ~ScAddInAsync(); + static ScAddInAsync* Get( ULONG nHandle ); + static void CallBack( ULONG nHandle, void* pData ); + static void RemoveDocument( ScDocument* pDocument ); + BOOL IsValid() const { return bValid; } + ParamType GetType() const { return eType; } + double GetValue() const { return nVal; } + const String& GetString() const { return *pStr; } + BOOL HasDocument( ScDocument* pDoc ) const { return pDocs->Seek_Entry( pDoc ); } - void AddDocument( ScDocument* pDoc ) { pDocs->Insert( pDoc ); } + void AddDocument( ScDocument* pDoc ) { pDocs->Insert( pDoc ); } // Vergleichsoperatoren fuer PtrArrSort BOOL operator < ( const ScAddInAsync& r ) { return nHandle < r.nHandle; } diff --git a/sc/source/core/inc/bcaslot.hxx b/sc/source/core/inc/bcaslot.hxx index 41d21243f237..9fd920642bba 100644 --- a/sc/source/core/inc/bcaslot.hxx +++ b/sc/source/core/inc/bcaslot.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -45,11 +45,11 @@ class ScBroadcastArea { private: - ScBroadcastArea* pUpdateChainNext; + ScBroadcastArea* pUpdateChainNext; SvtBroadcaster aBroadcaster; ScRange aRange; - ULONG nRefCount; - BOOL bInUpdateChain; + ULONG nRefCount; + BOOL bInUpdateChain; public: ScBroadcastArea( const ScRange& rRange ) @@ -57,18 +57,18 @@ public: nRefCount( 0 ), bInUpdateChain( FALSE ) {} inline SvtBroadcaster& GetBroadcaster() { return aBroadcaster; } inline const SvtBroadcaster& GetBroadcaster() const { return aBroadcaster; } - inline void UpdateRange( const ScRange& rNewRange ) + inline void UpdateRange( const ScRange& rNewRange ) { aRange = rNewRange; } inline const ScRange& GetRange() const { return aRange; } inline const ScAddress& GetStart() const { return aRange.aStart; } inline const ScAddress& GetEnd() const { return aRange.aEnd; } - inline void IncRef() { ++nRefCount; } - inline ULONG DecRef() { return nRefCount ? --nRefCount : 0; } - inline ULONG GetRef() { return nRefCount; } + inline void IncRef() { ++nRefCount; } + inline ULONG DecRef() { return nRefCount ? --nRefCount : 0; } + inline ULONG GetRef() { return nRefCount; } inline ScBroadcastArea* GetUpdateChainNext() const { return pUpdateChainNext; } - inline void SetUpdateChainNext( ScBroadcastArea* p ) { pUpdateChainNext = p; } - inline BOOL IsInUpdateChain() const { return bInUpdateChain; } - inline void SetInUpdateChain( BOOL b ) { bInUpdateChain = b; } + inline void SetUpdateChainNext( ScBroadcastArea* p ) { pUpdateChainNext = p; } + inline BOOL IsInUpdateChain() const { return bInUpdateChain; } + inline void SetInUpdateChain( BOOL b ) { bInUpdateChain = b; } /** Equalness of this or range. */ inline bool operator==( const ScBroadcastArea & rArea ) const; @@ -128,19 +128,19 @@ class ScBroadcastAreaSlotMachine; class ScBroadcastAreaSlot { private: - ScBroadcastAreas aBroadcastAreaTbl; + ScBroadcastAreas aBroadcastAreaTbl; mutable ScBroadcastArea aTmpSeekBroadcastArea; // for FindBroadcastArea() - ScDocument* pDoc; + ScDocument* pDoc; ScBroadcastAreaSlotMachine* pBASM; ScBroadcastAreas::iterator FindBroadcastArea( const ScRange& rRange ) const; /** - More hypothetical (memory would probably be doomed anyway) check - whether there would be an overflow when adding an area, setting the + More hypothetical (memory would probably be doomed anyway) check + whether there would be an overflow when adding an area, setting the proper state if so. - @return TRUE if a HardRecalcState is effective and area is not to be + @return TRUE if a HardRecalcState is effective and area is not to be added. */ bool CheckHardRecalcStateCondition() const; @@ -149,49 +149,49 @@ public: ScBroadcastAreaSlot( ScDocument* pDoc, ScBroadcastAreaSlotMachine* pBASM ); ~ScBroadcastAreaSlot(); - const ScBroadcastAreas& GetBroadcastAreas() const + const ScBroadcastAreas& GetBroadcastAreas() const { return aBroadcastAreaTbl; } /** Only here new ScBroadcastArea objects are created, prevention of dupes. @param rpArea - If NULL, a new ScBroadcastArea is created and assigned ton the - reference if a matching area wasn't found. If a matching area was - found, that is assigned. In any case, the SvtListener is added to + If NULL, a new ScBroadcastArea is created and assigned ton the + reference if a matching area wasn't found. If a matching area was + found, that is assigned. In any case, the SvtListener is added to the broadcaster. - If not NULL then no listeners are startet, only the area is - inserted and the reference count incremented. Effectively the same + If not NULL then no listeners are startet, only the area is + inserted and the reference count incremented. Effectively the same as InsertListeningArea(), so use that instead. @return - TRUE if rpArea passed was NULL and ScBroadcastArea is newly - created. + TRUE if rpArea passed was NULL and ScBroadcastArea is newly + created. */ - bool StartListeningArea( const ScRange& rRange, + bool StartListeningArea( const ScRange& rRange, SvtListener* pListener, ScBroadcastArea*& rpArea ); /** - Insert a ScBroadcastArea obtained via StartListeningArea() to + Insert a ScBroadcastArea obtained via StartListeningArea() to subsequent slots. */ void InsertListeningArea( ScBroadcastArea* pArea ); - void EndListeningArea( const ScRange& rRange, + void EndListeningArea( const ScRange& rRange, SvtListener* pListener, ScBroadcastArea*& rpArea ); - BOOL AreaBroadcast( const ScHint& rHint ) const; + BOOL AreaBroadcast( const ScHint& rHint ) const; /// @return TRUE if at least one broadcast occurred. - BOOL AreaBroadcastInRange( const ScRange& rRange, + BOOL AreaBroadcastInRange( const ScRange& rRange, const ScHint& rHint ) const; - void DelBroadcastAreasInRange( const ScRange& rRange ); - void UpdateRemove( UpdateRefMode eUpdateRefMode, + void DelBroadcastAreasInRange( const ScRange& rRange ); + void UpdateRemove( UpdateRefMode eUpdateRefMode, const ScRange& rRange, SCsCOL nDx, SCsROW nDy, SCsTAB nDz ); void UpdateRemoveArea( ScBroadcastArea* pArea ); - void UpdateInsert( ScBroadcastArea* pArea ); + void UpdateInsert( ScBroadcastArea* pArea ); }; @@ -223,14 +223,14 @@ private: inline ScBroadcastAreaSlot** getSlots() { return ppSlots; } /** - Obtain slot pointer, no check on validity! It is assumed that - all calls are made with the results of ComputeSlotOffset(), + Obtain slot pointer, no check on validity! It is assumed that + all calls are made with the results of ComputeSlotOffset(), ComputeAreaPoints() and ComputeNextSlot() */ inline ScBroadcastAreaSlot* getAreaSlot( SCSIZE nOff ) { return *(ppSlots + nOff); } private: - ScBroadcastAreaSlot** ppSlots; + ScBroadcastAreaSlot** ppSlots; // prevent usage TableSlots( const TableSlots& ); @@ -248,23 +248,23 @@ private: ScBroadcastArea *pEOUpdateChain; ULONG nInBulkBroadcast; - inline SCSIZE ComputeSlotOffset( const ScAddress& rAddress ) const; - void ComputeAreaPoints( const ScRange& rRange, + inline SCSIZE ComputeSlotOffset( const ScAddress& rAddress ) const; + void ComputeAreaPoints( const ScRange& rRange, SCSIZE& nStart, SCSIZE& nEnd, SCSIZE& nRowBreak ) const; public: ScBroadcastAreaSlotMachine( ScDocument* pDoc ); ~ScBroadcastAreaSlotMachine(); - void StartListeningArea( const ScRange& rRange, + void StartListeningArea( const ScRange& rRange, SvtListener* pListener ); - void EndListeningArea( const ScRange& rRange, + void EndListeningArea( const ScRange& rRange, SvtListener* pListener ); - BOOL AreaBroadcast( const ScHint& rHint ) const; + BOOL AreaBroadcast( const ScHint& rHint ) const; // return: at least one broadcast occurred BOOL AreaBroadcastInRange( const ScRange& rRange, const ScHint& rHint ) const; - void DelBroadcastAreasInRange( const ScRange& rRange ); - void UpdateBroadcastAreas( UpdateRefMode eUpdateRefMode, + void DelBroadcastAreasInRange( const ScRange& rRange ); + void UpdateBroadcastAreas( UpdateRefMode eUpdateRefMode, const ScRange& rRange, SCsCOL nDx, SCsROW nDy, SCsTAB nDz ); void EnterBulkBroadcast(); diff --git a/sc/source/core/inc/cellkeytranslator.hxx b/sc/source/core/inc/cellkeytranslator.hxx index cc496845020c..3b5d3cba6cd1 100644 --- a/sc/source/core/inc/cellkeytranslator.hxx +++ b/sc/source/core/inc/cellkeytranslator.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -52,18 +52,18 @@ struct ScCellKeyword typedef ::std::hash_map< String, ::std::list<ScCellKeyword>, ScStringHashCode, ::std::equal_to<String> > ScCellKeywordHashMap; /** Translate cell function keywords. - + This class provides a convenient way to translate a string keyword used as a cell function argument. Since Calc's built-in cell functions don't localize string keywords, this class is used mainly to deal with an Excel document where string names may be localized. - + To use, simply call the - + ScCellKeywordTranslator::transKeyword(...) - + function. - + Note that when the locale and/or the opcode is specified, the function tries to find a string with matching locale and/or opcode. But when it fails to find one that satisfies the specified locale and/or opcode, it @@ -79,8 +79,8 @@ private: ScCellKeywordTranslator(); void init(); - void addToMap(const String& rKey, const sal_Char* pName, - const ::com::sun::star::lang::Locale& rLocale, + void addToMap(const String& rKey, const sal_Char* pName, + const ::com::sun::star::lang::Locale& rLocale, OpCode eOpCode = ocNone); void addToMap(const TransItem* pItems, const ::com::sun::star::lang::Locale& rLocale); diff --git a/sc/source/core/inc/core_pch.hxx b/sc/source/core/inc/core_pch.hxx index 1bf84a913c30..413decef392a 100644 --- a/sc/source/core/inc/core_pch.hxx +++ b/sc/source/core/inc/core_pch.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -26,7 +26,7 @@ * ************************************************************************/ -// ItemID-Defines etc. must be included first +// ItemID-Defines etc. must be included first #include "scitems.hxx" diff --git a/sc/source/core/inc/ddelink.hxx b/sc/source/core/inc/ddelink.hxx index 89127e4dfba0..48b927607afd 100644 --- a/sc/source/core/inc/ddelink.hxx +++ b/sc/source/core/inc/ddelink.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -42,18 +42,18 @@ class SvStream; class ScDdeLink : public ::sfx2::SvBaseLink, public SvtBroadcaster { private: -static BOOL bIsInUpdate; +static BOOL bIsInUpdate; - ScDocument* pDoc; + ScDocument* pDoc; - String aAppl; // Verbindungsdaten - String aTopic; - String aItem; - BYTE nMode; // Zahlformat-Modus + String aAppl; // Verbindungsdaten + String aTopic; + String aItem; + BYTE nMode; // Zahlformat-Modus - BOOL bNeedUpdate; // wird gesetzt, wenn Update nicht moeglich war + BOOL bNeedUpdate; // wird gesetzt, wenn Update nicht moeglich war - ScMatrixRef pResult; // Ergebnis + ScMatrixRef pResult; // Ergebnis public: TYPEINFO(); @@ -65,14 +65,14 @@ public: ScDdeLink( ScDocument* pD, const ScDdeLink& rOther ); virtual ~ScDdeLink(); - void Store( SvStream& rStream, ScMultipleWriteHeader& rHdr ) const; + void Store( SvStream& rStream, ScMultipleWriteHeader& rHdr ) const; // von SvBaseLink ueberladen: - virtual void DataChanged( const String& rMimeType, + virtual void DataChanged( const String& rMimeType, const ::com::sun::star::uno::Any & rValue ); // von SvtBroadcaster ueberladen: - virtual void ListenersGone(); + virtual void ListenersGone(); // fuer Interpreter: @@ -82,17 +82,17 @@ public: // XML and Excel import after NewData() ScMatrixRef GetModifiableResult() { return pResult; } - const String& GetAppl() const { return aAppl; } - const String& GetTopic() const { return aTopic; } - const String& GetItem() const { return aItem; } - BYTE GetMode() const { return nMode; } + const String& GetAppl() const { return aAppl; } + const String& GetTopic() const { return aTopic; } + const String& GetItem() const { return aItem; } + BYTE GetMode() const { return nMode; } - void ResetValue(); // Wert zuruecksetzen - void TryUpdate(); + void ResetValue(); // Wert zuruecksetzen + void TryUpdate(); - BOOL NeedsUpdate() const { return bNeedUpdate; } + BOOL NeedsUpdate() const { return bNeedUpdate; } - static BOOL IsInUpdate() { return bIsInUpdate; } + static BOOL IsInUpdate() { return bIsInUpdate; } }; diff --git a/sc/source/core/inc/doubleref.hxx b/sc/source/core/inc/doubleref.hxx index 74094240d218..f4f3f2449ae0 100644 --- a/sc/source/core/inc/doubleref.hxx +++ b/sc/source/core/inc/doubleref.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite @@ -42,8 +42,8 @@ struct ScQueryParamBase; // ============================================================================ -/** - * Base class for abstracting range data backends for database functions. +/** + * Base class for abstracting range data backends for database functions. */ class ScDBRangeBase { @@ -58,9 +58,9 @@ public: virtual SCROW getRowSize() const = 0; virtual SCSIZE getVisibleDataCellCount() const = 0; - /** - * Get a string value of a specified cell position. Note that the - * position of the upper left cell of the range is always (0, 0) even if + /** + * Get a string value of a specified cell position. Note that the + * position of the upper left cell of the range is always (0, 0) even if * the reference type is of internal range. * * @param nCol column position (0 to column size-1) @@ -70,13 +70,13 @@ public: virtual SCCOL getFirstFieldColumn() const = 0; - /** + /** * Get a <i>0-based</i> column index that corresponds with the passed field - * index. Note that the field index passed as the 1st parameter is - * <i>1-based.</i> + * index. Note that the field index passed as the 1st parameter is + * <i>1-based.</i> * * @param nIndex 1-based field index. - * + * * @return 0-based column index */ virtual SCCOL findFieldColumn(SCCOL nIndex) const = 0; @@ -88,8 +88,8 @@ protected: ScDBRangeBase(ScDocument* pDoc, RefType eType); ScDocument* getDoc() const; - /** - * Populate query options that are always the same for all database + /** + * Populate query options that are always the same for all database * queries. */ static void fillQueryOptions(ScQueryParamBase* pParam); @@ -115,9 +115,9 @@ public: virtual SCROW getRowSize() const; virtual SCSIZE getVisibleDataCellCount() const; - /** - * Get a string value of a specified cell position. Note that the - * position of the upper left cell of the range is always (0, 0) even if + /** + * Get a string value of a specified cell position. Note that the + * position of the upper left cell of the range is always (0, 0) even if * the reference type is of internal range. * * @param nCol column position (0 to column size-1) @@ -126,13 +126,13 @@ public: virtual ::rtl::OUString getString(SCCOL nCol, SCROW nRow) const; virtual SCCOL getFirstFieldColumn() const; - /** + /** * Get a <i>0-based</i> column index that corresponds with the passed field - * index. Note that the field index passed as the 1st parameter is - * <i>1-based.</i> + * index. Note that the field index passed as the 1st parameter is + * <i>1-based.</i> * * @param nIndex 1-based field index. - * + * * @return 0-based column index */ virtual SCCOL findFieldColumn(SCCOL nIndex) const; @@ -159,9 +159,9 @@ public: virtual SCROW getRowSize() const; virtual SCSIZE getVisibleDataCellCount() const; - /** - * Get a string value of a specified cell position. Note that the - * position of the upper left cell of the range is always (0, 0) even if + /** + * Get a string value of a specified cell position. Note that the + * position of the upper left cell of the range is always (0, 0) even if * the reference type is of internal range. * * @param nCol column position (0 to column size-1) @@ -171,13 +171,13 @@ public: virtual SCCOL getFirstFieldColumn() const; - /** + /** * Get a <i>0-based</i> column index that corresponds with the passed field - * index. Note that the field index passed as the 1st parameter is - * <i>1-based.</i> + * index. Note that the field index passed as the 1st parameter is + * <i>1-based.</i> * * @param nIndex 1-based field index. - * + * * @return 0-based column index */ virtual SCCOL findFieldColumn(SCCOL nIndex) const; diff --git a/sc/source/core/inc/jumpmatrix.hxx b/sc/source/core/inc/jumpmatrix.hxx index d5e3703227fe..38e2480e359a 100644 --- a/sc/source/core/inc/jumpmatrix.hxx +++ b/sc/source/core/inc/jumpmatrix.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite diff --git a/sc/source/core/inc/parclass.hxx b/sc/source/core/inc/parclass.hxx index de2fba3fb694..e4f419ed524a 100644 --- a/sc/source/core/inc/parclass.hxx +++ b/sc/source/core/inc/parclass.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -72,10 +72,10 @@ public: of a parameter of this function. */ ForceArray, - /** Area reference is not converted to array, but ForceArray must be - propagated to subsequent operators and functions being part of a - parameter of this function. Used with functions that treat - references separately from arrays, but need the forced array + /** Area reference is not converted to array, but ForceArray must be + propagated to subsequent operators and functions being part of a + parameter of this function. Used with functions that treat + references separately from arrays, but need the forced array calculation of parameters that are not references.*/ ReferenceOrForceArray }; diff --git a/sc/source/core/inc/poolhelp.hxx b/sc/source/core/inc/poolhelp.hxx index 2b3946f8ddcf..c66402e1d5f1 100644 --- a/sc/source/core/inc/poolhelp.hxx +++ b/sc/source/core/inc/poolhelp.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -45,28 +45,28 @@ class ScPoolHelper : public salhelper::SimpleReferenceObject { private: ScDocOptions aOpt; - ScDocumentPool* pDocPool; + ScDocumentPool* pDocPool; rtl::Reference< ScStyleSheetPool > mxStylePool; - mutable SvNumberFormatter* pFormTable; - mutable SfxItemPool* pEditPool; // EditTextObjectPool - mutable SfxItemPool* pEnginePool; // EditEnginePool + mutable SvNumberFormatter* pFormTable; + mutable SfxItemPool* pEditPool; // EditTextObjectPool + mutable SfxItemPool* pEnginePool; // EditEnginePool ScDocument* m_pSourceDoc; void UseDocOptions() const; public: ScPoolHelper( ScDocument* pSourceDoc ); - virtual ~ScPoolHelper(); + virtual ~ScPoolHelper(); // called in dtor of main document - void SourceDocumentGone(); + void SourceDocumentGone(); // access to pointers (are never 0): - ScDocumentPool* GetDocPool() const { return pDocPool; } - ScStyleSheetPool* GetStylePool() const { return mxStylePool.get(); } - SvNumberFormatter* GetFormTable() const; - SfxItemPool* GetEditPool() const; - SfxItemPool* GetEnginePool() const; + ScDocumentPool* GetDocPool() const { return pDocPool; } + ScStyleSheetPool* GetStylePool() const { return mxStylePool.get(); } + SvNumberFormatter* GetFormTable() const; + SfxItemPool* GetEditPool() const; + SfxItemPool* GetEnginePool() const; void SetFormTableOpt(const ScDocOptions& rOpt); }; diff --git a/sc/source/core/inc/refupdat.hxx b/sc/source/core/inc/refupdat.hxx index 1ecae5f11d1f..ec0695d5e255 100644 --- a/sc/source/core/inc/refupdat.hxx +++ b/sc/source/core/inc/refupdat.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -38,9 +38,9 @@ class ScAddress; class ScRange; enum ScRefUpdateRes { - UR_NOTHING = 0, // keine Anpassungen - UR_UPDATED = 1, // Anpassungen erfolgt - UR_INVALID = 2 // Referenz wurde ungueltig + UR_NOTHING = 0, // keine Anpassungen + UR_UPDATED = 1, // Anpassungen erfolgt + UR_INVALID = 2 // Referenz wurde ungueltig }; class ScRefUpdate @@ -79,7 +79,7 @@ public: SCsCOL nDx, SCsROW nDy, SCsTAB nDz, ScComplexRefData& rRef, BOOL bWrap, BOOL bAbsolute ); - static void MoveRelWrap( ScDocument* pDoc, const ScAddress& rPos, + static void MoveRelWrap( ScDocument* pDoc, const ScAddress& rPos, SCCOL nMaxCol, SCROW nMaxRow, ScComplexRefData& rRef ); /// Before calling, the absolute references must be up-to-date! diff --git a/sc/source/core/inc/scrdata.hxx b/sc/source/core/inc/scrdata.hxx index 7a10045fda26..033d3dae6c44 100644 --- a/sc/source/core/inc/scrdata.hxx +++ b/sc/source/core/inc/scrdata.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite |