mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
Do not use trailing underscore for local variable
This commit is contained in:
parent
4c90183e4d
commit
91fc45ed35
@ -2920,13 +2920,13 @@ void GuiApplication::hideDialogs(string const & name, Inset * inset) const
|
|||||||
|
|
||||||
Buffer const * GuiApplication::updateInset(Inset const * inset) const
|
Buffer const * GuiApplication::updateInset(Inset const * inset) const
|
||||||
{
|
{
|
||||||
Buffer const * buffer_ = 0;
|
Buffer const * buf = 0;
|
||||||
QHash<int, GuiView *>::const_iterator end = d->views_.end();
|
QHash<int, GuiView *>::const_iterator end = d->views_.end();
|
||||||
for (QHash<int, GuiView *>::iterator it = d->views_.begin(); it != end; ++it) {
|
for (QHash<int, GuiView *>::iterator it = d->views_.begin(); it != end; ++it) {
|
||||||
if (Buffer const * ptr = (*it)->updateInset(inset))
|
if (Buffer const * ptr = (*it)->updateInset(inset))
|
||||||
buffer_ = ptr;
|
buf = ptr;
|
||||||
}
|
}
|
||||||
return buffer_;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user