summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-28 13:37:47 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-03-28 14:13:45 +0100
commit10a883604e7ebe88e1e4372dd07dda348fb61e6a (patch)
treefc4de593db9a70c882f6906cbb0e217bdbf4b3bf /sd/source
parent94a32175d10272bf84cc76957e1647d062289b4e (diff)
use PartialWeakComponentImplHelperX for overloaded-virtual
Diffstat (limited to 'sd/source')
-rwxr-xr-xsd/source/ui/inc/AccessibleTreeNode.hxx14
-rw-r--r--sd/source/ui/inc/optsitem.hxx10
2 files changed, 15 insertions, 9 deletions
diff --git a/sd/source/ui/inc/AccessibleTreeNode.hxx b/sd/source/ui/inc/AccessibleTreeNode.hxx
index cf27a99c9a98..8651a90cec22 100755
--- a/sd/source/ui/inc/AccessibleTreeNode.hxx
+++ b/sd/source/ui/inc/AccessibleTreeNode.hxx
@@ -62,7 +62,7 @@ namespace accessibility {
class AccessibleSlideSorterObject;
-typedef ::cppu::WeakComponentImplHelper5<
+typedef ::cppu::PartialWeakComponentImplHelper5<
::com::sun::star::accessibility::XAccessible,
::com::sun::star::accessibility::XAccessibleEventBroadcaster,
::com::sun::star::accessibility::XAccessibleContext,
@@ -104,6 +104,15 @@ public:
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 =======================================================
virtual ::com::sun::star::uno::Reference<
@@ -126,9 +135,6 @@ public:
::com::sun::star::accessibility::XAccessibleEventListener >& rxListener )
throw (::com::sun::star::uno::RuntimeException);
- using cppu::WeakComponentImplHelperBase::addEventListener;
- using cppu::WeakComponentImplHelperBase::removeEventListener;
-
//===== XAccessibleContext ==============================================
/// Return the number of currently visible children.
diff --git a/sd/source/ui/inc/optsitem.hxx b/sd/source/ui/inc/optsitem.hxx
index ef3f531bea57..42ecc2bd118b 100644
--- a/sd/source/ui/inc/optsitem.hxx
+++ b/sd/source/ui/inc/optsitem.hxx
@@ -146,11 +146,11 @@ class SD_DLLPUBLIC SdOptionsLayout : public SdOptionsGeneric
{
private:
- sal_Bool bRuler : 1; // Layout/Display/Ruler
- sal_Bool bMoveOutline : 1; // Layout/Display/Contur
- sal_Bool bDragStripes : 1; // Layout/Display/Guide
- sal_Bool bHandlesBezier : 1; // Layout/Display/Bezier
- sal_Bool bHelplines : 1; // Layout/Display/Helpline
+ sal_Bool bRuler; // Layout/Display/Ruler
+ sal_Bool bMoveOutline; // Layout/Display/Contur
+ sal_Bool bDragStripes; // Layout/Display/Guide
+ sal_Bool bHandlesBezier; // Layout/Display/Bezier
+ sal_Bool bHelplines; // Layout/Display/Helpline
sal_uInt16 nMetric; // Layout/Other/MeasureUnit
sal_uInt16 nDefTab; // Layout/Other/TabStop