diff options
Diffstat (limited to 'dtrans/source/win32/dnd/target.hxx')
-rw-r--r-- | dtrans/source/win32/dnd/target.hxx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/dtrans/source/win32/dnd/target.hxx b/dtrans/source/win32/dnd/target.hxx index 47ff87ce6fb9..ada9301a04f1 100644 --- a/dtrans/source/win32/dnd/target.hxx +++ b/dtrans/source/win32/dnd/target.hxx @@ -87,7 +87,7 @@ private: Reference<XComponentContext> m_xContext; // If m_bActive == sal_True then events are fired to XDropTargetListener s, // none otherwise. The default value is sal_True. - sal_Bool m_bActive; + bool m_bActive; sal_Int8 m_nDefaultActions; // This value is set when a XDropTargetListener calls accept or reject on @@ -102,39 +102,39 @@ private: // action has changed (dropActionChanged) // sal_Int8 m_userAction; // Set by listeners when they call XDropTargetDropContext::dropComplete - sal_Bool m_bDropComplete; + bool m_bDropComplete; Reference<XDropTargetDragContext> m_currentDragContext; Reference<XDropTargetDropContext> m_currentDropContext; public: explicit DropTarget(const Reference<XComponentContext>& rxContext); - virtual ~DropTarget(); + virtual ~DropTarget() override; DropTarget(DropTarget&) = delete; DropTarget &operator= (DropTarget&) = delete; // Overrides WeakComponentImplHelper::disposing which is called by // WeakComponentImplHelper::dispose // Must be called. - virtual void SAL_CALL disposing(); + virtual void SAL_CALL disposing() override; // XInitialization virtual void SAL_CALL initialize( const Sequence< Any >& aArguments ) - throw(Exception, RuntimeException); + throw(Exception, RuntimeException) override; // XDropTarget virtual void SAL_CALL addDropTargetListener( const Reference< XDropTargetListener >& dtl ) - throw(RuntimeException); + throw(RuntimeException) override; virtual void SAL_CALL removeDropTargetListener( const Reference< XDropTargetListener >& dtl ) - throw(RuntimeException); + throw(RuntimeException) override; // Default is not active - virtual sal_Bool SAL_CALL isActive( ) throw(RuntimeException); - virtual void SAL_CALL setActive( sal_Bool isActive ) throw(RuntimeException); - virtual sal_Int8 SAL_CALL getDefaultActions( ) throw(RuntimeException); - virtual void SAL_CALL setDefaultActions( sal_Int8 actions ) throw(RuntimeException); + virtual sal_Bool SAL_CALL isActive( ) throw(RuntimeException) override; + virtual void SAL_CALL setActive( sal_Bool isActive ) throw(RuntimeException) override; + virtual sal_Int8 SAL_CALL getDefaultActions( ) throw(RuntimeException) override; + virtual void SAL_CALL setDefaultActions( sal_Int8 actions ) throw(RuntimeException) override; // XServiceInfo - virtual OUString SAL_CALL getImplementationName( ) throw (RuntimeException); - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (RuntimeException); - virtual Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (RuntimeException); + virtual OUString SAL_CALL getImplementationName( ) throw (RuntimeException) override; + virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (RuntimeException) override; + virtual Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (RuntimeException) override; // Functions called from the IDropTarget implementation ( m_pDropTarget) virtual HRESULT DragEnter( @@ -161,7 +161,7 @@ public: void _acceptDrop( sal_Int8 dropOperation, const Reference<XDropTargetDropContext>& context); void _rejectDrop( const Reference<XDropTargetDropContext>& context); - void _dropComplete( sal_Bool success, const Reference<XDropTargetDropContext>& context); + void _dropComplete( bool success, const Reference<XDropTargetDropContext>& context); // XDropTargetDragContext delegated from DragContext void _acceptDrag( sal_Int8 dragOperation, const Reference<XDropTargetDragContext>& context); |