From: Richard Heck Date: Mon, 8 Mar 2010 19:06:28 +0000 (+0000) Subject: Eliminate redundancy. X-Git-Tag: 2.0.0~3861 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a2e06a3c15b71871e83e7b70b9de336752938a95;p=features.git Eliminate redundancy. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33678 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/MathMacroTemplate.cpp b/src/mathed/MathMacroTemplate.cpp index 17688c3b90..62bb891251 100644 --- a/src/mathed/MathMacroTemplate.cpp +++ b/src/mathed/MathMacroTemplate.cpp @@ -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();