diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-27 18:12:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-27 18:12:18 +0100 |
commit | 567ef6d5782cdb729b49005caf6005610ce03e22 (patch) | |
tree | 7e3be1da41382e555d9091914ef7e064852a4fd4 /sd/source/ui/view/viewoverlaymanager.cxx | |
parent | c36daa01f444ebad799c1cc7a106f1b4bb3c3d12 (diff) |
Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
Diffstat (limited to 'sd/source/ui/view/viewoverlaymanager.cxx')
-rw-r--r-- | sd/source/ui/view/viewoverlaymanager.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sd/source/ui/view/viewoverlaymanager.cxx b/sd/source/ui/view/viewoverlaymanager.cxx index 4e8d1ade10a8..0afec03231a6 100644 --- a/sd/source/ui/view/viewoverlaymanager.cxx +++ b/sd/source/ui/view/viewoverlaymanager.cxx @@ -116,18 +116,18 @@ public: virtual ~ChangePlaceholderTag(); /** returns true if the SmartTag handled the event. */ - virtual bool MouseButtonDown( const MouseEvent&, SmartHdl& ); + virtual bool MouseButtonDown( const MouseEvent&, SmartHdl& ) SAL_OVERRIDE; /** returns true if the SmartTag consumes this event. */ - virtual bool KeyInput( const KeyEvent& rKEvt ); + virtual bool KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE; BitmapEx createOverlayImage( int nHighlight = -1 ); protected: - virtual void addCustomHandles( SdrHdlList& rHandlerList ); - virtual void disposing(); - virtual void select(); - virtual void deselect(); + virtual void addCustomHandles( SdrHdlList& rHandlerList ) SAL_OVERRIDE; + virtual void disposing() SAL_OVERRIDE; + virtual void select() SAL_OVERRIDE; + virtual void deselect() SAL_OVERRIDE; private: SdrObjectWeakRef mxPlaceholderObj; @@ -138,13 +138,13 @@ class ImageButtonHdl : public SmartHdl public: ImageButtonHdl( const SmartTagReference& xTag, /* sal_uInt16 nSID, const Image& rImage, const Image& rImageMO, */ const Point& rPnt ); virtual ~ImageButtonHdl(); - virtual void CreateB2dIAObject(); - virtual bool IsFocusHdl() const; - virtual Pointer GetPointer() const; - virtual bool isMarkable() const; + virtual void CreateB2dIAObject() SAL_OVERRIDE; + virtual bool IsFocusHdl() const SAL_OVERRIDE; + virtual Pointer GetPointer() const SAL_OVERRIDE; + virtual bool isMarkable() const SAL_OVERRIDE; - virtual void onMouseEnter(const MouseEvent& rMEvt); - virtual void onMouseLeave(); + virtual void onMouseEnter(const MouseEvent& rMEvt) SAL_OVERRIDE; + virtual void onMouseLeave() SAL_OVERRIDE; int getHighlightId() const { return mnHighlightId; } |