mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
I _think_ we had a reference to a temp object going out of scope. No more.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3986 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4b4a18e85a
commit
db1f26a781
@ -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
|
||||
|
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user