diff options
Diffstat (limited to 'sfx2/inc/sfx2/event.hxx')
-rw-r--r-- | sfx2/inc/sfx2/event.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/inc/sfx2/event.hxx b/sfx2/inc/sfx2/event.hxx index 9b144b3c20b6..d24a38be0deb 100644 --- a/sfx2/inc/sfx2/event.hxx +++ b/sfx2/inc/sfx2/event.hxx @@ -46,17 +46,17 @@ class SFX2_DLLPUBLIC SfxEventHint : public SfxHint { SfxObjectShell* pObjShell; ::rtl::OUString aEventName; - USHORT nEventId; + sal_uInt16 nEventId; public: TYPEINFO(); - SfxEventHint( USHORT nId, const ::rtl::OUString& aName, SfxObjectShell *pObj = 0 ) + SfxEventHint( sal_uInt16 nId, const ::rtl::OUString& aName, SfxObjectShell *pObj = 0 ) : pObjShell(pObj), aEventName(aName), nEventId(nId) {} - USHORT GetEventId() const + sal_uInt16 GetEventId() const { return nEventId; } ::rtl::OUString GetEventName() const @@ -75,12 +75,12 @@ class SFX2_DLLPUBLIC SfxViewEventHint : public SfxEventHint public: TYPEINFO(); - SfxViewEventHint( USHORT nId, const ::rtl::OUString& aName, SfxObjectShell *pObj, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController >& xController ) + SfxViewEventHint( sal_uInt16 nId, const ::rtl::OUString& aName, SfxObjectShell *pObj, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController >& xController ) : SfxEventHint( nId, aName, pObj ) , xViewController( xController, ::com::sun::star::uno::UNO_QUERY ) {} - SfxViewEventHint( USHORT nId, const ::rtl::OUString& aName, SfxObjectShell *pObj, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController2 >& xController ) + SfxViewEventHint( sal_uInt16 nId, const ::rtl::OUString& aName, SfxObjectShell *pObj, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController2 >& xController ) : SfxEventHint( nId, aName, pObj ) , xViewController( xController ) {} |