diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-16 09:49:37 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-16 12:18:39 +0000 |
commit | 1d852b32d7ad89b2317c04958060f366f8922ca4 (patch) | |
tree | 69720512c5675dfad89d00e1134b46faff5eb7b6 /svx/source/sdr | |
parent | 383b75f4f516d6a5d256ffc08bc0e7836520447b (diff) |
loplugin:unusedmethods svx
Change-Id: I92158457b3ffaaf7c84c6f4c87708d766c8c9f61
Reviewed-on: https://gerrit.libreoffice.org/17117
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/sdr')
-rw-r--r-- | svx/source/sdr/contact/objectcontact.cxx | 6 | ||||
-rw-r--r-- | svx/source/sdr/contact/objectcontactofpageview.cxx | 7 | ||||
-rw-r--r-- | svx/source/sdr/contact/viewcontact.cxx | 6 | ||||
-rw-r--r-- | svx/source/sdr/contact/viewcontactofsdrpage.cxx | 6 | ||||
-rw-r--r-- | svx/source/sdr/overlay/overlaymanager.cxx | 6 | ||||
-rw-r--r-- | svx/source/sdr/overlay/overlaymanagerbuffered.cxx | 7 |
6 files changed, 0 insertions, 38 deletions
diff --git a/svx/source/sdr/contact/objectcontact.cxx b/svx/source/sdr/contact/objectcontact.cxx index 1fd832f7f2e6..9ae337ba3cb0 100644 --- a/svx/source/sdr/contact/objectcontact.cxx +++ b/svx/source/sdr/contact/objectcontact.cxx @@ -203,12 +203,6 @@ void ObjectContact::SetViewObjectContactRedirector(ViewObjectContactRedirector* } } -// check if buffering of MasterPages is allowed. Default is false. -bool ObjectContact::IsMasterPageBufferingAllowed() const -{ - return false; -} - // print? Default is false bool ObjectContact::isOutputToPrinter() const { diff --git a/svx/source/sdr/contact/objectcontactofpageview.cxx b/svx/source/sdr/contact/objectcontactofpageview.cxx index e4199a21e3fa..555b06b5d391 100644 --- a/svx/source/sdr/contact/objectcontactofpageview.cxx +++ b/svx/source/sdr/contact/objectcontactofpageview.cxx @@ -413,13 +413,6 @@ namespace sdr return rView.IsSwapAsynchron(); } - // check if buffering of MasterPages is allowed. Default is sal_False. - bool ObjectContactOfPageView::IsMasterPageBufferingAllowed() const - { - SdrView& rView = GetPageWindow().GetPageView().GetView(); - return rView.IsMasterPagePaintCaching(); - } - // print? bool ObjectContactOfPageView::isOutputToPrinter() const { diff --git a/svx/source/sdr/contact/viewcontact.cxx b/svx/source/sdr/contact/viewcontact.cxx index 21062b218d23..e2aed54ec2ae 100644 --- a/svx/source/sdr/contact/viewcontact.cxx +++ b/svx/source/sdr/contact/viewcontact.cxx @@ -223,12 +223,6 @@ SdrObject* ViewContact::TryToGetSdrObject() const return 0L; } -SdrPage* ViewContact::TryToGetSdrPage() const -{ - return 0L; -} - - // primitive stuff drawinglayer::primitive2d::Primitive2DSequence ViewContact::createViewIndependentPrimitive2DSequence() const diff --git a/svx/source/sdr/contact/viewcontactofsdrpage.cxx b/svx/source/sdr/contact/viewcontactofsdrpage.cxx index f91fa5e05579..331d597c666e 100644 --- a/svx/source/sdr/contact/viewcontactofsdrpage.cxx +++ b/svx/source/sdr/contact/viewcontactofsdrpage.cxx @@ -580,12 +580,6 @@ void ViewContactOfSdrPage::ActionChanged() maViewContactOfHelplinesFront.ActionChanged(); } -// override for acessing the SdrPage -SdrPage* ViewContactOfSdrPage::TryToGetSdrPage() const -{ - return &GetSdrPage(); -} - drawinglayer::primitive2d::Primitive2DSequence ViewContactOfSdrPage::createViewIndependentPrimitive2DSequence() const { drawinglayer::primitive2d::Primitive2DSequence xRetval; diff --git a/svx/source/sdr/overlay/overlaymanager.cxx b/svx/source/sdr/overlay/overlaymanager.cxx index eb1141191386..6fa4e026ed6d 100644 --- a/svx/source/sdr/overlay/overlaymanager.cxx +++ b/svx/source/sdr/overlay/overlaymanager.cxx @@ -261,12 +261,6 @@ namespace sdr // default has nothing to do } - // #i68597# part of content gets copied, react on it - void OverlayManager::copyArea(const Point& /*rDestPt*/, const Point& /*rSrcPt*/, const Size& /*rSrcSize*/) - { - // unbuffered versions do nothing here - } - void OverlayManager::restoreBackground(const vcl::Region& /*rRegion*/) const { // unbuffered versions do nothing here diff --git a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx index f5373057d0b1..a1dc695d8395 100644 --- a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx +++ b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx @@ -428,13 +428,6 @@ namespace sdr ImpBufferTimerHandler(0); } - // #i68597# part of content gets copied, react on it - void OverlayManagerBuffered::copyArea(const Point& rDestPt, const Point& rSrcPt, const Size& rSrcSize) - { - // scroll local buffered area - mpBufferDevice->CopyArea(rDestPt, rSrcPt, rSrcSize); - } - void OverlayManagerBuffered::restoreBackground(const vcl::Region& rRegion) const { // restore |