Convert framework::AcceleratorConfigurationReader to WeakImplHelper
Change-Id: I2e2528c539ba93eb72466bd361c189be5746ecfe
This commit is contained in:
@@ -31,14 +31,13 @@
|
||||
#include <com/sun/star/xml/sax/XLocator.hpp>
|
||||
|
||||
#include <salhelper/singletonref.hxx>
|
||||
#include <cppuhelper/weak.hxx>
|
||||
#include <cppuhelper/implbase1.hxx>
|
||||
#include <rtl/ustring.hxx>
|
||||
|
||||
namespace framework{
|
||||
|
||||
class AcceleratorConfigurationReader : public css::xml::sax::XDocumentHandler
|
||||
, private ThreadHelpBase
|
||||
, public ::cppu::OWeakObject
|
||||
class AcceleratorConfigurationReader : private ThreadHelpBase
|
||||
, public ::cppu::WeakImplHelper1< css::xml::sax::XDocumentHandler >
|
||||
{
|
||||
//-------------------------------------------
|
||||
// const, types
|
||||
@@ -134,10 +133,6 @@ class AcceleratorConfigurationReader : public css::xml::sax::XDocumentHandler
|
||||
/** @short does nothing real ... */
|
||||
virtual ~AcceleratorConfigurationReader();
|
||||
|
||||
//---------------------------------------
|
||||
// XInterface
|
||||
FWK_DECLARE_XINTERFACE
|
||||
|
||||
//---------------------------------------
|
||||
// XDocumentHandler
|
||||
virtual void SAL_CALL startDocument()
|
||||
|
@@ -56,16 +56,9 @@ namespace framework{
|
||||
css::uno::Any()); \
|
||||
}
|
||||
|
||||
//-----------------------------------------------
|
||||
// XInterface
|
||||
DEFINE_XINTERFACE_1(AcceleratorConfigurationReader ,
|
||||
OWeakObject ,
|
||||
DIRECT_INTERFACE(css::xml::sax::XDocumentHandler))
|
||||
|
||||
//-----------------------------------------------
|
||||
AcceleratorConfigurationReader::AcceleratorConfigurationReader(AcceleratorCache& rContainer)
|
||||
: ThreadHelpBase (&Application::GetSolarMutex())
|
||||
, OWeakObject ( )
|
||||
, m_rContainer (rContainer )
|
||||
, m_bInsideAcceleratorList(sal_False )
|
||||
, m_bInsideAcceleratorItem(sal_False )
|
||||
|
Reference in New Issue
Block a user