From a6f5770b4aaaa6506a22eae0d641ad48f9b6d239 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 3 Jul 2015 16:53:45 +0200 Subject: Revert "loplugin:unusedmethods sax,shell,stoc,basegfx" The basegfx changes appear to break Windows builds. This reverts commit 3b32c5898ff4e744d3f18b00421b433500426d74. --- stoc/source/corereflection/base.hxx | 6 ++++++ stoc/source/javavm/javavm.hxx | 3 +++ 2 files changed, 9 insertions(+) (limited to 'stoc') 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); -- cgit