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 /svx/source/sdr/contact | |
parent | 2ebd79b3d214c62c0997606115ebc50700d6a760 (diff) |
loplugin:constantfunction: svx
Change-Id: Ib8c3599d245fbc371d00f28d812138b26c3f706d
Diffstat (limited to 'svx/source/sdr/contact')
-rw-r--r-- | svx/source/sdr/contact/viewcontact.cxx | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/svx/source/sdr/contact/viewcontact.cxx b/svx/source/sdr/contact/viewcontact.cxx index 39053e8be4a9..21062b218d23 100644 --- a/svx/source/sdr/contact/viewcontact.cxx +++ b/svx/source/sdr/contact/viewcontact.cxx @@ -44,17 +44,6 @@ ViewContact::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 ViewContact::StartGettingViewed() -{ -} - -void ViewContact::StopGettingViewed() -{ -} - ViewContact::~ViewContact() { deleteAllVOCs(); @@ -118,11 +107,6 @@ ViewObjectContact& ViewContact::GetViewObjectContact(ObjectContact& rObjectConta void ViewContact::AddViewObjectContact(ViewObjectContact& rVOContact) { maViewObjectContactVector.push_back(&rVOContact); - - if(1L == maViewObjectContactVector.size()) - { - StartGettingViewed(); - } } // A ViewObjectContact was deleted and shall be forgotten. @@ -133,13 +117,6 @@ void ViewContact::RemoveViewObjectContact(ViewObjectContact& rVOContact) if(aFindResult != maViewObjectContactVector.end()) { maViewObjectContactVector.erase(aFindResult); - - if(maViewObjectContactVector.empty()) - { - // This may need to get asynchron later since it eventually triggers - // deletes of OCs where the VOC is still added. - StopGettingViewed(); - } } } |