mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +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;
|
std::string contextMenuName() const;
|
||||||
///
|
///
|
||||||
void updateBuffer(ParIterator const & it, UpdateType utype);
|
void updateBuffer(ParIterator const & it, UpdateType utype);
|
||||||
///
|
|
||||||
void setParams(InsetBranchParams const & params) { params_ = params; }
|
|
||||||
|
|
||||||
/** \returns true if params_.branch is listed as 'selected' in
|
/** \returns true if params_.branch is listed as 'selected' in
|
||||||
\c buffer. \p child only checks within child documents.
|
\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,
|
void InsetCaption::addToToc(DocIterator const & cpit, bool output_active,
|
||||||
UpdateType utype, TocBackend & backend) const
|
UpdateType utype, TocBackend & backend) const
|
||||||
{
|
{
|
||||||
|
@ -80,8 +80,6 @@ private:
|
|||||||
///
|
///
|
||||||
docstring xhtml(XHTMLStream & os, OutputParams const & runparams) const;
|
docstring xhtml(XHTMLStream & os, OutputParams const & runparams) const;
|
||||||
///
|
///
|
||||||
void setCustomLabel(docstring const & label);
|
|
||||||
///
|
|
||||||
void addToToc(DocIterator const & di, bool output_active, UpdateType utype,
|
void addToToc(DocIterator const & di, bool output_active, UpdateType utype,
|
||||||
TocBackend & backend) const;
|
TocBackend & backend) const;
|
||||||
///
|
///
|
||||||
@ -101,8 +99,6 @@ private:
|
|||||||
bool is_subfloat_;
|
bool is_subfloat_;
|
||||||
///
|
///
|
||||||
std::string type_;
|
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)
|
void InsetExternal::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||||
{
|
{
|
||||||
switch (cmd.action()) {
|
switch (cmd.action()) {
|
||||||
|
@ -155,10 +155,6 @@ private:
|
|||||||
void doDispatch(Cursor & cur, FuncRequest & cmd);
|
void doDispatch(Cursor & cur, FuncRequest & cmd);
|
||||||
///
|
///
|
||||||
Inset * clone() const { return new InsetExternal(*this); }
|
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
|
/** Slot receiving a signal that the external file has changed
|
||||||
* and the preview should be regenerated.
|
* and the preview should be regenerated.
|
||||||
*/
|
*/
|
||||||
|
@ -51,8 +51,6 @@ public:
|
|||||||
///
|
///
|
||||||
static std::string params2string(InsetNewlineParams const &);
|
static std::string params2string(InsetNewlineParams const &);
|
||||||
private:
|
private:
|
||||||
///
|
|
||||||
InsetNewlineParams params() const { return params_; }
|
|
||||||
///
|
///
|
||||||
InsetCode lyxCode() const { return NEWLINE_CODE; }
|
InsetCode lyxCode() const { return NEWLINE_CODE; }
|
||||||
///
|
///
|
||||||
|
@ -54,8 +54,6 @@ public:
|
|||||||
///
|
///
|
||||||
static std::string params2string(InsetNewpageParams const &);
|
static std::string params2string(InsetNewpageParams const &);
|
||||||
private:
|
private:
|
||||||
///
|
|
||||||
InsetNewpageParams params() const { return params_; }
|
|
||||||
///
|
///
|
||||||
InsetCode lyxCode() const { return NEWPAGE_CODE; }
|
InsetCode lyxCode() const { return NEWPAGE_CODE; }
|
||||||
///
|
///
|
||||||
|
@ -65,8 +65,6 @@ public:
|
|||||||
return docstring();
|
return docstring();
|
||||||
}
|
}
|
||||||
private:
|
private:
|
||||||
///
|
|
||||||
InsetSeparatorParams params() const { return params_; }
|
|
||||||
///
|
///
|
||||||
InsetCode lyxCode() const { return SEPARATOR_CODE; }
|
InsetCode lyxCode() const { return SEPARATOR_CODE; }
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user