mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
Remove unused private members.
Spotted by cppcheck.
This commit is contained in:
parent
a7c6940f14
commit
7c1891e0b4
@ -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.
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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_;
|
||||
};
|
||||
|
||||
|
||||
|
@ -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()) {
|
||||
|
@ -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.
|
||||
*/
|
||||
|
@ -51,8 +51,6 @@ public:
|
||||
///
|
||||
static std::string params2string(InsetNewlineParams const &);
|
||||
private:
|
||||
///
|
||||
InsetNewlineParams params() const { return params_; }
|
||||
///
|
||||
InsetCode lyxCode() const { return NEWLINE_CODE; }
|
||||
///
|
||||
|
@ -54,8 +54,6 @@ public:
|
||||
///
|
||||
static std::string params2string(InsetNewpageParams const &);
|
||||
private:
|
||||
///
|
||||
InsetNewpageParams params() const { return params_; }
|
||||
///
|
||||
InsetCode lyxCode() const { return NEWPAGE_CODE; }
|
||||
///
|
||||
|
@ -65,8 +65,6 @@ public:
|
||||
return docstring();
|
||||
}
|
||||
private:
|
||||
///
|
||||
InsetSeparatorParams params() const { return params_; }
|
||||
///
|
||||
InsetCode lyxCode() const { return SEPARATOR_CODE; }
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user