summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-02-10 01:58:15 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-02-10 01:59:26 +0900
commite7e0455b0285f60ba999a0a6a831f3be271f5a37 (patch)
tree612248965d3b28720ae47d93c2ddf2dcd017e30e /sfx2
parentef09cbf45347f5f1ea34f35acedeea5aa3a7f6f6 (diff)
Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("...")) to equalsAscii("...")
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/SfxDocumentMetaData.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/SfxDocumentMetaData.cxx b/sfx2/source/doc/SfxDocumentMetaData.cxx
index 8b4416c35e0f..a97b7cee93f0 100644
--- a/sfx2/source/doc/SfxDocumentMetaData.cxx
+++ b/sfx2/source/doc/SfxDocumentMetaData.cxx
@@ -1210,7 +1210,7 @@ void SAL_CALL SfxDocumentMetaData::init(
if (css::xml::dom::NodeType_ELEMENT_NODE ==xNode->getNodeType())
{
if (xNode->getNamespaceURI().equalsAscii(s_nsODF) &&
- xNode->getLocalName().equalsAscii("document-meta"))
+ xNode->getLocalName().equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("document-meta")))
{
xRElem.set(xNode, css::uno::UNO_QUERY_THROW);
break;