summaryrefslogtreecommitdiff
path: root/sc/source/core
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2001-01-17 17:27:02 +0000
committerNiklas Nebel <nn@openoffice.org>2001-01-17 17:27:02 +0000
commit80f4f37f004f34128251750e1d5be0007848e367 (patch)
treea2e1cfd5e8e2d9c4ccdd9c97baf05a538c34e995 /sc/source/core
parentf25afedb8c5a07415cb68f0b43e671fc41eab725 (diff)
#78610# HasLayoutName / ResetLayoutName
Diffstat (limited to 'sc/source/core')
-rw-r--r--sc/source/core/data/dpsave.cxx15
1 files changed, 13 insertions, 2 deletions
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)