diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-30 21:36:50 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-30 23:50:03 -0400 |
commit | c93e441b8ae9323b948546e61031ca31a584230c (patch) | |
tree | 535d87bb87628e41904ad84ec8e37397a0da5520 /sc/inc/refdata.hxx | |
parent | 8a19af57bbcc57a02a7d87c6408d1e3212a6deba (diff) |
Clean this up a bit.
Change-Id: Ia984c17eda507dc625e2b038818abd2d4e9e5103
Diffstat (limited to 'sc/inc/refdata.hxx')
-rw-r--r-- | sc/inc/refdata.hxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sc/inc/refdata.hxx b/sc/inc/refdata.hxx index 10c7a6346bc1..0d077ce4cd66 100644 --- a/sc/inc/refdata.hxx +++ b/sc/inc/refdata.hxx @@ -62,12 +62,12 @@ public: void InitAddressRel( const ScAddress& rAdr, const ScAddress& rPos ); sal_uInt8 FlagValue() const; - inline void SetColRel( bool bVal ) { Flags.bColRel = (bVal ? true : false ); } - inline bool IsColRel() const{ return Flags.bColRel; } - inline void SetRowRel( bool bVal ) { Flags.bRowRel = (bVal ? true : false ); } - inline bool IsRowRel() const { return Flags.bRowRel; } - inline void SetTabRel( bool bVal ) { Flags.bTabRel = (bVal ? true : false ); } - inline bool IsTabRel() const { return Flags.bTabRel; } + void SetColRel( bool bVal ) { Flags.bColRel = bVal; } + bool IsColRel() const { return Flags.bColRel; } + void SetRowRel( bool bVal ) { Flags.bRowRel = bVal; } + bool IsRowRel() const { return Flags.bRowRel; } + void SetTabRel( bool bVal ) { Flags.bTabRel = bVal; } + bool IsTabRel() const { return Flags.bTabRel; } void SetAbsCol( SCCOL nVal ); void SetRelCol( SCCOL nVal ); @@ -87,10 +87,10 @@ public: bool IsTabDeleted() const; bool IsDeleted() const; - inline void SetFlag3D( bool bVal ) { Flags.bFlag3D = (bVal ? true : false ); } - inline bool IsFlag3D() const { return Flags.bFlag3D; } - inline void SetRelName( bool bVal ) { Flags.bRelName = (bVal ? true : false ); } - inline bool IsRelName() const { return Flags.bRelName; } + void SetFlag3D( bool bVal ) { Flags.bFlag3D = bVal; } + bool IsFlag3D() const { return Flags.bFlag3D; } + void SetRelName( bool bVal ) { Flags.bRelName = bVal; } + bool IsRelName() const { return Flags.bRelName; } bool Valid() const; bool ColValid() const; @@ -105,8 +105,8 @@ public: SCCOL Col() const; SCTAB Tab() const; - bool operator==( const ScSingleRefData& ) const; - bool operator!=( const ScSingleRefData& ) const; + bool operator==( const ScSingleRefData& ) const; + bool operator!=( const ScSingleRefData& ) const; #if DEBUG_FORMULA_COMPILER void Dump( int nIndent = 0 ) const; |