]> git.lyx.org Git - features.git/commitdiff
compilation fixes in the new InsetGraphics stuff
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 8 Feb 2001 14:36:25 +0000 (14:36 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 8 Feb 2001 14:36:25 +0000 (14:36 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1460 a592a061-630c-0410-9148-cb99ea01b6c8

po/POTFILES.in
src/graphics/ChangeLog
src/graphics/ImageLoader.C
src/graphics/ImageLoader.h

index debe726c643a8d33d049f762068f1879de46ee20..28523b982e7b07d1600c0e87a087f1aed863a977 100644 (file)
@@ -64,36 +64,36 @@ src/frontends/kde/urldlg.C
 src/frontends/qt2/FormCopyright.C
 src/frontends/xforms/FormBase.h
 src/frontends/xforms/form_browser.C
-src/frontends/xforms/form_citation.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/form_document.C
+src/frontends/xforms/form_copyright.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/form_graphics.C
+src/frontends/xforms/form_error.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/form_index.C
 src/frontends/xforms/FormInset.h
 src/frontends/xforms/FormLog.C
-src/frontends/xforms/form_paragraph.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/form_print.C
+src/frontends/xforms/form_preferences.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/form_tabular.C
+src/frontends/xforms/form_ref.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/form_toc.C
+src/frontends/xforms/form_tabular_create.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/form_url.C
 src/frontends/xforms/FormVCLog.C
 src/frontends/xforms/input_validators.C
 src/frontends/xforms/Menubar_pimpl.C
index f525104979ef4c550ff05f8f3f8c2daf653da42c..546b3ea8d655020784b6b193f368d546f3e08b21 100644 (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>
 
-       * GraphicsCacheItem.[Ch]: Changes due to the storage of width and height
-       in the image itself and minor cleanups.
+       * GraphicsCacheItem.[Ch]: Changes due to the storage of width and
+       height in the image itself and minor cleanups.
 
-       * GraphicsCacheItem_impl.[Ch]: Changes due to the switch to use a new
-       ImageLoader class instead of the older Renderer class. This means change
-       of responsibilities.
+       * GraphicsCacheItem_impl.[Ch]: Changes due to the switch to use a
+       new ImageLoader class instead of the older Renderer class. This
+       means change of responsibilities.
index b874ef55b7aee5de5db5a5c7be6048145030549b..74710b452bf647e3d3a5ec74e396004590c0c829 100644 (file)
@@ -18,6 +18,8 @@
 
 #include "support/filetools.h"
 
+using std::endl;
+
 ImageLoader::ImageLoader()
                : image_(0)
 {
index c96884ddc846e3be34a2587d08b192eb2ec767e7..4a1a4dc3795d70cf9764a91f168d534946cdd62b 100644 (file)
@@ -36,11 +36,11 @@ public:
                OK = 0,                 
                ImageFormatUnknown, // This loader doesn't know how to load this file.
                NoFile,                         // File doesn't exists.
-               ErrorWhileLoading,  // Unknown error when loading.
+               ErrorWhileLoading  // Unknown error when loading.
        };
        
        /// A list of supported formats.
-       typedef vector<string> FormatList;
+       typedef std::vector<string> FormatList;
        
        /// c-tor.
        ImageLoader();