Remove long-dead InsetXYZ::Holder class and member var.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7401 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-07-27 22:38:08 +00:00
parent eab569812b
commit d977917213
3 changed files with 4 additions and 18 deletions

View File

@ -2,6 +2,10 @@
* insetbibtex.h: remove extraneous forward declaration.
* insetbibitem.h:
* insetbibtex.h: Also remove long-dead Holder member class
and variable.
2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
* insetbase.h: add #include <memory> needed by gcc 2.95.2 at

View File

@ -52,18 +52,11 @@ public:
int getCounter() const { return counter; }
///
string const getBibLabel() const;
///
struct Holder {
InsetBibitem * inset;
BufferView * view;
};
private:
///
int counter;
///
Holder holder;
///
static int key_counter;
};

View File

@ -16,8 +16,6 @@
#include <vector>
#include "insetcommand.h"
//class Buffer;
/** Used to insert BibTeX's information
*/
class InsetBibtex : public InsetCommand {
@ -52,15 +50,6 @@ public:
bool delDatabase(string const &);
///
bool display() const { return true; }
///
struct Holder {
InsetBibtex * inset;
BufferView * view;
};
private:
///
Holder holder;
};
#endif // INSET_BIBTEX_H