mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fix an instance of -Werror=misleading-indentation
Full GCC output is: /home/scott/lyxbuilds/master/repo/src/insets/InsetText.cpp: In member function ‘void lyx::InsetText::docbook(lyx::XMLStream&, const lyx::OutputParams&, lyx::InsetText::XHTMLOptions) const’: /home/scott/lyxbuilds/master/repo/src/insets/InsetText.cpp:713:5: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation] 713 | for (auto const & arg : appendedArguments) | ^~~ /home/scott/lyxbuilds/master/repo/src/insets/InsetText.cpp:717:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 717 | if (writeOuterTag) { | ^~
This commit is contained in:
parent
c21cd7dc2b
commit
6e8b3906df
@ -709,9 +709,9 @@ void InsetText::docbook(XMLStream & xs, OutputParams const & rp, XHTMLOptions op
|
|||||||
docbookParagraphs(text_, buffer(), xs, runparams);
|
docbookParagraphs(text_, buffer(), xs, runparams);
|
||||||
xs.endDivision();
|
xs.endDivision();
|
||||||
|
|
||||||
// - Think about the arguments after the paragraph.
|
// - Think about the arguments after the paragraph.
|
||||||
for (auto const & arg : appendedArguments)
|
for (auto const & arg : appendedArguments)
|
||||||
arg->docbook(xs, np);
|
arg->docbook(xs, np);
|
||||||
|
|
||||||
// - Close the required tags.
|
// - Close the required tags.
|
||||||
if (writeOuterTag) {
|
if (writeOuterTag) {
|
||||||
|
Loading…
Reference in New Issue
Block a user