diff --git a/src/BufferParams.h b/src/BufferParams.h index a3836a80c2..2ff8ece309 100644 --- a/src/BufferParams.h +++ b/src/BufferParams.h @@ -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; diff --git a/src/insets/InsetQuotes.cpp b/src/insets/InsetQuotes.cpp index 1877949af7..9682d661d7 100644 --- a/src/insets/InsetQuotes.cpp +++ b/src/insets/InsetQuotes.cpp @@ -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) { diff --git a/src/insets/InsetQuotes.h b/src/insets/InsetQuotes.h index 98a0cbbcf8..0e4f46cbac 100644 --- a/src/insets/InsetQuotes.h +++ b/src/insets/InsetQuotes.h @@ -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); ///