diff options
author | Arnaud Versini <arnaud.versini@libreoffice.org> | 2020-09-06 15:49:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-09-07 15:27:51 +0200 |
commit | 85232a2e5711e811bdba615f541c08ed10045ee5 (patch) | |
tree | 963e2780d4103e3437fa5db46a4abed64bf7b5a4 /basic | |
parent | 76babdeaf2e419d2aa21d674160a4575691a536a (diff) |
BASIC : no need for a DLL manager impl on non windows systems
Change-Id: I4bee1ec99b69b42b7eea540b04511cbafe5fbd0c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102106
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/dllmgr-none.cxx | 6 | ||||
-rw-r--r-- | basic/source/runtime/dllmgr.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/runtime/dllmgr-none.cxx b/basic/source/runtime/dllmgr-none.cxx index 7ca7e5131e3e..bce18495b3bb 100644 --- a/basic/source/runtime/dllmgr-none.cxx +++ b/basic/source/runtime/dllmgr-none.cxx @@ -32,8 +32,6 @@ #include "dllmgr.hxx" -struct SbiDllMgr::Impl {}; - namespace { // Overcome the mess of Currency vs. custom types etc. @@ -107,8 +105,8 @@ ErrCode SbiDllMgr::Call( void SbiDllMgr::FreeDll(SAL_UNUSED_PARAMETER OUString const &) {} -SbiDllMgr::SbiDllMgr(): impl_(new Impl) {} +SbiDllMgr::SbiDllMgr() = default; -SbiDllMgr::~SbiDllMgr() {} +SbiDllMgr::~SbiDllMgr() = default; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basic/source/runtime/dllmgr.hxx b/basic/source/runtime/dllmgr.hxx index ce79c54797f3..08927843a98d 100644 --- a/basic/source/runtime/dllmgr.hxx +++ b/basic/source/runtime/dllmgr.hxx @@ -42,9 +42,11 @@ public: void FreeDll(OUString const & library); private: +#ifdef _WIN32 struct Impl; std::unique_ptr< Impl > impl_; +#endif }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |