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/scmatrix.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/scmatrix.hxx')
-rw-r--r-- | sc/inc/scmatrix.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/inc/scmatrix.hxx b/sc/inc/scmatrix.hxx index 632205a6ebfb..886bbd86840a 100644 --- a/sc/inc/scmatrix.hxx +++ b/sc/inc/scmatrix.hxx @@ -153,7 +153,7 @@ public: }; /// The maximum number of elements a matrix may have at runtime. - inline static size_t GetElementsMax() + static size_t GetElementsMax() { // TODO: Fix me. return 0x08000000; @@ -174,19 +174,19 @@ public: bool static IsSizeAllocatable( SCSIZE nC, SCSIZE nR ); /// Value or boolean. - inline static bool IsValueType( ScMatValType nType ) + static bool IsValueType( ScMatValType nType ) { return nType <= ScMatValType::Boolean; } /// Boolean. - inline static bool IsBooleanType( ScMatValType nType ) + static bool IsBooleanType( ScMatValType nType ) { return nType == ScMatValType::Boolean; } /// String, empty or empty path, but not value nor boolean. - inline static bool IsNonValueType( ScMatValType nType ) + static bool IsNonValueType( ScMatValType nType ) { return bool(nType & ScMatValType::NonvalueMask); } @@ -194,19 +194,19 @@ public: /** String, but not empty or empty path or any other type. Not named IsStringType to prevent confusion because previously IsNonValueType was named IsStringType. */ - inline static bool IsRealStringType( ScMatValType nType ) + static bool IsRealStringType( ScMatValType nType ) { return (nType & ScMatValType::NonvalueMask) == ScMatValType::String; } /// Empty, but not empty path or any other type. - inline static bool IsEmptyType( ScMatValType nType ) + static bool IsEmptyType( ScMatValType nType ) { return (nType & ScMatValType::NonvalueMask) == ScMatValType::Empty; } /// Empty path, but not empty or any other type. - inline static bool IsEmptyPathType( ScMatValType nType ) + static bool IsEmptyPathType( ScMatValType nType ) { return (nType & ScMatValType::NonvalueMask) == ScMatValType::EmptyPath; } |