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 /i18npool | |
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 'i18npool')
-rw-r--r-- | i18npool/source/localedata/LocaleNode.hxx | 36 | ||||
-rw-r--r-- | i18npool/source/search/levdis.hxx | 2 |
2 files changed, 19 insertions, 19 deletions
diff --git a/i18npool/source/localedata/LocaleNode.hxx b/i18npool/source/localedata/LocaleNode.hxx index 00e24be389d6..31f7c95d9d57 100644 --- a/i18npool/source/localedata/LocaleNode.hxx +++ b/i18npool/source/localedata/LocaleNode.hxx @@ -93,12 +93,12 @@ protected: public: LocaleNode (const OUString& name, const Reference< XAttributeList > & attr); - inline void setValue(const OUString &oValue) { aValue += oValue; }; - inline const OUString& getName() const { return aName; }; - inline const OUString& getValue() const { return aValue; }; - inline const Attr& getAttr() const { return aAttribs; }; - inline sal_Int32 getNumberOfChildren () const { return nChildren; }; - inline LocaleNode * getChildAt (sal_Int32 idx) const { return children[idx] ; }; + void setValue(const OUString &oValue) { aValue += oValue; }; + const OUString& getName() const { return aName; }; + const OUString& getValue() const { return aValue; }; + const Attr& getAttr() const { return aAttribs; }; + sal_Int32 getNumberOfChildren () const { return nChildren; }; + LocaleNode * getChildAt (sal_Int32 idx) const { return children[idx] ; }; const LocaleNode * findNode ( const sal_Char *name) const; void print () const; void printR () const; @@ -130,7 +130,7 @@ public: class LCInfoNode : public LocaleNode { public: - inline LCInfoNode (const OUString& name, + LCInfoNode (const OUString& name, const Reference< XAttributeList > & attr) : LocaleNode (name, attr) { ; }; virtual void generateCode (const OFileWriter &of) const override; }; @@ -138,7 +138,7 @@ public: class LCCTYPENode : public LocaleNode { public: - inline LCCTYPENode (const OUString& name, + LCCTYPENode (const OUString& name, const Reference< XAttributeList > & attr) : LocaleNode (name, attr) { ; }; virtual void generateCode (const OFileWriter &of) const override; @@ -148,7 +148,7 @@ class LCFormatNode : public LocaleNode { static sal_Int16 mnSection; static sal_Int16 mnFormats; public: - inline LCFormatNode (const OUString& name, + LCFormatNode (const OUString& name, const Reference< XAttributeList > & attr) : LocaleNode (name, attr) { ; }; virtual void generateCode (const OFileWriter &of) const override; @@ -156,7 +156,7 @@ public: class LCCollationNode : public LocaleNode { public: - inline LCCollationNode (const OUString& name, + LCCollationNode (const OUString& name, const Reference< XAttributeList > & attr) : LocaleNode (name, attr) { ; }; virtual void generateCode (const OFileWriter &of) const override; @@ -164,7 +164,7 @@ public: class LCIndexNode : public LocaleNode { public: - inline LCIndexNode (const OUString& name, + LCIndexNode (const OUString& name, const Reference< XAttributeList > & attr) : LocaleNode (name, attr) { ; }; virtual void generateCode (const OFileWriter &of) const override; @@ -172,7 +172,7 @@ public: class LCSearchNode : public LocaleNode { public: - inline LCSearchNode (const OUString& name, + LCSearchNode (const OUString& name, const Reference< XAttributeList > & attr) : LocaleNode (name, attr) { ; }; virtual void generateCode (const OFileWriter &of) const override; @@ -180,7 +180,7 @@ public: class LCCalendarNode : public LocaleNode { public: - inline LCCalendarNode (const OUString& name, + LCCalendarNode (const OUString& name, const Reference< XAttributeList > & attr) : LocaleNode (name, attr) { ; }; virtual void generateCode (const OFileWriter &of) const override; @@ -188,7 +188,7 @@ public: class LCCurrencyNode : public LocaleNode { public: - inline LCCurrencyNode (const OUString& name, + LCCurrencyNode (const OUString& name, const Reference< XAttributeList > & attr) : LocaleNode (name, attr) { ; }; virtual void generateCode (const OFileWriter &of) const override; @@ -196,7 +196,7 @@ public: class LCTransliterationNode : public LocaleNode { public: - inline LCTransliterationNode (const OUString& name, + LCTransliterationNode (const OUString& name, const Reference< XAttributeList > & attr) : LocaleNode (name, attr) { ; }; virtual void generateCode (const OFileWriter &of) const override; @@ -204,7 +204,7 @@ public: class LCMiscNode : public LocaleNode { public: - inline LCMiscNode (const OUString& name, + LCMiscNode (const OUString& name, const Reference< XAttributeList > & attr) : LocaleNode (name, attr) { ; }; virtual void generateCode (const OFileWriter &of) const override; @@ -212,7 +212,7 @@ public: class LCNumberingLevelNode : public LocaleNode { public: - inline LCNumberingLevelNode (const OUString& name, + LCNumberingLevelNode (const OUString& name, const Reference< XAttributeList > & attr) : LocaleNode (name, attr) { ; }; virtual void generateCode (const OFileWriter &of) const override; @@ -220,7 +220,7 @@ public: class LCOutlineNumberingLevelNode : public LocaleNode { public: - inline LCOutlineNumberingLevelNode (const OUString& name, + LCOutlineNumberingLevelNode (const OUString& name, const Reference< XAttributeList > & attr) : LocaleNode (name, attr) { ; }; virtual void generateCode (const OFileWriter &of) const override; diff --git a/i18npool/source/search/levdis.hxx b/i18npool/source/search/levdis.hxx index e469a6a6d906..daf8778806a3 100644 --- a/i18npool/source/search/levdis.hxx +++ b/i18npool/source/search/levdis.hxx @@ -181,7 +181,7 @@ public: void CalcLPQR( int nOtherX, int nShorterY, int nLongerZ, bool bRelaxed ); - inline int GetLimit() const { return nLimit; } + int GetLimit() const { return nLimit; } // Calculate current balance, keep this inline for performance reasons! // c == cpPattern[jj] == cString[ii] |