1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
13 #include "SvXMLAttr.hxx"
15 SvXMLAttr::SvXMLAttr( OUString _aLName
,
17 aPrefixPos(USHRT_MAX
),
18 aLName(std::move(_aLName
)),
19 aValue(std::move(_aValue
))
23 SvXMLAttr::SvXMLAttr( const sal_uInt16 nPos
,
27 aLName(std::move(_aLName
)),
28 aValue(std::move(_aValue
))
32 bool SvXMLAttr::operator== (const SvXMLAttr
&rCmp
) const
34 return ( rCmp
.aPrefixPos
== aPrefixPos
) &&
35 ( rCmp
.aLName
== aLName
) &&
36 ( rCmp
.aValue
== aValue
);
40 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */