]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewImage.C
* filetools.[Ch]: Make functions that start with a capital
[lyx.git] / src / graphics / PreviewImage.C
index 2f8c03df6cb1eea92204858df54b85772b98e7ed..6a057d27f3e8409cd8bb70cf53287426f35957f3 100644 (file)
 
 namespace support = lyx::support;
 
+using std::string;
+
 
 namespace lyx {
 namespace graphics {
 
-struct PreviewImage::Impl : public boost::signals::trackable {
+class PreviewImage::Impl : public boost::signals::trackable {
+public:
        ///
        Impl(PreviewImage & p, PreviewLoader & l,
             string const & s, string const & f, double af);
@@ -148,9 +151,9 @@ void PreviewImage::Impl::statusChanged()
 
        case Ready:
                support::unlink(iloader_.filename());
-               ploader_.emitSignal(parent_);
                break;
        }
+       ploader_.emitSignal(parent_);
 }
 
 } // namespace graphics