compilation fixes in the new InsetGraphics stuff

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1460 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2001-02-08 14:36:25 +00:00
parent 5c867d5e0e
commit 3df394155f
4 changed files with 30 additions and 21 deletions

View File

@ -64,36 +64,36 @@ src/frontends/kde/urldlg.C
src/frontends/qt2/FormCopyright.C src/frontends/qt2/FormCopyright.C
src/frontends/xforms/FormBase.h src/frontends/xforms/FormBase.h
src/frontends/xforms/form_browser.C src/frontends/xforms/form_browser.C
src/frontends/xforms/form_citation.C
src/frontends/xforms/FormCitation.C src/frontends/xforms/FormCitation.C
src/frontends/xforms/form_copyright.C src/frontends/xforms/form_citation.C
src/frontends/xforms/FormCopyright.C src/frontends/xforms/FormCopyright.C
src/frontends/xforms/form_document.C src/frontends/xforms/form_copyright.C
src/frontends/xforms/FormDocument.C src/frontends/xforms/FormDocument.C
src/frontends/xforms/form_error.C src/frontends/xforms/form_document.C
src/frontends/xforms/FormError.C src/frontends/xforms/FormError.C
src/frontends/xforms/form_graphics.C src/frontends/xforms/form_error.C
src/frontends/xforms/FormGraphics.C src/frontends/xforms/FormGraphics.C
src/frontends/xforms/form_index.C src/frontends/xforms/form_graphics.C
src/frontends/xforms/FormIndex.C src/frontends/xforms/FormIndex.C
src/frontends/xforms/form_index.C
src/frontends/xforms/FormInset.h src/frontends/xforms/FormInset.h
src/frontends/xforms/FormLog.C src/frontends/xforms/FormLog.C
src/frontends/xforms/form_paragraph.C
src/frontends/xforms/FormParagraph.C src/frontends/xforms/FormParagraph.C
src/frontends/xforms/form_preferences.C src/frontends/xforms/form_paragraph.C
src/frontends/xforms/FormPreferences.C src/frontends/xforms/FormPreferences.C
src/frontends/xforms/form_print.C src/frontends/xforms/form_preferences.C
src/frontends/xforms/FormPrint.C src/frontends/xforms/FormPrint.C
src/frontends/xforms/form_ref.C src/frontends/xforms/form_print.C
src/frontends/xforms/FormRef.C src/frontends/xforms/FormRef.C
src/frontends/xforms/form_tabular.C src/frontends/xforms/form_ref.C
src/frontends/xforms/FormTabular.C src/frontends/xforms/FormTabular.C
src/frontends/xforms/form_tabular_create.C src/frontends/xforms/form_tabular.C
src/frontends/xforms/FormTabularCreate.C src/frontends/xforms/FormTabularCreate.C
src/frontends/xforms/form_toc.C src/frontends/xforms/form_tabular_create.C
src/frontends/xforms/FormToc.C src/frontends/xforms/FormToc.C
src/frontends/xforms/form_url.C src/frontends/xforms/form_toc.C
src/frontends/xforms/FormUrl.C src/frontends/xforms/FormUrl.C
src/frontends/xforms/form_url.C
src/frontends/xforms/FormVCLog.C src/frontends/xforms/FormVCLog.C
src/frontends/xforms/input_validators.C src/frontends/xforms/input_validators.C
src/frontends/xforms/Menubar_pimpl.C src/frontends/xforms/Menubar_pimpl.C

View File

@ -1,8 +1,15 @@
2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* ImageLoader.C: add a "using" directive.
* ImageLoader.h: remove extra comma at the end of enum; add an
std:: qualifier for vector.
2001-01-21 Baruch Even <baruch@ev-en.org> 2001-01-21 Baruch Even <baruch@ev-en.org>
* GraphicsCacheItem.[Ch]: Changes due to the storage of width and height * GraphicsCacheItem.[Ch]: Changes due to the storage of width and
in the image itself and minor cleanups. height in the image itself and minor cleanups.
* GraphicsCacheItem_impl.[Ch]: Changes due to the switch to use a new * GraphicsCacheItem_impl.[Ch]: Changes due to the switch to use a
ImageLoader class instead of the older Renderer class. This means change new ImageLoader class instead of the older Renderer class. This
of responsibilities. means change of responsibilities.

View File

@ -18,6 +18,8 @@
#include "support/filetools.h" #include "support/filetools.h"
using std::endl;
ImageLoader::ImageLoader() ImageLoader::ImageLoader()
: image_(0) : image_(0)
{ {

View File

@ -36,11 +36,11 @@ public:
OK = 0, OK = 0,
ImageFormatUnknown, // This loader doesn't know how to load this file. ImageFormatUnknown, // This loader doesn't know how to load this file.
NoFile, // File doesn't exists. NoFile, // File doesn't exists.
ErrorWhileLoading, // Unknown error when loading. ErrorWhileLoading // Unknown error when loading.
}; };
/// A list of supported formats. /// A list of supported formats.
typedef vector<string> FormatList; typedef std::vector<string> FormatList;
/// c-tor. /// c-tor.
ImageLoader(); ImageLoader();