diff options
-rw-r--r-- | sax/source/tools/fastattribs.cxx | 4 | ||||
-rw-r--r-- | sax/source/tools/fastserializer.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sax/source/tools/fastattribs.cxx b/sax/source/tools/fastattribs.cxx index 0d1aa9ddc96b..b94b705fbf32 100644 --- a/sax/source/tools/fastattribs.cxx +++ b/sax/source/tools/fastattribs.cxx @@ -122,9 +122,9 @@ sal_Bool FastAttributeList::hasAttribute( ::sal_Int32 Token ) throw (RuntimeExce { for (size_t i = 0; i < maAttributeTokens.size(); ++i) if (maAttributeTokens[i] == Token) - return sal_True; + return true; - return sal_False; + return false; } sal_Int32 FastAttributeList::getValueToken( ::sal_Int32 Token ) throw (SAXException, RuntimeException, std::exception) diff --git a/sax/source/tools/fastserializer.cxx b/sax/source/tools/fastserializer.cxx index 211d8fa729c4..70f739733c89 100644 --- a/sax/source/tools/fastserializer.cxx +++ b/sax/source/tools/fastserializer.cxx @@ -82,7 +82,7 @@ namespace sax_fastparser { rtl_math_doubleToString( &mpDoubleStr, &mnDoubleStrCapacity, 0, value, rtl_math_StringFormat_G, RTL_STR_MAX_VALUEOFDOUBLE - RTL_CONSTASCII_LENGTH("-x.E-xxx"), '.', nullptr, - 0, sal_True); + 0, true); write(mpDoubleStr->buffer, mpDoubleStr->length); // and "clear" the string |