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 /include/editeng/svxfont.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 'include/editeng/svxfont.hxx')
-rw-r--r-- | include/editeng/svxfont.hxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/include/editeng/svxfont.hxx b/include/editeng/svxfont.hxx index 869c4ef4c755..80dcf3744a23 100644 --- a/include/editeng/svxfont.hxx +++ b/include/editeng/svxfont.hxx @@ -49,26 +49,26 @@ public: SvxFont( const SvxFont &rFont ); // Methods for Superscript/Subscript - inline short GetEscapement() const { return nEsc; } - inline void SetEscapement( const short nNewEsc ) { nEsc = nNewEsc; } + short GetEscapement() const { return nEsc; } + void SetEscapement( const short nNewEsc ) { nEsc = nNewEsc; } - inline sal_uInt8 GetPropr() const { return nPropr; } - inline void SetPropr( const sal_uInt8 nNewPropr ) { nPropr = nNewPropr; } - inline void SetProprRel( const sal_uInt8 nNewPropr ) + sal_uInt8 GetPropr() const { return nPropr; } + void SetPropr( const sal_uInt8 nNewPropr ) { nPropr = nNewPropr; } + void SetProprRel( const sal_uInt8 nNewPropr ) { SetPropr( (sal_uInt8)( (long)nNewPropr * (long)nPropr / 100L ) ); } // Kerning - inline short GetFixKerning() const { return nKern; } - inline void SetFixKerning( const short nNewKern ) { nKern = nNewKern; } + short GetFixKerning() const { return nKern; } + void SetFixKerning( const short nNewKern ) { nKern = nNewKern; } - inline SvxCaseMap GetCaseMap() const { return eCaseMap; } - inline void SetCaseMap( const SvxCaseMap eNew ) { eCaseMap = eNew; } + SvxCaseMap GetCaseMap() const { return eCaseMap; } + void SetCaseMap( const SvxCaseMap eNew ) { eCaseMap = eNew; } // Is-Methods: - inline bool IsCaseMap() const { return SVX_CASEMAP_NOT_MAPPED != eCaseMap; } - inline bool IsCapital() const { return SVX_CASEMAP_KAPITAELCHEN == eCaseMap; } - inline bool IsKern() const { return 0 != nKern; } - inline bool IsEsc() const { return 0 != nEsc; } + bool IsCaseMap() const { return SVX_CASEMAP_NOT_MAPPED != eCaseMap; } + bool IsCapital() const { return SVX_CASEMAP_KAPITAELCHEN == eCaseMap; } + bool IsKern() const { return 0 != nKern; } + bool IsEsc() const { return 0 != nEsc; } // Consider Upper case, Lower case letters etc. OUString CalcCaseMap(const OUString &rTxt) const; |