|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
* This file is a part of Winix
|
|
|
|
|
* and is not publicly distributed
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) 2010-2013, Tomasz Sowa
|
|
|
|
|
* Copyright (c) 2010-2014, Tomasz Sowa
|
|
|
|
|
* All rights reserved.
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
@ -17,6 +17,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Winix
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void Image::SetDb(Db * pdb)
|
|
|
|
|
{
|
|
|
|
@ -520,7 +525,7 @@ void Image::SaveImage()
|
|
|
|
|
log << log1 << "Image: cannot move a temporary file: " << stream_tmp_path.Str()
|
|
|
|
|
<< ", to: " << dst_path << logend;
|
|
|
|
|
|
|
|
|
|
::RemoveFile(stream_tmp_path.Str());
|
|
|
|
|
Winix::RemoveFile(stream_tmp_path.Str());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
@ -592,3 +597,7 @@ void Image::CreateThumbnail()
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace Winix
|
|
|
|
|
|
|
|
|
|