]> git.lyx.org Git - lyx.git/blobdiff - src/undo.h
- Link against qt-mt333.lib which is what the current qt3 cvs produces
[lyx.git] / src / undo.h
index 69bc307f0dbe6648850b9186eb59f7be3946e335..7b4aca1c92a27b8bbb0035e49a386d873c7feb2c 100644 (file)
@@ -44,12 +44,13 @@ The idea is to store the contents of 'interesting' paragraphs in some
 structure ('Undo') _before_ it is changed in some edit operation.
 Obviously, the stored ranged should be as small as possible. However, it
 there is a lower limit: The StableDocIterator pointing stored in the undo
-struct must be valid after the changes, too, as it will used as a pointer
+class must be valid after the changes, too, as it will used as a pointer
 where to insert the stored bits when performining undo.
 
 */
 
-struct Undo {
+class Undo {
+public:
        /// This is used to combine consecutive undo recordings of the same kind.
        enum undo_kind {
                /**