From 11c1e71c05b6d9e75bbb2bd96070d528a196a72e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Vigna?= Date: Tue, 18 Apr 2000 15:00:46 +0000 Subject: [PATCH] Small fix which caused a segfault :) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@679 a592a061-630c-0410-9148-cb99ea01b6c8 --- ChangeLog | 5 +++++ src/CutAndPaste.C | 1 + src/CutAndPaste.h | 2 -- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1902a99167..d5c3875f17 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-04-18 Juergen Vigna + + * src/CutAndPaste.C: made textclass a static member of the class + as otherwise it is not accesed right!!! + 2000-04-17 Dekel Tsur * forms/layout_forms.fd diff --git a/src/CutAndPaste.C b/src/CutAndPaste.C index d2707ff01c..8a8d5dad58 100644 --- a/src/CutAndPaste.C +++ b/src/CutAndPaste.C @@ -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! // diff --git a/src/CutAndPaste.h b/src/CutAndPaste.h index 3f7fece807..edc4ae0a36 100644 --- a/src/CutAndPaste.h +++ b/src/CutAndPaste.h @@ -47,8 +47,6 @@ public: private: /// void DeleteBuffer(); - /// - LyXTextClassList::size_type textclass; }; #endif -- 2.39.2