forgot those

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21708 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2007-11-22 00:04:19 +00:00
parent 4c3e546375
commit e5fe3a68c7
2 changed files with 3 additions and 5 deletions

View File

@ -42,11 +42,9 @@ namespace lyx {
namespace graphics {
/// Access to this class is through this static method.
Image::ImagePtr GuiImage::newImage()
Image * GuiImage::newImage()
{
ImagePtr ptr;
ptr.reset(new GuiImage);
return ptr;
return new GuiImage;
}

View File

@ -25,7 +25,7 @@ class GuiImage : public Image
{
public:
/// Access to this class is through this static method.
static ImagePtr newImage();
static Image * newImage();
/// Return the list of loadable formats.
static FormatList loadableFormats();