summaryrefslogtreecommitdiff
path: root/xmloff/source/meta/xmlmetae.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/meta/xmlmetae.cxx')
-rw-r--r--xmloff/source/meta/xmlmetae.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/xmloff/source/meta/xmlmetae.cxx b/xmloff/source/meta/xmlmetae.cxx
index 8a6a850cdee2..590368f5c541 100644
--- a/xmloff/source/meta/xmlmetae.cxx
+++ b/xmloff/source/meta/xmlmetae.cxx
@@ -203,9 +203,7 @@ void SvXMLMetaExport::_MExport()
sDefTarget );
//! define strings for xlink:show values
- const XMLTokenEnum eShow =
- sDefTarget.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("_blank"))
- ? XML_NEW : XML_REPLACE;
+ const XMLTokenEnum eShow = sDefTarget == "_blank" ? XML_NEW : XML_REPLACE;
mrExport.AddAttribute( XML_NAMESPACE_XLINK, XML_SHOW, eShow );
SvXMLElementExport aElem( mrExport,