diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index 3a5fd12d5e..28b4da4fad 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -2920,13 +2920,13 @@ void GuiApplication::hideDialogs(string const & name, Inset * inset) const Buffer const * GuiApplication::updateInset(Inset const * inset) const { - Buffer const * buffer_ = 0; + Buffer const * buf = 0; QHash::const_iterator end = d->views_.end(); for (QHash::iterator it = d->views_.begin(); it != end; ++it) { if (Buffer const * ptr = (*it)->updateInset(inset)) - buffer_ = ptr; + buf = ptr; } - return buffer_; + return buf; }