mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-16 04:58:35 +00:00
Fix a few warnings in Floating.
This commit is contained in:
parent
e53af9e677
commit
dca39815d3
@ -85,6 +85,10 @@ Floating::Floating(string const & type, string const & placement,
|
|||||||
// Specific floats for achemso.
|
// Specific floats for achemso.
|
||||||
else if (docbook_float_type_ == "figure" && achemso.find(floattype_) != achemso.end())
|
else if (docbook_float_type_ == "figure" && achemso.find(floattype_) != achemso.end())
|
||||||
docbook_attr_ += " type='" + floattype_ + "'";
|
docbook_attr_ += " type='" + floattype_ + "'";
|
||||||
|
|
||||||
|
// Finally, merge in the attributes given in argument.
|
||||||
|
if (!docbookAttr.empty())
|
||||||
|
docbook_attr_ += " " + docbookAttr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -143,7 +143,7 @@ private:
|
|||||||
/// DocBook tag type (block, paragraph, inline)
|
/// DocBook tag type (block, paragraph, inline)
|
||||||
mutable std::string docbook_tag_type_;
|
mutable std::string docbook_tag_type_;
|
||||||
/// DocBook float type, to override float_type_ (figure, table, algorithm, video)
|
/// DocBook float type, to override float_type_ (figure, table, algorithm, video)
|
||||||
mutable std::string docbook_float_type_;
|
std::string docbook_float_type_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user