mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
Eliminate redundancy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33678 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
821cffab63
commit
a2e06a3c15
@ -673,7 +673,7 @@ void MathMacroTemplate::shiftArguments(size_t from, int by)
|
||||
int MathMacroTemplate::maxArgumentInDefinition() const
|
||||
{
|
||||
// We don't have a buffer when pasting from the clipboard (bug 6014).
|
||||
Buffer const * macro_buffer = this->isBufferLoaded() ? &buffer() : 0;
|
||||
Buffer const * macro_buffer = isBufferLoaded() ? &buffer() : 0;
|
||||
int maxArg = 0;
|
||||
DocIterator it = doc_iterator_begin(macro_buffer, this);
|
||||
it.idx() = defIdx();
|
||||
|
Loading…
x
Reference in New Issue
Block a user