summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-12 14:06:28 +0200
committerNoel Grandin <noel@peralex.com>2014-06-17 10:55:17 +0200
commit3e82897353e576dc6e3fbf55371fda5a0c3415df (patch)
tree71c2f03128885000efae1852dccb504f8355c79e /stoc
parentec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff)
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/javavm/jvmargs.cxx4
-rw-r--r--stoc/source/javavm/jvmargs.hxx2
-rw-r--r--stoc/source/uriproc/UriReference.cxx3
-rw-r--r--stoc/source/uriproc/UriReference.hxx2
4 files changed, 2 insertions, 9 deletions
diff --git a/stoc/source/javavm/jvmargs.cxx b/stoc/source/javavm/jvmargs.cxx
index 2ab9e20cc378..9668df2037a6 100644
--- a/stoc/source/javavm/jvmargs.cxx
+++ b/stoc/source/javavm/jvmargs.cxx
@@ -32,10 +32,6 @@ void JVM::pushProp(const OUString & property)
_props.push_back(property);
}
-const ::std::vector< OUString > & JVM::getProperties() const
-{
- return _props;
-}
}
diff --git a/stoc/source/javavm/jvmargs.hxx b/stoc/source/javavm/jvmargs.hxx
index 828fc51440ef..4d6badac8395 100644
--- a/stoc/source/javavm/jvmargs.hxx
+++ b/stoc/source/javavm/jvmargs.hxx
@@ -43,7 +43,7 @@ namespace stoc_javavm {
JVM() throw();
void pushProp(const OUString & uString);
- const ::std::vector< OUString> & getProperties() const;
+ const ::std::vector< OUString> & getProperties() const { return _props;}
};
}
diff --git a/stoc/source/uriproc/UriReference.cxx b/stoc/source/uriproc/UriReference.cxx
index c17afed3dd94..a1dff888b4a0 100644
--- a/stoc/source/uriproc/UriReference.cxx
+++ b/stoc/source/uriproc/UriReference.cxx
@@ -71,9 +71,6 @@ bool UriReference::isAbsolute() throw (css::uno::RuntimeException) {
return !m_scheme.isEmpty();
}
-OUString UriReference::getScheme() throw (css::uno::RuntimeException) {
- return m_scheme;
-}
OUString UriReference::getSchemeSpecificPart()
throw (css::uno::RuntimeException)
diff --git a/stoc/source/uriproc/UriReference.hxx b/stoc/source/uriproc/UriReference.hxx
index b9f1af8a023e..1bff45d5cffe 100644
--- a/stoc/source/uriproc/UriReference.hxx
+++ b/stoc/source/uriproc/UriReference.hxx
@@ -42,7 +42,7 @@ public:
bool isAbsolute() throw (css::uno::RuntimeException);
- OUString getScheme() throw (css::uno::RuntimeException);
+ OUString getScheme() throw (css::uno::RuntimeException) { return m_scheme;}
OUString getSchemeSpecificPart()
throw (css::uno::RuntimeException);