Small fix which caused a segfault :)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@679 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Vigna 2000-04-18 15:00:46 +00:00
parent c10a9001c8
commit 11c1e71c05
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2000-04-18 Juergen Vigna <jug@sad.it>
* src/CutAndPaste.C: made textclass a static member of the class
as otherwise it is not accesed right!!!
2000-04-17 Dekel Tsur <dekel@math.tau.ac.il> 2000-04-17 Dekel Tsur <dekel@math.tau.ac.il>
* forms/layout_forms.fd * forms/layout_forms.fd

View File

@ -21,6 +21,7 @@
using std::pair; using std::pair;
static LyXParagraph * buf = 0; static LyXParagraph * buf = 0;
static LyXTextClassList::size_type textclass;
// for now here this should be in another Cut&Paste Class! // for now here this should be in another Cut&Paste Class!
// //

View File

@ -47,8 +47,6 @@ public:
private: private:
/// ///
void DeleteBuffer(); void DeleteBuffer();
///
LyXTextClassList::size_type textclass;
}; };
#endif #endif