summaryrefslogtreecommitdiff
path: root/sc/inc/refdata.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-12 14:06:28 +0200
committerNoel Grandin <noel@peralex.com>2014-06-17 10:55:17 +0200
commit3e82897353e576dc6e3fbf55371fda5a0c3415df (patch)
tree71c2f03128885000efae1852dccb504f8355c79e /sc/inc/refdata.hxx
parentec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff)
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'sc/inc/refdata.hxx')
-rw-r--r--sc/inc/refdata.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/refdata.hxx b/sc/inc/refdata.hxx
index 53a356c959b5..ac27db8a3d9a 100644
--- a/sc/inc/refdata.hxx
+++ b/sc/inc/refdata.hxx
@@ -57,7 +57,7 @@ public:
void InitAddress( SCCOL nCol, SCROW nRow, SCTAB nTab );
/// InitAddressRel: InitFlags and set address, everything relative to rPos
void InitAddressRel( const ScAddress& rAdr, const ScAddress& rPos );
- sal_uInt8 FlagValue() const;
+ sal_uInt8 FlagValue() const { return mnFlagValue;}
void SetColRel( bool bVal ) { Flags.bColRel = bVal; }
bool IsColRel() const { return Flags.bColRel; }
@@ -77,11 +77,11 @@ public:
void IncTab( SCTAB nInc );
void SetColDeleted( bool bVal );
- bool IsColDeleted() const;
+ bool IsColDeleted() const { return Flags.bColDeleted;}
void SetRowDeleted( bool bVal );
- bool IsRowDeleted() const;
+ bool IsRowDeleted() const { return Flags.bRowDeleted;}
void SetTabDeleted( bool bVal );
- bool IsTabDeleted() const;
+ bool IsTabDeleted() const { return Flags.bTabDeleted;}
bool IsDeleted() const;
void SetFlag3D( bool bVal ) { Flags.bFlag3D = bVal; }