summaryrefslogtreecommitdiff
path: root/sax/source
diff options
context:
space:
mode:
Diffstat (limited to 'sax/source')
-rw-r--r--sax/source/tools/fastserializer.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/sax/source/tools/fastserializer.cxx b/sax/source/tools/fastserializer.cxx
index 02c97e69c733..87c317c86dc5 100644
--- a/sax/source/tools/fastserializer.cxx
+++ b/sax/source/tools/fastserializer.cxx
@@ -210,7 +210,7 @@ namespace sax_fastparser {
void FastSaxSerializer::writeFastAttributeList( FastAttributeList* pAttrList )
{
#ifdef DBG_UTIL
- ::std::set<OUString> DebugAttributes;
+ ::std::set<OString> DebugAttributes;
#endif
const std::vector< sal_Int32 >& Tokens = pAttrList->getFastAttributeTokens();
for (size_t j = 0; j < Tokens.size(); j++)
@@ -222,10 +222,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(sEqualSignAndQuote, N_CHARS(sEqualSignAndQuote));