diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-04 11:17:25 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-19 10:45:01 +0200 |
commit | c97ccd3b3635a53e6bdc07b83c9bf8666b66000a (patch) | |
tree | d52bb0c6d93c0913375fdbd8eb6d36bbae3abbfe /include/svx/sdr | |
parent | 2ebd79b3d214c62c0997606115ebc50700d6a760 (diff) |
loplugin:constantfunction: svx
Change-Id: Ib8c3599d245fbc371d00f28d812138b26c3f706d
Diffstat (limited to 'include/svx/sdr')
-rw-r--r-- | include/svx/sdr/contact/viewcontact.hxx | 6 | ||||
-rw-r--r-- | include/svx/sdr/overlay/overlayobjectlist.hxx | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/include/svx/sdr/contact/viewcontact.hxx b/include/svx/sdr/contact/viewcontact.hxx index 8af91c7a7af8..0d07c8f124c9 100644 --- a/include/svx/sdr/contact/viewcontact.hxx +++ b/include/svx/sdr/contact/viewcontact.hxx @@ -86,12 +86,6 @@ protected: // never be called directly ViewContact(); - // Methods to react on start getting viewed or stop getting - // viewed. This info is derived from the count of members of - // registered ViewObjectContacts. Default does nothing. - void StartGettingViewed(); - void StopGettingViewed(); - public: // basic destructor with needed cleanups virtual ~ViewContact(); diff --git a/include/svx/sdr/overlay/overlayobjectlist.hxx b/include/svx/sdr/overlay/overlayobjectlist.hxx index 57f68604147c..f807e8c96e3a 100644 --- a/include/svx/sdr/overlay/overlayobjectlist.hxx +++ b/include/svx/sdr/overlay/overlayobjectlist.hxx @@ -44,7 +44,7 @@ namespace sdr OverlayObjectVector maVector; // default value for HiTestPixel - sal_uInt32 getDefaultValueForHitTestPixel() const { return 4L; } + static sal_uInt32 getDefaultValueForHitTestPixel() { return 4; } public: OverlayObjectList() {} |