mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Small deboostification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26461 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7b8908881c
commit
a62d0ab1bf
@ -83,9 +83,6 @@ TODO
|
||||
#include "support/os.h"
|
||||
#include "support/Systemcall.h"
|
||||
|
||||
#include <boost/bind.hpp>
|
||||
#include <boost/tuple/tuple.hpp>
|
||||
|
||||
#include <algorithm>
|
||||
#include <sstream>
|
||||
|
||||
@ -164,8 +161,7 @@ InsetGraphics::InsetGraphics(Buffer & buf)
|
||||
|
||||
InsetGraphics::InsetGraphics(InsetGraphics const & ig)
|
||||
: Inset(ig),
|
||||
boost::signals::trackable(),
|
||||
graphic_label(sgml::uniqueID(from_ascii("graph"))),
|
||||
graphic_label(sgml::uniqueID(from_ascii("graph"))),
|
||||
graphic_(new RenderGraphic(*ig.graphic_, this))
|
||||
{
|
||||
setParams(ig.params());
|
||||
@ -181,6 +177,7 @@ Inset * InsetGraphics::clone() const
|
||||
InsetGraphics::~InsetGraphics()
|
||||
{
|
||||
hideDialogs("graphics", this);
|
||||
delete graphic_;
|
||||
}
|
||||
|
||||
|
||||
|
@ -17,10 +17,6 @@
|
||||
#include "Inset.h"
|
||||
#include "InsetGraphicsParams.h"
|
||||
|
||||
#include <boost/scoped_ptr.hpp>
|
||||
#include <boost/signals/trackable.hpp>
|
||||
|
||||
|
||||
namespace lyx {
|
||||
|
||||
class RenderGraphic;
|
||||
@ -33,7 +29,7 @@ class LaTeXFeatures;
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/// Used for images etc.
|
||||
class InsetGraphics : public Inset, public boost::signals::trackable
|
||||
class InsetGraphics : public Inset
|
||||
{
|
||||
public:
|
||||
///
|
||||
@ -120,7 +116,7 @@ private:
|
||||
/// holds the entity name that defines the graphics location (SGML).
|
||||
docstring const graphic_label;
|
||||
/// The thing that actually draws the image on LyX's screen.
|
||||
boost::scoped_ptr<RenderGraphic> const graphic_;
|
||||
RenderGraphic * graphic_;
|
||||
};
|
||||
|
||||
namespace graphics {
|
||||
|
Loading…
Reference in New Issue
Block a user