Use OUString::boolean
Change-Id: I8989fcc18cd0f0b28ef6da5c3c3d7f87429b569b
This commit is contained in:
parent
28180c40a6
commit
d289b56c65
@ -857,7 +857,7 @@ static OUString lcl_serializeForDisplay( const Reference<XXPathObject>& xResult
|
|||||||
switch( xResult->getObjectType() )
|
switch( xResult->getObjectType() )
|
||||||
{
|
{
|
||||||
case XPathObjectType_XPATH_BOOLEAN:
|
case XPathObjectType_XPATH_BOOLEAN:
|
||||||
return xResult->getBoolean() ? OUString("true") : OUString("false");
|
return OUString::boolean(xResult->getBoolean());
|
||||||
|
|
||||||
case XPathObjectType_XPATH_STRING:
|
case XPathObjectType_XPATH_STRING:
|
||||||
return "\"" + xResult->getString() + "\"";
|
return "\"" + xResult->getString() + "\"";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user