From 9881bea8d41997fb46579eb5f0314300159c96cc Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 28 May 2017 19:41:52 +0200 Subject: remove unnecessary use of OUString::getStr Change-Id: I3d13e1c0bb6aa4a7aacc463198747c1368ebc9b4 Reviewed-on: https://gerrit.libreoffice.org/38114 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/forms/propertyimport.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'xmloff/source/forms') diff --git a/xmloff/source/forms/propertyimport.cxx b/xmloff/source/forms/propertyimport.cxx index 2c17d7129841..09d1ba7161be 100644 --- a/xmloff/source/forms/propertyimport.cxx +++ b/xmloff/source/forms/propertyimport.cxx @@ -535,9 +535,8 @@ SvXMLImportContext* OListPropertyContext::CreateChildContext( sal_uInt16 _nPrefi } else { - OSL_FAIL( OStringBuffer("OListPropertyContext::CreateChildContext: unknown child element (\""). - append(OUStringToOString(_rLocalName.getStr(), RTL_TEXTENCODING_ASCII_US)). - append("\")!").getStr() ); + SAL_WARN( "xmloff", "OListPropertyContext::CreateChildContext: unknown child element (\"" + << _rLocalName << "\")!" ); return new SvXMLImportContext( GetImport(), _nPrefix, _rLocalName ); } } -- cgit