mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Remove unused variable BufferParams::quotes_times
This was pointed out inadvertently by coverity issue 23484: the variable was not properly initialized.
This commit is contained in:
parent
0552563c99
commit
9448e89879
@ -110,8 +110,6 @@ public:
|
||||
///
|
||||
InsetQuotes::QuoteLanguage quotes_language;
|
||||
///
|
||||
InsetQuotes::QuoteTimes quotes_times;
|
||||
///
|
||||
std::string fontsize;
|
||||
/// Get the LayoutFile this document is using.
|
||||
LayoutFile const * baseClass() const;
|
||||
|
@ -95,16 +95,6 @@ InsetQuotes::InsetQuotes(Buffer * buf, string const & str) : Inset(buf)
|
||||
parseString(str);
|
||||
}
|
||||
|
||||
InsetQuotes::InsetQuotes(Buffer * buf, char_type c) : Inset(buf)
|
||||
{
|
||||
if (buf) {
|
||||
language_ = buf->params().quotes_language;
|
||||
times_ = buf->params().quotes_times;
|
||||
}
|
||||
setSide(c);
|
||||
}
|
||||
|
||||
|
||||
InsetQuotes::InsetQuotes(Buffer * buf, char_type c, QuoteTimes t)
|
||||
: Inset(buf), times_(t)
|
||||
{
|
||||
|
@ -63,8 +63,6 @@ public:
|
||||
\end{itemize}
|
||||
*/
|
||||
explicit InsetQuotes(Buffer * buf, std::string const & str = "eld");
|
||||
/// Create the right quote inset after character c
|
||||
InsetQuotes(Buffer * buffer, char_type c);
|
||||
/// Direct access to inner/outer quotation marks
|
||||
InsetQuotes(Buffer * buf, char_type c, QuoteTimes t);
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user