blob: 8e55799a62d139abdaed6fdcb132a91144b25344 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// Copyright 2017 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "core/fxcrt/xml/cxml_attritem.h"
bool CXML_AttrItem::Matches(const CFX_ByteString& space,
const CFX_ByteString& name) const {
return (space.IsEmpty() || m_QSpaceName == space) && m_AttrName == name;
}
|