forms/source/xforms/model_ui.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d289b56c655dae12a26316f40473c46377e18a44 Author: Stephan Bergmann <sberg...@redhat.com> Date: Fri Jan 6 09:37:00 2017 +0100 Use OUString::boolean Change-Id: I8989fcc18cd0f0b28ef6da5c3c3d7f87429b569b diff --git a/forms/source/xforms/model_ui.cxx b/forms/source/xforms/model_ui.cxx index 50cdf82..80442cc 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() + "\""; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits