diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 20:57:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 20:55:50 +0000 |
commit | 6cb9e6dad798ec59f055aebe84a9c4a21e4be40d (patch) | |
tree | 21a7d6c0b165251ba8e0f36e73c851d41ac9dd04 /sc/inc/refdata.hxx | |
parent | 7e8806cd728bf906e1a8f1d649bef7337f297b1c (diff) |
Remove redundant 'inline' keyword
...from function definitions occurring within class definitions. Done with
a rewriting Clang plugin (to be pushed later).
Change-Id: I9c6f2818a57ccdb361548895a7743107cbacdff8
Reviewed-on: https://gerrit.libreoffice.org/34874
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/inc/refdata.hxx')
-rw-r--r-- | sc/inc/refdata.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/inc/refdata.hxx b/sc/inc/refdata.hxx index 5f3e7626940a..277056971286 100644 --- a/sc/inc/refdata.hxx +++ b/sc/inc/refdata.hxx @@ -51,7 +51,7 @@ private: public: /// No default ctor, because used in ScRawToken union, set InitFlags! - inline void InitFlags() { mnFlagValue = 0; } ///< all FALSE + void InitFlags() { mnFlagValue = 0; } ///< all FALSE /// InitAddress: InitFlags and set address void InitAddress( const ScAddress& rAdr ); void InitAddress( SCCOL nCol, SCROW nRow, SCTAB nTab ); @@ -121,19 +121,19 @@ struct ScComplexRefData ScSingleRefData Ref1; ScSingleRefData Ref2; - inline void InitFlags() + void InitFlags() { Ref1.InitFlags(); Ref2.InitFlags(); } - inline void InitRange( const ScRange& rRange ) + void InitRange( const ScRange& rRange ) { Ref1.InitAddress( rRange.aStart ); Ref2.InitAddress( rRange.aEnd ); } - inline void InitRangeRel( const ScRange& rRange, const ScAddress& rPos ) + void InitRangeRel( const ScRange& rRange, const ScAddress& rPos ) { Ref1.InitAddressRel( rRange.aStart, rPos ); Ref2.InitAddressRel( rRange.aEnd, rPos ); } - inline void InitRange( SCCOL nCol1, SCROW nRow1, SCTAB nTab1, + void InitRange( SCCOL nCol1, SCROW nRow1, SCTAB nTab1, SCCOL nCol2, SCROW nRow2, SCTAB nTab2 ) { Ref1.InitAddress( nCol1, nRow1, nTab1 ); @@ -150,14 +150,14 @@ struct ScComplexRefData bool ValidExternal() const; /** Whether this references entire columns, A:A */ - inline bool IsEntireCol() const + bool IsEntireCol() const { // Both row anchors must be absolute. return Ref1.Row() == 0 && Ref2.Row() == MAXROW && !Ref1.IsRowRel() && !Ref2.IsRowRel(); } /** Whether this references entire rows, 1:1 */ - inline bool IsEntireRow() const + bool IsEntireRow() const { // Both column anchors must be absolute. return Ref1.Col() == 0 && Ref2.Col() == MAXCOL && !Ref1.IsColRel() && !Ref2.IsColRel(); @@ -172,7 +172,7 @@ struct ScComplexRefData /** Adjust ordering (front-top-left/rear-bottom-right) to a new position. */ void PutInOrder( const ScAddress& rPos ); - inline bool operator==( const ScComplexRefData& r ) const + bool operator==( const ScComplexRefData& r ) const { return Ref1 == r.Ref1 && Ref2 == r.Ref2; } /** Enlarge range if reference passed is not within existing range. ScAddress position is used to calculate absolute references from |