remove unused code.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25062 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-06-02 09:18:07 +00:00
parent 1a2af1197e
commit 19668bf2d6
2 changed files with 0 additions and 42 deletions

View File

@ -69,32 +69,6 @@ void GuiMath::dispatchFunc(FuncCode action, string const & arg) const
}
void GuiMath::dispatchInsert(string const & name) const
{
dispatchFunc(LFUN_MATH_INSERT, '\\' + name);
}
void GuiMath::dispatchSubscript() const
{
dispatchFunc(LFUN_MATH_INSERT, "_");
}
void GuiMath::dispatchSuperscript() const
{
dispatchFunc(LFUN_MATH_INSERT, "^");
}
void GuiMath::dispatchCubeRoot() const
{
dispatchFunc(LFUN_MATH_INSERT, "\\root");
dispatchFunc(LFUN_SELF_INSERT, "3");
dispatchFunc(LFUN_CHAR_FORWARD);
}
void GuiMath::dispatchMatrix(string const & str) const
{
dispatchFunc(LFUN_MATH_MATRIX, str);
@ -113,12 +87,6 @@ void GuiMath::dispatchBigDelim(string const & str) const
}
void GuiMath::dispatchToggleDisplay() const
{
dispatchFunc(LFUN_MATH_DISPLAY);
}
void GuiMath::showDialog(string const & name) const
{
dispatchFunc(LFUN_DIALOG_SHOW, name);

View File

@ -48,22 +48,12 @@ public:
/// dispatch an LFUN
void dispatchFunc(FuncCode action,
std::string const & arg = std::string()) const;
/// Insert a math symbol into the doc.
void dispatchInsert(std::string const & name) const;
/// Insert a subscript.
void dispatchSubscript() const;
/// Insert a superscript.
void dispatchSuperscript() const;
/// Insert a cube root
void dispatchCubeRoot() const;
/// Insert a matrix
void dispatchMatrix(std::string const & str) const;
/// Insert a variable size delimiter
void dispatchDelim(std::string const & str) const;
/// Insert a big delimiter
void dispatchBigDelim(std::string const & str) const;
/// Switch between display and inline
void dispatchToggleDisplay() const;
/** A request to the kernel to launch a dialog.
* \param name the dialog identifier.
*/