summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmloff/source/text/XMLSectionExport.cxx8
-rw-r--r--xmloff/source/text/XMLSectionExport.hxx6
-rw-r--r--xmloff/source/text/XMLSectionImportContext.cxx10
-rw-r--r--xmloff/source/text/XMLSectionImportContext.hxx6
4 files changed, 15 insertions, 15 deletions
diff --git a/xmloff/source/text/XMLSectionExport.cxx b/xmloff/source/text/XMLSectionExport.cxx
index 157844a549ea..6f03cdf84614 100644
--- a/xmloff/source/text/XMLSectionExport.cxx
+++ b/xmloff/source/text/XMLSectionExport.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLSectionExport.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: dvo $ $Date: 2001-04-23 15:49:51 $
+ * last change: $Author: dvo $ $Date: 2001-05-02 15:04:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -255,7 +255,7 @@ XMLSectionExport::XMLSectionExport(
sIndexTitle(RTL_CONSTASCII_USTRINGPARAM(sXML_index_title)),
sTextSection(RTL_CONSTASCII_USTRINGPARAM("TextSection")),
sIsGlobalDocumentSection(RTL_CONSTASCII_USTRINGPARAM("IsGlobalDocumentSection")),
- sPassword(RTL_CONSTASCII_USTRINGPARAM("Password")),
+ sProtectionKey(RTL_CONSTASCII_USTRINGPARAM("ProtectionKey")),
sEmpty()
{
}
@@ -582,7 +582,7 @@ void XMLSectionExport::ExportRegularSectionStart(
sXML_true);
}
Sequence<sal_Int8> aPassword;
- xPropSet->getPropertyValue(sPassword) >>= aPassword;
+ xPropSet->getPropertyValue(sProtectionKey) >>= aPassword;
if (aPassword.getLength() > 0)
{
OUStringBuffer aBuffer;
diff --git a/xmloff/source/text/XMLSectionExport.hxx b/xmloff/source/text/XMLSectionExport.hxx
index e380ef983565..45658a38666b 100644
--- a/xmloff/source/text/XMLSectionExport.hxx
+++ b/xmloff/source/text/XMLSectionExport.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLSectionExport.hxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: dvo $ $Date: 2001-03-20 18:53:44 $
+ * last change: $Author: dvo $ $Date: 2001-05-02 15:04:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -183,7 +183,7 @@ class XMLSectionExport
const ::rtl::OUString sTextSection;
const ::rtl::OUString sIsGlobalDocumentSection;
- const ::rtl::OUString sPassword;
+ const ::rtl::OUString sProtectionKey;
const ::rtl::OUString sEmpty;
diff --git a/xmloff/source/text/XMLSectionImportContext.cxx b/xmloff/source/text/XMLSectionImportContext.cxx
index d68ea57bad26..7fd3438e469e 100644
--- a/xmloff/source/text/XMLSectionImportContext.cxx
+++ b/xmloff/source/text/XMLSectionImportContext.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLSectionImportContext.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: dvo $ $Date: 2001-04-23 15:49:51 $
+ * last change: $Author: dvo $ $Date: 2001-05-02 15:04:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -145,7 +145,7 @@ const sal_Char sAPI_IndexHeaderSection[] = "com.sun.star.text.IndexHeaderSection
const sal_Char sAPI_IsProtected[] = "IsProtected";
const sal_Char sAPI_Condition[] = "Condition";
const sal_Char sAPI_IsVisible[] = "IsVisible";
-const sal_Char sAPI_Password[] = "Password";
+const sal_Char sAPI_ProtectionKey[] = "ProtectionKey";
enum XMLSectionToken {
XML_TOK_SECTION_STYLE_NAME,
@@ -188,7 +188,7 @@ XMLSectionImportContext::XMLSectionImportContext(
sAPI_IndexHeaderSection)),
sCondition(RTL_CONSTASCII_USTRINGPARAM(sAPI_Condition)),
sIsVisible(RTL_CONSTASCII_USTRINGPARAM(sAPI_IsVisible)),
- sPassword(RTL_CONSTASCII_USTRINGPARAM(sAPI_Password)),
+ sProtectionKey(RTL_CONSTASCII_USTRINGPARAM(sAPI_ProtectionKey)),
sIsProtected(RTL_CONSTASCII_USTRINGPARAM(sAPI_IsProtected)),
sStyleName(),
sName(),
@@ -277,7 +277,7 @@ void XMLSectionImportContext::StartElement(
{
Any aAny;
aAny <<= aSequence;
- xPropSet->setPropertyValue(sPassword, aAny);
+ xPropSet->setPropertyValue(sProtectionKey, aAny);
}
// protection
diff --git a/xmloff/source/text/XMLSectionImportContext.hxx b/xmloff/source/text/XMLSectionImportContext.hxx
index 838951e9e6e6..089d8af8ebef 100644
--- a/xmloff/source/text/XMLSectionImportContext.hxx
+++ b/xmloff/source/text/XMLSectionImportContext.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: XMLSectionImportContext.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: dvo $ $Date: 2001-04-09 13:13:23 $
+ * last change: $Author: dvo $ $Date: 2001-05-02 15:04:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -107,7 +107,7 @@ class XMLSectionImportContext : public SvXMLImportContext
const ::rtl::OUString sIndexHeaderSection;
const ::rtl::OUString sCondition;
const ::rtl::OUString sIsVisible;
- const ::rtl::OUString sPassword;
+ const ::rtl::OUString sProtectionKey;
const ::rtl::OUString sIsProtected;
const ::rtl::OUString sEmpty;