summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-03 16:53:45 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-03 16:53:45 +0200
commita6f5770b4aaaa6506a22eae0d641ad48f9b6d239 (patch)
treea6c682cae9034bc67f23c410dd3d0227d36d680b /stoc
parent5bc343cc723f993ed112cf5c700e3f397527d671 (diff)
Revert "loplugin:unusedmethods sax,shell,stoc,basegfx"
The basegfx changes appear to break Windows builds. This reverts commit 3b32c5898ff4e744d3f18b00421b433500426d74.
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/corereflection/base.hxx6
-rw-r--r--stoc/source/javavm/javavm.hxx3
2 files changed, 9 insertions, 0 deletions
diff --git a/stoc/source/corereflection/base.hxx b/stoc/source/corereflection/base.hxx
index 426c2d2c0c44..ea1b8527ad80 100644
--- a/stoc/source/corereflection/base.hxx
+++ b/stoc/source/corereflection/base.hxx
@@ -159,6 +159,10 @@ public:
{ return _pTypeDescr; }
IdlReflectionServiceImpl * getReflection() const
{ return _pReflection; }
+ css::uno::Reference< css::lang::XMultiServiceFactory > getSMgr() const
+ { return _pReflection->getSMgr(); }
+ css::uno::Reference< css::container::XHierarchicalNameAccess > getTDMgr() const
+ { return getReflection()->getTDMgr(); }
// Ctor
IdlClassImpl( IdlReflectionServiceImpl * pReflection,
@@ -342,6 +346,8 @@ protected:
public:
IdlReflectionServiceImpl * getReflection() const
{ return _pReflection; }
+ css::uno::Reference< css::lang::XMultiServiceFactory > getSMgr() const
+ { return _pReflection->getSMgr(); }
typelib_TypeDescription * getTypeDescr() const
{ return _pTypeDescr; }
typelib_TypeDescription * getDeclTypeDescr() const
diff --git a/stoc/source/javavm/javavm.hxx b/stoc/source/javavm/javavm.hxx
index cf3e3581db5a..a8046b676e06 100644
--- a/stoc/source/javavm/javavm.hxx
+++ b/stoc/source/javavm/javavm.hxx
@@ -128,6 +128,9 @@ private:
virtual void SAL_CALL disposing() SAL_OVERRIDE;
+ JavaVM * createJavaVM(JVM const & jvm, JNIEnv ** pMainThreadEnv);
+ // throws css::uno::RuntimeException
+
void registerConfigChangesListener();
void setINetSettingsInVM(bool set_reset);