Spotted by coverity.
}
-void GuiCitation::updateFormatting(CitationStyle currentStyle)
+void GuiCitation::updateFormatting(CitationStyle const & currentStyle)
{
BufferParams const bp = documentBuffer().params();
bool const force = currentStyle.forceUpperCase;
/// set the styles combo
void updateStyles(BiblioInfo const & bi);
/// set the formatting widgets
- void updateFormatting(CitationStyle currentStyle);
+ void updateFormatting(CitationStyle const & currentStyle);
///
void updateControls(BiblioInfo const & bi);
/// Set the appropriate hinting text on the filter bar
Context::Context(bool need_layout_,
TeX2LyXDocClass const & textclass_,
Layout const * layout_, Layout const * parent_layout_,
- TeXFont font_)
+ TeXFont const & font_)
: need_layout(need_layout_),
need_end_layout(false), need_end_deeper(false),
has_item(false), deeper_paragraph(false),
TeX2LyXDocClass const & textclass_,
Layout const * layout_ = 0,
Layout const * parent_layout_= 0,
- TeXFont font_ = TeXFont());
+ TeXFont const & font_ = normalfont);
~Context();
/// Output a \\begin_layout if requested