diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-09-30 13:40:06 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-10-10 13:50:03 +0200 |
commit | 9a25d12534f91c13400a63e265fb5aa14c6aca66 (patch) | |
tree | c3a422e927bc9fec59348e9c70637e588c1b321b /sax/source/tools | |
parent | 86de557ea2e9ab393909f66b9b2906573a2f9ef1 (diff) |
This was OString already; use it that way
Change-Id: Ia2268ce8a1e2111adb609c515e5bfa824afa66ce
Diffstat (limited to 'sax/source/tools')
-rw-r--r-- | sax/source/tools/fastserializer.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sax/source/tools/fastserializer.cxx b/sax/source/tools/fastserializer.cxx index fbce18aa9ab0..4466623fcd3e 100644 --- a/sax/source/tools/fastserializer.cxx +++ b/sax/source/tools/fastserializer.cxx @@ -225,7 +225,7 @@ namespace sax_fastparser { void FastSaxSerializer::writeFastAttributeList( const Reference< XFastAttributeList >& Attribs ) { #ifdef DBG_UTIL - ::std::set<OUString> DebugAttributes; + ::std::set<OString> DebugAttributes; #endif Sequence< Attribute > aAttrSeq = Attribs->getUnknownAttributes(); const Attribute *pAttr = aAttrSeq.getConstArray(); @@ -258,10 +258,9 @@ namespace sax_fastparser { #ifdef DBG_UTIL // Well-formedness constraint: Unique Att Spec - OUString const name(OStringToOUString(getId(nToken), - RTL_TEXTENCODING_UTF8)); - assert(DebugAttributes.find(name) == DebugAttributes.end()); - DebugAttributes.insert(name); + OString const nameId(getId(nToken)); + assert(DebugAttributes.find(nameId) == DebugAttributes.end()); + DebugAttributes.insert(nameId); #endif writeBytes(toUnoSequence(maEqualSignAndQuote)); |