summaryrefslogtreecommitdiff
path: root/forms/source/xforms
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-06 09:37:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-06 09:37:00 +0100
commitd289b56c655dae12a26316f40473c46377e18a44 (patch)
tree07cd6395087e76b4581ab00654f09e5c0df3f2cc /forms/source/xforms
parent28180c40a6ad3e500156fa660fdf7ec810049629 (diff)
Use OUString::boolean
Change-Id: I8989fcc18cd0f0b28ef6da5c3c3d7f87429b569b
Diffstat (limited to 'forms/source/xforms')
-rw-r--r--forms/source/xforms/model_ui.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/xforms/model_ui.cxx b/forms/source/xforms/model_ui.cxx
index 50cdf8254fb4..80442cc91ee6 100644
--- a/forms/source/xforms/model_ui.cxx
+++ b/forms/source/xforms/model_ui.cxx
@@ -857,7 +857,7 @@ static OUString lcl_serializeForDisplay( const Reference<XXPathObject>& xResult
switch( xResult->getObjectType() )
{
case XPathObjectType_XPATH_BOOLEAN:
- return xResult->getBoolean() ? OUString("true") : OUString("false");
+ return OUString::boolean(xResult->getBoolean());
case XPathObjectType_XPATH_STRING:
return "\"" + xResult->getString() + "\"";