diff options
-rw-r--r-- | sc/inc/dpsave.hxx | 6 | ||||
-rw-r--r-- | sc/source/core/data/dpsave.cxx | 15 |
2 files changed, 17 insertions, 4 deletions
diff --git a/sc/inc/dpsave.hxx b/sc/inc/dpsave.hxx index bb1cb82de4c2..8aea7d8e07af 100644 --- a/sc/inc/dpsave.hxx +++ b/sc/inc/dpsave.hxx @@ -2,9 +2,9 @@ * * $RCSfile: dpsave.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:44:48 $ + * last change: $Author: nn $ $Date: 2001-01-17 18:26:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -156,6 +156,8 @@ public: long GetUsedHierarchy() { return nUsedHierarchy; } void SetLayoutName(const String* pName); const String& GetLayoutName() const; + BOOL HasLayoutName() const; + void ResetLayoutName(); USHORT GetOrientation() const { return nOrientation; } diff --git a/sc/source/core/data/dpsave.cxx b/sc/source/core/data/dpsave.cxx index 1032473907b8..6837c39d5a0c 100644 --- a/sc/source/core/data/dpsave.cxx +++ b/sc/source/core/data/dpsave.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dpsave.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: nn $ $Date: 2000-10-09 17:25:08 $ + * last change: $Author: nn $ $Date: 2001-01-17 18:27:02 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -421,6 +421,17 @@ void ScDPSaveDimension::SetUsedHierarchy(long nNew) nUsedHierarchy = nNew; } +BOOL ScDPSaveDimension::HasLayoutName() const +{ + return ( pLayoutName != NULL ); +} + +void ScDPSaveDimension::ResetLayoutName() +{ + delete pLayoutName; + pLayoutName = NULL; +} + void ScDPSaveDimension::SetLayoutName(const String* pName) { if (pName) |