summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/xetable.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/inc/xetable.hxx')
-rw-r--r--sc/source/filter/inc/xetable.hxx58
1 files changed, 29 insertions, 29 deletions
diff --git a/sc/source/filter/inc/xetable.hxx b/sc/source/filter/inc/xetable.hxx
index 12837cac6964..1cf60bc8a69c 100644
--- a/sc/source/filter/inc/xetable.hxx
+++ b/sc/source/filter/inc/xetable.hxx
@@ -278,11 +278,11 @@ class XclExpCellBase : public XclExpRecord
{
public:
/** Returns the (first) address of the cell(s). */
- inline const XclAddress& GetXclPos() const { return maXclPos; }
+ const XclAddress& GetXclPos() const { return maXclPos; }
/** Returns the (first) Excel column index of the cell(s). */
- inline sal_uInt16 GetXclCol() const { return maXclPos.mnCol; }
+ sal_uInt16 GetXclCol() const { return maXclPos.mnCol; }
/** Returns the Excel row index of the cell. */
- inline sal_uInt32 GetXclRow() const { return maXclPos.mnRow; }
+ sal_uInt32 GetXclRow() const { return maXclPos.mnRow; }
/** Derived classes return the column index of the last contained cell. */
virtual sal_uInt16 GetLastXclCol() const = 0;
@@ -308,7 +308,7 @@ protected:
sal_uInt16 nRecId, std::size_t nContSize, const XclAddress& rXclPos );
/** Sets this record to a new column position. */
- inline void SetXclCol( sal_uInt16 nXclCol ) { maXclPos.mnCol = nXclCol; }
+ void SetXclCol( sal_uInt16 nXclCol ) { maXclPos.mnCol = nXclCol; }
private:
XclAddress maXclPos; /// Address of the cell.
@@ -341,11 +341,11 @@ protected:
sal_uInt16 nRecId, std::size_t nContSize, const XclAddress& rXclPos,
const ScPatternAttr* pPattern, sal_Int16 nScript, sal_uInt32 nForcedXFId );
- inline void SetContSize( std::size_t nContSize ) { mnContSize = nContSize; }
- inline std::size_t GetContSize() const { return mnContSize; }
+ void SetContSize( std::size_t nContSize ) { mnContSize = nContSize; }
+ std::size_t GetContSize() const { return mnContSize; }
- inline void SetXFId( sal_uInt32 nXFId ) { maXFId.mnXFId = nXFId; }
- inline sal_uInt32 GetXFId() const { return maXFId.mnXFId; }
+ void SetXFId( sal_uInt32 nXFId ) { maXFId.mnXFId = nXFId; }
+ sal_uInt32 GetXFId() const { return maXFId.mnXFId; }
private:
/** Writes cell address, XF index, and calls WriteContents() for each cell. */
@@ -470,7 +470,7 @@ struct XclExpMultiXFId : public XclExpXFId
{
sal_uInt16 mnCount; /// Number of XF identifiers.
- inline explicit XclExpMultiXFId( sal_uInt32 nXFId, sal_uInt16 nCount = 1 ) :
+ explicit XclExpMultiXFId( sal_uInt32 nXFId, sal_uInt16 nCount = 1 ) :
XclExpXFId( nXFId ), mnCount( nCount ) {}
};
@@ -585,9 +585,9 @@ class XclExpOutlineBuffer
{
public:
/** Returns true, if a collapsed group ends at the last processed position. */
- inline bool IsCollapsed() const { return mbCurrCollapse; }
+ bool IsCollapsed() const { return mbCurrCollapse; }
/** Returns the highest level of an open group at the last processed position. */
- inline sal_uInt8 GetLevel() const { return ::std::min( mnCurrLevel, EXC_OUTLINE_MAX ); }
+ sal_uInt8 GetLevel() const { return ::std::min( mnCurrLevel, EXC_OUTLINE_MAX ); }
protected:
/** Constructs the outline buffer.
@@ -603,7 +603,7 @@ private:
{
SCCOLROW mnScEndPos; /// The end position of a group in a level.
bool mbHidden; /// true = Group in this level is hidden.
- inline explicit XclExpLevelInfo() : mnScEndPos( 0 ), mbHidden( false ) {}
+ explicit XclExpLevelInfo() : mnScEndPos( 0 ), mbHidden( false ) {}
};
typedef ::std::vector< XclExpLevelInfo > XclExpLevelInfoVec;
@@ -617,11 +617,11 @@ private:
class XclExpColOutlineBuffer : public XclExpOutlineBuffer
{
public:
- inline explicit XclExpColOutlineBuffer( const XclExpRoot& rRoot ) :
+ explicit XclExpColOutlineBuffer( const XclExpRoot& rRoot ) :
XclExpOutlineBuffer( rRoot, false ) {}
/** Updates the current state by processing the settings of the passed Calc column. */
- inline void Update( SCCOL nScCol )
+ void Update( SCCOL nScCol )
{ UpdateColRow( static_cast< SCCOLROW >( nScCol ) ); }
};
@@ -629,11 +629,11 @@ public:
class XclExpRowOutlineBuffer : public XclExpOutlineBuffer
{
public:
- inline explicit XclExpRowOutlineBuffer( const XclExpRoot& rRoot ) :
+ explicit XclExpRowOutlineBuffer( const XclExpRoot& rRoot ) :
XclExpOutlineBuffer( rRoot, true ) {}
/** Updates the current state by processing the settings of the passed Calc row. */
- inline void Update( SCROW nScRow )
+ void Update( SCROW nScRow )
{ UpdateColRow( static_cast< SCCOLROW >( nScRow ) ); }
};
@@ -726,11 +726,11 @@ public:
bool TryMerge( const XclExpColinfo& rColInfo );
/** Returns the Excel width of the column(s). */
- inline sal_uInt16 GetColWidth() const { return mnWidth; }
+ sal_uInt16 GetColWidth() const { return mnWidth; }
/** Returns the final Excel XF index of the column(s). */
- inline sal_uInt16 GetXFIndex() const { return maXFId.mnXFIndex; }
+ sal_uInt16 GetXFIndex() const { return maXFId.mnXFIndex; }
/** Returns the number of columns represented by this record. */
- inline sal_uInt16 GetColCount() const { return mnLastXclCol - mnFirstXclCol + 1; }
+ sal_uInt16 GetColCount() const { return mnLastXclCol - mnFirstXclCol + 1; }
/** Returns true, if the column has default format and width. */
bool IsDefault( const XclExpDefcolwidth& rDefColWidth ) const;
@@ -798,9 +798,9 @@ struct XclExpDefaultRowData
explicit XclExpDefaultRowData( const XclExpRow& rRow );
/** Returns true, if rows are hidden by default. */
- inline bool IsHidden() const { return ::get_flag( mnFlags, EXC_DEFROW_HIDDEN ); }
+ bool IsHidden() const { return ::get_flag( mnFlags, EXC_DEFROW_HIDDEN ); }
/** Returns true, if the rows have a manually set height by default. */
- inline bool IsUnsynced() const { return ::get_flag( mnFlags, EXC_DEFROW_UNSYNCED ); }
+ bool IsUnsynced() const { return ::get_flag( mnFlags, EXC_DEFROW_UNSYNCED ); }
};
/** Represents a DEFROWHEIGHT record containing default format for unused rows. */
@@ -841,17 +841,17 @@ public:
XclExpRowOutlineBuffer& rOutlineBfr, bool bAlwaysEmpty, bool bHidden, sal_uInt16 nHeight );
/** Returns the excel row index of this ROW record. */
- inline sal_uInt32 GetXclRow() const { return mnXclRow; }
+ sal_uInt32 GetXclRow() const { return mnXclRow; }
/** Returns the height of the row in twips. */
- inline sal_uInt16 GetHeight() const { return mnHeight; }
+ sal_uInt16 GetHeight() const { return mnHeight; }
/** Returns true, if this row does not contain at least one valid cell. */
- inline bool IsEmpty() const { return maCellList.IsEmpty(); }
+ bool IsEmpty() const { return maCellList.IsEmpty(); }
/** Returns true, if this row is hidden. */
- inline bool IsHidden() const { return ::get_flag( mnFlags, EXC_ROW_HIDDEN ); }
+ bool IsHidden() const { return ::get_flag( mnFlags, EXC_ROW_HIDDEN ); }
/** Returns true, if this row contains a manually set height. */
- inline bool IsUnsynced() const { return ::get_flag( mnFlags, EXC_ROW_UNSYNCED ); }
+ bool IsUnsynced() const { return ::get_flag( mnFlags, EXC_ROW_UNSYNCED ); }
/** Returns true, if this row is enabled (will be exported). */
- inline bool IsEnabled() const { return mbEnabled; }
+ bool IsEnabled() const { return mbEnabled; }
/** Appends the passed cell object to this row. */
void AppendCell( XclExpCellRef const & xCell, bool bIsMergedBase );
@@ -884,8 +884,8 @@ public:
virtual void Save( XclExpStream& rStrm ) override;
virtual void SaveXml( XclExpXmlStream& rStrm ) override;
- inline sal_uInt32 GetXclRowRpt() const { return mnXclRowRpt; }
- inline void SetXclRowRpt( sal_uInt32 nRpt ){ mnXclRowRpt = nRpt; }
+ sal_uInt32 GetXclRowRpt() const { return mnXclRowRpt; }
+ void SetXclRowRpt( sal_uInt32 nRpt ){ mnXclRowRpt = nRpt; }
private:
/** Inserts a cell at the specified list position, tries to merge with neighbors. */
void InsertCell( XclExpCellRef xCell, size_t nPos, bool bIsMergedBase );