[Libreoffice-commits] core.git: starmath/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Sat Aug 29 06:12:10 UTC 2020
starmath/source/mathmlexport.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 74cfc763dc67c22d4f201a13ded41bb05150f9cf
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Aug 28 13:10:28 2020 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Sat Aug 29 08:11:21 2020 +0200
Use OUStringBuffer::makeStringAndClear
Change-Id: Ib7eebdee51facf642c6aca217135075cffe9bbe0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101581
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/starmath/source/mathmlexport.cxx b/starmath/source/mathmlexport.cxx
index 4805a9d7be30..d5753991396a 100644
--- a/starmath/source/mathmlexport.cxx
+++ b/starmath/source/mathmlexport.cxx
@@ -828,7 +828,7 @@ void SmXMLExport::ExportBlank(const SmNode *pNode)
OUStringBuffer sStrBuf;
::sax::Converter::convertDouble(sStrBuf, pTemp->GetBlankNum() * .5);
sStrBuf.append("em");
- AddAttribute(XML_NAMESPACE_MATH, XML_WIDTH, sStrBuf.getStr());
+ AddAttribute(XML_NAMESPACE_MATH, XML_WIDTH, sStrBuf.makeStringAndClear());
}
SvXMLElementExport aTextExport(*this, XML_NAMESPACE_MATH, XML_MSPACE,
More information about the Libreoffice-commits
mailing list