diff options
Diffstat (limited to 'xmloff/source/xforms')
-rw-r--r-- | xmloff/source/xforms/xformsexport.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/xforms/xformsexport.cxx b/xmloff/source/xforms/xformsexport.cxx index e0ce8ceec546..7016f6255ebe 100644 --- a/xmloff/source/xforms/xformsexport.cxx +++ b/xmloff/source/xforms/xformsexport.cxx @@ -246,11 +246,11 @@ void exportXFormsInstance( SvXMLExport& rExport, { OUString sName = pInstance[i].Name; const Any& rAny = pInstance[i].Value; - if( sName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("ID") ) ) + if ( sName == "ID" ) rAny >>= sId; - else if( sName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("URL") ) ) + else if ( sName == "URL" ) rAny >>= sURL; - else if( sName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("Instance") )) + else if ( sName == "Instance" ) rAny >>= xDoc; } |