X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FRenderGraphic.h;h=938322fad0abf5497d3c0964c7f11a6779d284db;hb=0362c6aae73c293d1c20277c12d362acfe0b2ef6;hp=49db0e2c1f8d6b227f599b408e50beb7c5129ed0;hpb=32871c1284f15265f652ff01c438e539a7c8181f;p=lyx.git diff --git a/src/insets/RenderGraphic.h b/src/insets/RenderGraphic.h index 49db0e2c1f..938322fad0 100644 --- a/src/insets/RenderGraphic.h +++ b/src/insets/RenderGraphic.h @@ -26,10 +26,10 @@ class RenderGraphic : public RenderBase public: RenderGraphic(Inset const *); RenderGraphic(RenderGraphic const &, Inset const *); - std::auto_ptr clone(Inset const *) const; + RenderBase * clone(Inset const *) const; /// compute the size of the object returned in dim - bool metrics(MetricsInfo & mi, Dimension & dim) const; + void metrics(MetricsInfo & mi, Dimension & dim) const; /// draw inset void draw(PainterInfo & pi, int x, int y) const; @@ -45,6 +45,7 @@ private: /// The stored data. graphics::Loader loader_; + graphics::Loader icon_; graphics::Params params_; };