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:
Jean-Marc Lasgouttes 2015-03-04 18:19:30 +01:00
parent 0552563c99
commit 9448e89879
3 changed files with 0 additions and 14 deletions

View File

@ -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;

View File

@ -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)
{

View File

@ -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);
///