Remove unused private members.

Spotted by cppcheck.
This commit is contained in:
Jean-Marc Lasgouttes 2019-09-16 00:15:28 +02:00
parent a7c6940f14
commit 7c1891e0b4
8 changed files with 0 additions and 28 deletions

View File

@ -89,8 +89,6 @@ private:
std::string contextMenuName() const;
///
void updateBuffer(ParIterator const & it, UpdateType utype);
///
void setParams(InsetBranchParams const & params) { params_ = params; }
/** \returns true if params_.branch is listed as 'selected' in
\c buffer. \p child only checks within child documents.

View File

@ -86,12 +86,6 @@ void InsetCaption::cursorPos(BufferView const & bv,
}
void InsetCaption::setCustomLabel(docstring const & label)
{
custom_label_ = translateIfPossible(label);
}
void InsetCaption::addToToc(DocIterator const & cpit, bool output_active,
UpdateType utype, TocBackend & backend) const
{

View File

@ -80,8 +80,6 @@ private:
///
docstring xhtml(XHTMLStream & os, OutputParams const & runparams) const;
///
void setCustomLabel(docstring const & label);
///
void addToToc(DocIterator const & di, bool output_active, UpdateType utype,
TocBackend & backend) const;
///
@ -101,8 +99,6 @@ private:
bool is_subfloat_;
///
std::string type_;
///
docstring custom_label_;
};

View File

@ -451,12 +451,6 @@ bool InsetExternal::setMouseHover(BufferView const * bv, bool mouse_hover) const
}
void InsetExternal::statusChanged() const
{
updateFrontend();
}
void InsetExternal::doDispatch(Cursor & cur, FuncRequest & cmd)
{
switch (cmd.action()) {

View File

@ -155,10 +155,6 @@ private:
void doDispatch(Cursor & cur, FuncRequest & cmd);
///
Inset * clone() const { return new InsetExternal(*this); }
/** This method is connected to the graphics loader, so we are
* informed when the image has been loaded.
*/
void statusChanged() const;
/** Slot receiving a signal that the external file has changed
* and the preview should be regenerated.
*/

View File

@ -51,8 +51,6 @@ public:
///
static std::string params2string(InsetNewlineParams const &);
private:
///
InsetNewlineParams params() const { return params_; }
///
InsetCode lyxCode() const { return NEWLINE_CODE; }
///

View File

@ -54,8 +54,6 @@ public:
///
static std::string params2string(InsetNewpageParams const &);
private:
///
InsetNewpageParams params() const { return params_; }
///
InsetCode lyxCode() const { return NEWPAGE_CODE; }
///

View File

@ -65,8 +65,6 @@ public:
return docstring();
}
private:
///
InsetSeparatorParams params() const { return params_; }
///
InsetCode lyxCode() const { return SEPARATOR_CODE; }
///