From 0bf12a06b6344659fe964955a022c7f367598634 Mon Sep 17 00:00:00 2001 From: Zolnai Tamás Date: Sun, 14 Jun 2015 12:22:01 +0200 Subject: Remove unused OpenGLObject Change-Id: I5c4832bd076cc5f05f936ac0d6a80027344e40ff --- svx/inc/pch/precompiled_svxcore.hxx | 2 - .../sdr/contact/viewobjectcontactofopenglobj.hxx | 36 --------------- svx/inc/svdoopengl.hxx | 51 ---------------------- 3 files changed, 89 deletions(-) delete mode 100644 svx/inc/sdr/contact/viewobjectcontactofopenglobj.hxx delete mode 100644 svx/inc/svdoopengl.hxx (limited to 'svx/inc') diff --git a/svx/inc/pch/precompiled_svxcore.hxx b/svx/inc/pch/precompiled_svxcore.hxx index 641fc127430a..48875a7a60a9 100644 --- a/svx/inc/pch/precompiled_svxcore.hxx +++ b/svx/inc/pch/precompiled_svxcore.hxx @@ -508,7 +508,6 @@ #include #include #include -#include #include #include #include @@ -810,7 +809,6 @@ #include #include #include -#include #include #include #include diff --git a/svx/inc/sdr/contact/viewobjectcontactofopenglobj.hxx b/svx/inc/sdr/contact/viewobjectcontactofopenglobj.hxx deleted file mode 100644 index 5e3827812845..000000000000 --- a/svx/inc/sdr/contact/viewobjectcontactofopenglobj.hxx +++ /dev/null @@ -1,36 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - */ - -#ifndef INCLUDED_SVX_INC_SDR_CONTACT_VIEWOBJECTCONTACTOFOPENGLOBJ_HXX -#define INCLUDED_SVX_INC_SDR_CONTACT_VIEWOBJECTCONTACTOFOPENGLOBJ_HXX - -#include -#include - -namespace vcl { class Window; } - -namespace sdr { -namespace contact { - -class ViewObjectContactOfOpenGLObj : public ViewObjectContactOfSdrObj -{ -public: - ViewObjectContactOfOpenGLObj(ObjectContact& rObjectContact, ViewContact& rViewContact); - virtual ~ViewObjectContactOfOpenGLObj(); - -private: - vcl::Window* getWindow() const; -}; - -} // namespace sdr -} // namespace contact - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/inc/svdoopengl.hxx b/svx/inc/svdoopengl.hxx deleted file mode 100644 index e30baeacfd0a..000000000000 --- a/svx/inc/svdoopengl.hxx +++ /dev/null @@ -1,51 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - */ - -#ifndef INCLUDED_SVX_INC_SVDOOPENGL_HXX -#define INCLUDED_SVX_INC_SVDOOPENGL_HXX - -#include -#include - -#include - -#include - -namespace sdr { namespace contact { - class ViewContact; -} } - -class IOpenGLRenderer; - -class SVX_DLLPUBLIC SdrOpenGLObj : public SdrObject, public IOpenGLInfoProvider -{ -public: - SdrOpenGLObj(); - virtual ~SdrOpenGLObj(); - virtual sdr::contact::ViewContact* CreateObjectSpecificViewContact() SAL_OVERRIDE; - - OpenGLContext* getOpenGLContext() { return mpContext;} - - virtual void NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact) SAL_OVERRIDE; - - void setRenderer(IOpenGLRenderer* pRenderer); - IOpenGLRenderer* getRenderer(); - - virtual bool isOpenGLInitialized() SAL_OVERRIDE; - -private: - - OpenGLContext* mpContext; - - boost::scoped_ptr mpRenderer; -}; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit