summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
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;