Kaydet (Commit) 2299b596 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove unused ThreadHelpBase base

Change-Id: Ibddf0ab4107772a65f27851b1ebce3f7bb5d3bcf
üst 03478197
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#include <boost/unordered_map.hpp> #include <boost/unordered_map.hpp>
#include <memory> #include <memory>
#include <threadhelp/threadhelpbase.hxx>
#include <macros/generic.hxx> #include <macros/generic.hxx>
#include <macros/xinterface.hxx> #include <macros/xinterface.hxx>
#include <macros/xtypeprovider.hxx> #include <macros/xtypeprovider.hxx>
...@@ -59,8 +58,7 @@ namespace framework ...@@ -59,8 +58,7 @@ namespace framework
{ {
class ImageManagerImpl; class ImageManagerImpl;
class ModuleImageManager : private ThreadHelpBase , // Struct for right initalization of mutex member! Must be first of baseclasses. class ModuleImageManager : public ::cppu::WeakImplHelper1< ::com::sun::star::ui::XImageManager>
public ::cppu::WeakImplHelper1< ::com::sun::star::ui::XImageManager>
{ {
public: public:
ModuleImageManager( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& xContext ); ModuleImageManager( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& xContext );
......
...@@ -70,8 +70,7 @@ using namespace ::com::sun::star::ui; ...@@ -70,8 +70,7 @@ using namespace ::com::sun::star::ui;
namespace framework namespace framework
{ {
ModuleImageManager::ModuleImageManager( const uno::Reference< uno::XComponentContext >& xContext ) : ModuleImageManager::ModuleImageManager( const uno::Reference< uno::XComponentContext >& xContext ) :
ThreadHelpBase( &Application::GetSolarMutex() ) m_pImpl( new ImageManagerImpl(xContext,static_cast< OWeakObject* >(this),true) )
, m_pImpl( new ImageManagerImpl(xContext,static_cast< OWeakObject* >(this),true) )
{ {
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment