summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-09 10:09:42 +0200
committerNoel Grandin <noel@peralex.com>2014-06-09 10:10:13 +0200
commit184a00b96235f6432294ded63ce4a4a318effdb5 (patch)
treee4ae0e00cb168fa43d280cfb51a50515258b5320 /scripting
parent534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff)
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/provider/MasterScriptProvider.cxx5
-rw-r--r--scripting/source/provider/MasterScriptProvider.hxx2
2 files changed, 1 insertions, 6 deletions
diff --git a/scripting/source/provider/MasterScriptProvider.cxx b/scripting/source/provider/MasterScriptProvider.cxx
index a66886622eb2..8d0385cca039 100644
--- a/scripting/source/provider/MasterScriptProvider.cxx
+++ b/scripting/source/provider/MasterScriptProvider.cxx
@@ -361,11 +361,6 @@ throw ( provider::ScriptFrameworkErrorException,
return xScript;
}
-bool
-MasterScriptProvider::isValid()
-{
- return m_bIsValid;
-}
ProviderCache*
diff --git a/scripting/source/provider/MasterScriptProvider.hxx b/scripting/source/provider/MasterScriptProvider.hxx
index b1153272e85a..e321a2cac131 100644
--- a/scripting/source/provider/MasterScriptProvider.hxx
+++ b/scripting/source/provider/MasterScriptProvider.hxx
@@ -114,7 +114,7 @@ public:
private:
OUString parseLocationName( const OUString& location );
void createPkgProvider();
- bool isValid();
+ bool isValid() { return m_bIsValid;}
OUString getURLForModel();
const css::uno::Sequence< OUString >& getProviderNames();