diff options
author | Eike Rathke <er@openoffice.org> | 2002-04-15 10:08:01 +0000 |
---|---|---|
committer | Eike Rathke <er@openoffice.org> | 2002-04-15 10:08:01 +0000 |
commit | f7646fd33544cd902d22f86a66cc33bacd94c82e (patch) | |
tree | bc1ee71e7f97d672ec36f1aa7fbf0c477b23fae6 | |
parent | 56f6e497558148a837c8721bf04893f4bb5942fe (diff) |
#97286# flag if 100th seconds are loaded and to be used in time compares
-rw-r--r-- | sc/inc/chgtrack.hxx | 13 | ||||
-rw-r--r-- | sc/source/core/tool/chgtrack.cxx | 5 |
2 files changed, 14 insertions, 4 deletions
diff --git a/sc/inc/chgtrack.hxx b/sc/inc/chgtrack.hxx index 5a4cabe2d6bf..18f228019e85 100644 --- a/sc/inc/chgtrack.hxx +++ b/sc/inc/chgtrack.hxx @@ -2,9 +2,9 @@ * * $RCSfile: chgtrack.hxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: er $ $Date: 2001-04-25 14:00:39 $ + * last change: $Author: er $ $Date: 2002-04-15 11:06:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1129,6 +1129,7 @@ class ScChangeTrack : public SfxListener BOOL bInDeleteTop; BOOL bInPasteCut; BOOL bUseFixDateTime; + BOOL bTime100thSeconds; // not implemented, prevent usage ScChangeTrack( const ScChangeTrack& ); @@ -1450,6 +1451,14 @@ public: { return aProtectPass; } BOOL IsProtected() const { return aProtectPass.getLength() != 0; } + + // If time stamps of actions of this + // ChangeTrack and a second one are to be + // compared including 100th seconds. + void SetTime100thSeconds( BOOL bVal ) + { bTime100thSeconds = bVal; } + BOOL IsTime100thSeconds() const + { return bTime100thSeconds; } }; diff --git a/sc/source/core/tool/chgtrack.cxx b/sc/source/core/tool/chgtrack.cxx index 9e4cab090a2c..4e36417c1c65 100644 --- a/sc/source/core/tool/chgtrack.cxx +++ b/sc/source/core/tool/chgtrack.cxx @@ -2,9 +2,9 @@ * * $RCSfile: chgtrack.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: nn $ $Date: 2001-06-22 16:28:49 $ + * last change: $Author: er $ $Date: 2002-04-15 11:08:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2568,6 +2568,7 @@ void ScChangeTrack::Init() bInDeleteUndo = FALSE; bInPasteCut = FALSE; bUseFixDateTime = FALSE; + bTime100thSeconds = TRUE; SvtUserOptions aUserOpt; aUser = aUserOpt.GetFirstName(); |