summaryrefslogtreecommitdiffstats
path: root/sc/source/filter/inc/xihelper.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-03 20:57:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-03 20:55:50 +0000
commit6cb9e6dad798ec59f055aebe84a9c4a21e4be40d (patch)
tree21a7d6c0b165251ba8e0f36e73c851d41ac9dd04 /sc/source/filter/inc/xihelper.hxx
parenttdf#42982 improve error reporting in sc unoobj (diff)
downloadcore-6cb9e6dad798ec59f055aebe84a9c4a21e4be40d.tar.gz
core-6cb9e6dad798ec59f055aebe84a9c4a21e4be40d.zip
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/source/filter/inc/xihelper.hxx')
-rw-r--r--sc/source/filter/inc/xihelper.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/filter/inc/xihelper.hxx b/sc/source/filter/inc/xihelper.hxx
index a523231f1c76..e5a5f6484194 100644
--- a/sc/source/filter/inc/xihelper.hxx
+++ b/sc/source/filter/inc/xihelper.hxx
@@ -201,11 +201,11 @@ private: // types
private:
/** Returns the current edit engine text object. */
- inline XclImpHFPortionInfo& GetCurrInfo() { return maInfos[ meCurrObj ]; }
+ XclImpHFPortionInfo& GetCurrInfo() { return maInfos[ meCurrObj ]; }
/** Returns the current edit engine text object. */
- inline XclImpHFPortionInfo::EditTextObjectRef& GetCurrObj() { return GetCurrInfo().mxObj; }
+ XclImpHFPortionInfo::EditTextObjectRef& GetCurrObj() { return GetCurrInfo().mxObj; }
/** Returns the current selection. */
- inline ESelection& GetCurrSel() { return GetCurrInfo().maSel; }
+ ESelection& GetCurrSel() { return GetCurrInfo().maSel; }
/** Returns the maximum line height of the specified portion. */
sal_uInt16 GetMaxLineHeight( XclImpHFPortion ePortion ) const;
@@ -309,15 +309,15 @@ public:
virtual ~XclImpCachedValue();
/** Returns the type of the cached value (EXC_CACHEDVAL_*). */
- inline sal_uInt8 GetType() const { return mnType; }
+ sal_uInt8 GetType() const { return mnType; }
/** Returns the cached string value, if this value is a string, else an empty string. */
const OUString& GetString() const { return maStr;}
/** Returns the cached number, if this value has number type, else 0.0. */
- inline double GetValue() const { return mfValue; }
+ double GetValue() const { return mfValue; }
/** Returns the cached Boolean value, if this value has Boolean type, else false. */
- inline bool GetBool() const { return (mnType == EXC_CACHEDVAL_BOOL) && (mnBoolErr != 0); }
+ bool GetBool() const { return (mnType == EXC_CACHEDVAL_BOOL) && (mnBoolErr != 0); }
/** Returns the cached Calc error code, if this value has Error type, else 0. */
- inline sal_uInt8 GetXclError() const { return (mnType == EXC_CACHEDVAL_ERROR) ? mnBoolErr : EXC_ERR_NA; }
+ sal_uInt8 GetXclError() const { return (mnType == EXC_CACHEDVAL_ERROR) ? mnBoolErr : EXC_ERR_NA; }
/** Returns the cached Calc error code, if this value has Error type, else 0. */
FormulaError GetScError() const;