summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLSectionSourceDDEImportContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/XMLSectionSourceDDEImportContext.cxx')
-rw-r--r--xmloff/source/text/XMLSectionSourceDDEImportContext.cxx16
1 files changed, 6 insertions, 10 deletions
diff --git a/xmloff/source/text/XMLSectionSourceDDEImportContext.cxx b/xmloff/source/text/XMLSectionSourceDDEImportContext.cxx
index 08a2aaceb48c..753cb43b73a8 100644
--- a/xmloff/source/text/XMLSectionSourceDDEImportContext.cxx
+++ b/xmloff/source/text/XMLSectionSourceDDEImportContext.cxx
@@ -47,11 +47,7 @@ XMLSectionSourceDDEImportContext::XMLSectionSourceDDEImportContext(
const OUString& rLocalName,
Reference<XPropertySet> & rSectPropSet) :
SvXMLImportContext(rImport, nPrfx, rLocalName),
- rSectionPropertySet(rSectPropSet),
- sDdeCommandFile("DDECommandFile"),
- sDdeCommandType("DDECommandType"),
- sDdeCommandElement("DDECommandElement"),
- sIsAutomaticUpdate("IsAutomaticUpdate")
+ rSectionPropertySet(rSectPropSet)
{
}
@@ -125,23 +121,23 @@ void XMLSectionSourceDDEImportContext::StartElement(
// DDE not supported on all platforms; query property first
if (rSectionPropertySet->getPropertySetInfo()->
- hasPropertyByName(sDdeCommandFile))
+ hasPropertyByName("DDECommandFile"))
{
// use multi property set to force single update of connection #83654#
Sequence<OUString> aNames(4);
Sequence<Any> aValues(4);
aValues[0] <<= sApplication;
- aNames[0] = sDdeCommandFile;
+ aNames[0] = "DDECommandFile";
aValues[1] <<= sTopic;
- aNames[1] = sDdeCommandType;
+ aNames[1] = "DDECommandType";
aValues[2] <<= sItem;
- aNames[2] = sDdeCommandElement;
+ aNames[2] = "DDECommandElement";
aValues[3] <<= bAutomaticUpdate;
- aNames[3] = sIsAutomaticUpdate;
+ aNames[3] = "IsAutomaticUpdate";
Reference<XMultiPropertySet> rMultiPropSet(rSectionPropertySet,
UNO_QUERY);