backport r30567

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30575 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2009-07-14 16:30:52 +00:00
parent ef3b32689a
commit 108586552a
2 changed files with 4 additions and 2 deletions

View File

@ -52,12 +52,12 @@ public:
virtual RenderMonitoredPreview * asMonitoredPreview() { return 0; } virtual RenderMonitoredPreview * asMonitoredPreview() { return 0; }
protected: protected:
RenderBase() {} RenderBase() : state_(false) {}
RenderBase(RenderBase const &) {} RenderBase(RenderBase const &) {}
RenderBase & operator=(RenderBase const &) { return *this; } RenderBase & operator=(RenderBase const &) { return *this; }
/// render state. currently, render_button uses this to store mouse_hover_ /// render state. currently, render_button uses this to store mouse_hover_
int state_; bool state_;
/// Cached /// Cached
mutable Dimension dim_; mutable Dimension dim_;
}; };

View File

@ -223,6 +223,8 @@ What's new
- Fix selection of math insets on some archs. - Fix selection of math insets on some archs.
- Fix of painter glitches caused by unitialized variables (bug 6077).
* DOCUMENTATION AND LOCALIZATION * DOCUMENTATION AND LOCALIZATION