diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2011-02-23 13:48:35 -0700 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2011-02-23 13:48:35 -0700 |
commit | 29415d140777a25704ac06973c6cf467c30c994b (patch) | |
tree | 8ea879ff5b839b2894e332ed72ff9702784949a0 /indra/llimage/llimagej2c.cpp | |
parent | 1f0cc074823b299ed77b3d6e90e4e8f4ea60415f (diff) | |
parent | ef490e308ccce8e6df85144784a0f4580f5ac6a1 (diff) |
Merge
Diffstat (limited to 'indra/llimage/llimagej2c.cpp')
-rw-r--r-- | indra/llimage/llimagej2c.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/llimage/llimagej2c.cpp b/indra/llimage/llimagej2c.cpp index b144f8fc66..1bdcba6eb5 100644 --- a/indra/llimage/llimagej2c.cpp +++ b/indra/llimage/llimagej2c.cpp @@ -358,8 +358,7 @@ BOOL LLImageJ2C::loadAndValidate(const std::string &filename) resetLastError(); S32 file_size = 0; - LLAPRFile infile ; - infile.open(filename, LL_APR_RB, NULL, &file_size); + LLAPRFile infile(filename, LL_APR_RB, &file_size); apr_file_t* apr_file = infile.getFileHandle() ; if (!apr_file) { |