]> git.lyx.org Git - features.git/commitdiff
I _think_ we had a reference to a temp object going out of scope. No more.
authorAngus Leeming <leeming@lyx.org>
Fri, 12 Apr 2002 14:08:00 +0000 (14:08 +0000)
committerAngus Leeming <leeming@lyx.org>
Fri, 12 Apr 2002 14:08:00 +0000 (14:08 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3986 a592a061-630c-0410-9148-cb99ea01b6c8

src/graphics/ChangeLog
src/graphics/GraphicsCacheItem.C

index 22fec5f3c8ad7cc2a9b2f4fafa26e0a05b232d62..69a18cb8e405d11012dc0af2db4ae940d292ae00 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-08  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * GraphicsCacheItem.C (findTargetFormat): fix bug waiting to bite:
+       a reference to a temp object that's going out of scope...
+
 2002-04-09  Herbert Voss  <voss@lyx.org>
 
        * GraphicsParams.C (BoundingBox c-tor): fix rounding errors by using
index 54fbfdf4a3ce26239f70eb5ff3a2b5226b9bb0a7..f209b3a95bbec5d4a32d8e73e745599091257aa0 100644 (file)
@@ -415,7 +415,7 @@ namespace {
 string const findTargetFormat(string const & from)
 {
        typedef GImage::FormatList FormatList;
-       FormatList const formats = GImage::loadableFormats();
+       FormatList const formats = GImage::loadableFormats();
 
        // There must be a format to load from.
        lyx::Assert(!formats.empty());