]> git.lyx.org Git - features.git/commitdiff
Small fix which caused a segfault :)
authorJürgen Vigna <jug@sad.it>
Tue, 18 Apr 2000 15:00:46 +0000 (15:00 +0000)
committerJürgen Vigna <jug@sad.it>
Tue, 18 Apr 2000 15:00:46 +0000 (15:00 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@679 a592a061-630c-0410-9148-cb99ea01b6c8

ChangeLog
src/CutAndPaste.C
src/CutAndPaste.h

index 1902a991677b96d7aced70eca1093850511a2de3..d5c3875f1755bf73a8f4cdd570801d0dad6529b8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * forms/layout_forms.fd
index d2707ff01cee2d95c6c5436043a9941f0b5d13c0..8a8d5dad58cfddcf6d743ca0c85a5050ab4d4dee 100644 (file)
@@ -21,6 +21,7 @@
 using std::pair;
 
 static LyXParagraph * buf = 0;
+static LyXTextClassList::size_type textclass;
 
 // for now here this should be in another Cut&Paste Class!
 //
index 3f7fece80708824279b642b1904b2704af91dea2..edc4ae0a3680ee8f9d7c47647ee57e66f539196e 100644 (file)
@@ -47,8 +47,6 @@ public:
 private:
        ///
        void DeleteBuffer();
-       ///
-       LyXTextClassList::size_type textclass;
 };
 
 #endif