Kaydet (Commit) 10a88360 authored tarafından Caolán McNamara's avatar Caolán McNamara

use PartialWeakComponentImplHelperX for overloaded-virtual

üst 94a32175
...@@ -62,7 +62,7 @@ namespace accessibility { ...@@ -62,7 +62,7 @@ namespace accessibility {
class AccessibleSlideSorterObject; class AccessibleSlideSorterObject;
typedef ::cppu::WeakComponentImplHelper5< typedef ::cppu::PartialWeakComponentImplHelper5<
::com::sun::star::accessibility::XAccessible, ::com::sun::star::accessibility::XAccessible,
::com::sun::star::accessibility::XAccessibleEventBroadcaster, ::com::sun::star::accessibility::XAccessibleEventBroadcaster,
::com::sun::star::accessibility::XAccessibleContext, ::com::sun::star::accessibility::XAccessibleContext,
...@@ -104,6 +104,15 @@ public: ...@@ -104,6 +104,15 @@ public:
virtual void SAL_CALL disposing (void); virtual void SAL_CALL disposing (void);
//===== XComponent =======================================================
virtual void SAL_CALL dispose()throw (::com::sun::star::uno::RuntimeException)
{ WeakComponentImplHelperBase::dispose(); }
virtual void SAL_CALL addEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & xListener)throw (::com::sun::star::uno::RuntimeException)
{ WeakComponentImplHelperBase::addEventListener(xListener); }
virtual void SAL_CALL removeEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & xListener)throw (::com::sun::star::uno::RuntimeException)
{ WeakComponentImplHelperBase::removeEventListener(xListener); }
//===== XAccessible ======================================================= //===== XAccessible =======================================================
virtual ::com::sun::star::uno::Reference< virtual ::com::sun::star::uno::Reference<
...@@ -126,9 +135,6 @@ public: ...@@ -126,9 +135,6 @@ public:
::com::sun::star::accessibility::XAccessibleEventListener >& rxListener ) ::com::sun::star::accessibility::XAccessibleEventListener >& rxListener )
throw (::com::sun::star::uno::RuntimeException); throw (::com::sun::star::uno::RuntimeException);
using cppu::WeakComponentImplHelperBase::addEventListener;
using cppu::WeakComponentImplHelperBase::removeEventListener;
//===== XAccessibleContext ============================================== //===== XAccessibleContext ==============================================
/// Return the number of currently visible children. /// Return the number of currently visible children.
......
...@@ -146,11 +146,11 @@ class SD_DLLPUBLIC SdOptionsLayout : public SdOptionsGeneric ...@@ -146,11 +146,11 @@ class SD_DLLPUBLIC SdOptionsLayout : public SdOptionsGeneric
{ {
private: private:
sal_Bool bRuler : 1; // Layout/Display/Ruler sal_Bool bRuler; // Layout/Display/Ruler
sal_Bool bMoveOutline : 1; // Layout/Display/Contur sal_Bool bMoveOutline; // Layout/Display/Contur
sal_Bool bDragStripes : 1; // Layout/Display/Guide sal_Bool bDragStripes; // Layout/Display/Guide
sal_Bool bHandlesBezier : 1; // Layout/Display/Bezier sal_Bool bHandlesBezier; // Layout/Display/Bezier
sal_Bool bHelplines : 1; // Layout/Display/Helpline sal_Bool bHelplines; // Layout/Display/Helpline
sal_uInt16 nMetric; // Layout/Other/MeasureUnit sal_uInt16 nMetric; // Layout/Other/MeasureUnit
sal_uInt16 nDefTab; // Layout/Other/TabStop sal_uInt16 nDefTab; // Layout/Other/TabStop
......
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