]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.cpp
DocBook: don't use a surrounding <para> for rendered insets.
[lyx.git] / src / Buffer.cpp
index 457aa43225a56f974b4ccb2ac29056cb1c75995f..a713f8dd55f40d705e7c0b8e93f0abd60d05df4d 100644 (file)
@@ -3827,7 +3827,7 @@ void Buffer::Impl::updateMacros(DocIterator & it, DocIterator & scope)
                        // FIXME (Abdel), I don't understand why we pass 'it' here
                        // instead of 'macroTemplate' defined above... is this correct?
                        macros[macroTemplate.name()][it] =
-                               Impl::ScopeMacro(scope, MacroData(const_cast<Buffer *>(owner_), it));
+                               Impl::ScopeMacro(scope, MacroData(owner_, it));
                }
 
                // next paragraph