summaryrefslogtreecommitdiff
path: root/libs/rs/rsProgram.cpp
diff options
context:
space:
mode:
author John Eckerdal <john.eckerdal@sonyericsson.com> 2010-06-02 10:59:46 +0200
committer Johan Redestig <johan.redestig@sonyericsson.com> 2010-06-02 10:59:46 +0200
commitdad86349bea3aec1d48793adc61b446f82311d15 (patch)
treebaab931f7e80fc366485c5b79493f0f4706dac9c /libs/rs/rsProgram.cpp
parentd6c1919779acb042392615637b9007e0c4b89023 (diff)
Add better error handling for savePicture and restorePicture
If an Exception occurs when storing the file treat this as an error and always fail to try to prevent corrupted pictures to be stored to the file system. Close files if they were opened, the caller might want to perform other file operations on the file and if it is still open these may fail. Change-Id: Ic68596b5c745bbe413096c22684c388e853a7643
Diffstat (limited to 'libs/rs/rsProgram.cpp')
0 files changed, 0 insertions, 0 deletions