diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-06 09:37:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-06 09:37:00 +0100 |
commit | d289b56c655dae12a26316f40473c46377e18a44 (patch) | |
tree | 07cd6395087e76b4581ab00654f09e5c0df3f2cc | |
parent | No need for an OUStringBuffer here (diff) | |
download | core-d289b56c655dae12a26316f40473c46377e18a44.tar.gz core-d289b56c655dae12a26316f40473c46377e18a44.zip |
Use OUString::boolean
Change-Id: I8989fcc18cd0f0b28ef6da5c3c3d7f87429b569b
-rw-r--r-- | forms/source/xforms/model_ui.cxx | 2 |
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() + "\""; |