summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtflde.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/txtflde.cxx')
-rw-r--r--xmloff/source/text/txtflde.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/text/txtflde.cxx b/xmloff/source/text/txtflde.cxx
index d1d485b366ab..18cea9fb8060 100644
--- a/xmloff/source/text/txtflde.cxx
+++ b/xmloff/source/text/txtflde.cxx
@@ -1950,7 +1950,7 @@ void XMLTextFieldExport::ExportFieldDeclarations(
aAny >>= xPropSet;
// save interesting field masters
- if (0 == sFieldMasterType.compareToAscii(FIELD_SERVICE_SETEXP))
+ if (sFieldMasterType.equalsAscii(FIELD_SERVICE_SETEXP))
{
sal_Int32 nType = GetIntProperty(sPropertySubType, xPropSet);
@@ -1964,11 +1964,11 @@ void XMLTextFieldExport::ExportFieldDeclarations(
aVarName.push_back( sFieldMaster );
}
}
- else if (0 == sFieldMasterType.compareToAscii(FIELD_SERVICE_USER))
+ else if (sFieldMasterType.equalsAscii(FIELD_SERVICE_USER))
{
aUserName.push_back( sFieldMaster );
}
- else if (0 == sFieldMasterType.compareToAscii(FIELD_SERVICE_DDE))
+ else if (sFieldMasterType.equalsAscii(FIELD_SERVICE_DDE))
{
aDdeName.push_back( sFieldMaster );
}