using support::onlyFilename;
using std::string;
-using std::auto_ptr;
RenderGraphic::RenderGraphic(Inset const * inset)
}
-auto_ptr<RenderBase> RenderGraphic::clone(Inset const * inset) const
+RenderBase * RenderGraphic::clone(Inset const * inset) const
{
- return auto_ptr<RenderBase>(new RenderGraphic(*this, inset));
+ return new RenderGraphic(*this, inset);
}
msgFont.setFamily(Font::SANS_FAMILY);
// FIXME UNICODE
- docstring const justname =
+ docstring const justname =
from_utf8(onlyFilename(params_.filename.absFilename()));
if (!justname.empty()) {
msgFont.setSize(Font::SIZE_FOOTNOTE);