summaryrefslogtreecommitdiff
path: root/svx/source/sdr
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-08-08 13:55:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-08-09 14:17:08 +0200
commitf4fb14ed796cec7a02f3a06a6556997ae415e79d (patch)
treef4d1cd6d31d8b9530786ee90ce9034e5e4d950c6 /svx/source/sdr
parentd84bf553afa510e5c674817fa480ac0af62e4945 (diff)
loplugin:unusedmethods
Change-Id: I0308ddd467ab6e283c0503f98885a248eb28290c Reviewed-on: https://gerrit.libreoffice.org/58738 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/sdr')
-rw-r--r--svx/source/sdr/contact/objectcontact.cxx6
-rw-r--r--svx/source/sdr/contact/objectcontactofpageview.cxx7
-rw-r--r--svx/source/sdr/contact/viewobjectcontactofgraphic.cxx10
3 files changed, 0 insertions, 23 deletions
diff --git a/svx/source/sdr/contact/objectcontact.cxx b/svx/source/sdr/contact/objectcontact.cxx
index 2aa2655cac22..9bcd586acf7f 100644
--- a/svx/source/sdr/contact/objectcontact.cxx
+++ b/svx/source/sdr/contact/objectcontact.cxx
@@ -146,12 +146,6 @@ bool ObjectContact::IsGraphicAnimationAllowed() const
return true;
}
-// check if asynchronous graphics loading is allowed. Default is false.
-bool ObjectContact::IsAsynchronGraphicsLoadingAllowed() const
-{
- return false;
-}
-
void ObjectContact::SetViewObjectContactRedirector(ViewObjectContactRedirector* pNew)
{
if(mpViewObjectContactRedirector != pNew)
diff --git a/svx/source/sdr/contact/objectcontactofpageview.cxx b/svx/source/sdr/contact/objectcontactofpageview.cxx
index 281f304d3829..19b28b9488d0 100644
--- a/svx/source/sdr/contact/objectcontactofpageview.cxx
+++ b/svx/source/sdr/contact/objectcontactofpageview.cxx
@@ -407,13 +407,6 @@ namespace sdr
return rOpt.GetIsAllowAnimatedGraphics();
}
- // check if asynchronious graphis loading is allowed. Default is sal_False.
- bool ObjectContactOfPageView::IsAsynchronGraphicsLoadingAllowed() const
- {
- SdrView& rView = GetPageWindow().GetPageView().GetView();
- return rView.IsSwapAsynchron();
- }
-
// print?
bool ObjectContactOfPageView::isOutputToPrinter() const
{
diff --git a/svx/source/sdr/contact/viewobjectcontactofgraphic.cxx b/svx/source/sdr/contact/viewobjectcontactofgraphic.cxx
index 59c32e6e4006..0e6fbcfc447a 100644
--- a/svx/source/sdr/contact/viewobjectcontactofgraphic.cxx
+++ b/svx/source/sdr/contact/viewobjectcontactofgraphic.cxx
@@ -30,16 +30,6 @@ namespace sdr
{
namespace contact
{
- const SdrGrafObj& ViewObjectContactOfGraphic::getSdrGrafObj() const
- {
- return static_cast<const ViewContactOfGraphic& >(GetViewContact()).GetGrafObject();
- }
-
- SdrGrafObj& ViewObjectContactOfGraphic::getSdrGrafObj()
- {
- return static_cast<ViewContactOfGraphic& >(GetViewContact()).GetGrafObject();
- }
-
drawinglayer::primitive2d::Primitive2DContainer ViewObjectContactOfGraphic::createPrimitive2DSequence(const DisplayInfo& rDisplayInfo) const
{
// get return value by calling parent