diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-12 14:06:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-17 10:55:17 +0200 |
commit | 3e82897353e576dc6e3fbf55371fda5a0c3415df (patch) | |
tree | 71c2f03128885000efae1852dccb504f8355c79e /include/basic | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'include/basic')
-rw-r--r-- | include/basic/basmgr.hxx | 2 | ||||
-rw-r--r-- | include/basic/sbmod.hxx | 5 | ||||
-rw-r--r-- | include/basic/sbxvar.hxx | 2 |
3 files changed, 5 insertions, 4 deletions
diff --git a/include/basic/basmgr.hxx b/include/basic/basmgr.hxx index 06c67cd75dd3..2f5ef0126ef2 100644 --- a/include/basic/basmgr.hxx +++ b/include/basic/basmgr.hxx @@ -188,7 +188,7 @@ public: // Modify-Flag will be reset only during save. bool IsBasicModified() const; - std::vector<BasicError>& GetErrors(); + std::vector<BasicError>& GetErrors() { return aErrors;} /** sets a global constant in the basic library, referring to some UNO object, to a new value. diff --git a/include/basic/sbmod.hxx b/include/basic/sbmod.hxx index e245840f193a..3c60c668e386 100644 --- a/include/basic/sbmod.hxx +++ b/include/basic/sbmod.hxx @@ -24,6 +24,7 @@ #include <basic/sbdef.hxx> #include <basic/sbxobj.hxx> #include <basic/sbxdef.hxx> +#include <basic/sbx.hxx> #include <rtl/ustring.hxx> #include <vector> #include <deque> @@ -102,7 +103,7 @@ public: virtual SbxVariable* Find( const OUString&, SbxClassType ) SAL_OVERRIDE; virtual const OUString& GetSource() const; - const OUString& GetSource32() const; + const OUString& GetSource32() const { return aOUSource;} const OUString& GetComment() const { return aComment; } virtual void SetSource( const OUString& r ); void SetSource32( const OUString& r ); @@ -135,7 +136,7 @@ public: ::com::sun::star::uno::Reference< ::com::sun::star::script::XInvocation > GetUnoModule(); bool createCOMWrapperForIface( ::com::sun::star::uno::Any& o_rRetAny, SbClassModuleObject* pProxyClassModuleObject ); void GetCodeCompleteDataFromParse(CodeCompleteDataCache& aCache); - SbxArrayRef GetMethods(); + SbxArrayRef GetMethods() { return pMethods;} OUString GetKeywordCase( const OUString& sKeyword ) const; }; diff --git a/include/basic/sbxvar.hxx b/include/basic/sbxvar.hxx index ec133d8bbd06..1c84f11ba805 100644 --- a/include/basic/sbxvar.hxx +++ b/include/basic/sbxvar.hxx @@ -137,7 +137,7 @@ public: virtual SbxClassType GetClass() const SAL_OVERRIDE; virtual SbxDataType GetType() const SAL_OVERRIDE; - SbxDataType GetFullType() const; + SbxDataType GetFullType() const { return aData.eType;} bool SetType( SbxDataType ); virtual bool Get( SbxValues& ) const; |