Kaydet (Commit) 948afbaf authored tarafından Adolfo Jayme Barrientos's avatar Adolfo Jayme Barrientos Kaydeden (comit) Caolán McNamara

I think this is what was meant, see cf7832d6

Change-Id: I626e3a36426958d7ba1fd320cf8e1a3bf2f3595f
Reviewed-on: https://gerrit.libreoffice.org/11980Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 95eadfa7
...@@ -160,8 +160,8 @@ void registerNamespaces( FastParser& rParser ) ...@@ -160,8 +160,8 @@ void registerNamespaces( FastParser& rParser )
{ {
const Sequence< beans::Pair<OUString, sal_Int32> > ids = NamespaceIds::get(); const Sequence< beans::Pair<OUString, sal_Int32> > ids = NamespaceIds::get();
// Filter out duplicates: a namespace can have multiple URL's, think of // Filter out duplicates: a namespace can have multiple URLs, think of
// strict vs traditional. // strict vs transitional.
std::set<sal_Int32> aSet; std::set<sal_Int32> aSet;
for (sal_Int32 i = 0; i < ids.getLength(); ++i) for (sal_Int32 i = 0; i < ids.getLength(); ++i)
aSet.insert(ids[i].Second); aSet.insert(ids[i].Second);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment