summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-09 15:47:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-10 12:56:14 +0100
commit32823280efffc02a250fc8d4749b8eb0f491ae77 (patch)
treed53b384498f6ba4c40b3449205eda96d45fc7c1e /vcl/source
parent617fb9eed92711639e4e632132a649f23ac2f3eb (diff)
loplugin:unusedmethods
Change-Id: I543b0943f0bc918d59debc8ee051f88c29d18454 Reviewed-on: https://gerrit.libreoffice.org/44553 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/filter/GraphicNativeTransform.cxx16
-rw-r--r--vcl/source/opengl/OpenGLContext.cxx10
2 files changed, 0 insertions, 26 deletions
diff --git a/vcl/source/filter/GraphicNativeTransform.cxx b/vcl/source/filter/GraphicNativeTransform.cxx
index 187d3d089a61..4870e7011649 100644
--- a/vcl/source/filter/GraphicNativeTransform.cxx
+++ b/vcl/source/filter/GraphicNativeTransform.cxx
@@ -34,22 +34,6 @@ GraphicNativeTransform::GraphicNativeTransform(Graphic& rGraphic) :
GraphicNativeTransform::~GraphicNativeTransform()
{}
-bool GraphicNativeTransform::canBeRotated()
-{
- GfxLink aLink = mrGraphic.GetLink();
-
- // Don't allow rotation on animations for now
- if (mrGraphic.IsAnimated())
- {
- return false;
- }
-
- return aLink.GetType() == GfxLinkType::NativeJpg
- || aLink.GetType() == GfxLinkType::NativePng
- || aLink.GetType() == GfxLinkType::NativeGif
- || aLink.GetType() == GfxLinkType::NONE;
-}
-
bool GraphicNativeTransform::rotate(sal_uInt16 aInputRotation)
{
// Rotation can be between 0 and 3600
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index 66cd13bddf29..958c59925db2 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -116,11 +116,6 @@ void OpenGLContext::requestLegacyContext()
mbRequestLegacyContext = true;
}
-void OpenGLContext::requestSingleBufferedRendering()
-{
- mbUseDoubleBufferedRendering = false;
-}
-
#ifdef DBG_UTIL
namespace {
@@ -609,11 +604,6 @@ const SystemChildWindow* OpenGLContext::getChildWindow() const
return m_pChildWindow;
}
-bool OpenGLContext::supportMultiSampling() const
-{
- return getOpenGLWindow().bMultiSampleSupported;
-}
-
bool OpenGLContext::BindFramebuffer( OpenGLFramebuffer* pFramebuffer )
{
OpenGLZone aZone;