[ooo-build-commit] Branch 'ooo/master' - extensions/source
Jan Holesovsky
kendy at kemper.freedesktop.org
Wed Sep 23 17:25:15 PDT 2009
extensions/source/oooimprovement/soaprequest.cxx | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
New commits:
commit 0d7fa6734c9ce417a39f6168b5575d1696ae9e04
Author: Ivo Hinkelmann <ihi at openoffice.org>
Date: Wed Sep 23 15:52:32 2009 +0000
#i10000# #i101879# fix
diff --git a/extensions/source/oooimprovement/soaprequest.cxx b/extensions/source/oooimprovement/soaprequest.cxx
index 3ece657..a67fd80 100644
--- a/extensions/source/oooimprovement/soaprequest.cxx
+++ b/extensions/source/oooimprovement/soaprequest.cxx
@@ -153,11 +153,7 @@ namespace
static const OString getSoapOfficeversion(const Reference<XMultiServiceFactory>& sf)
{
- OStringBuffer buf =
- "<Officeversion Productname=\""
- + ::rtl::OUStringToOString(oooimprovement::Config(sf).getCompleteProductname(), RTL_TEXTENCODING_ASCII_US)
- + "\"/>\n";
- return buf.makeStringAndClear();
+ return ::rtl::OUStringToOString(oooimprovement::Config(sf).getCompleteProductname(), RTL_TEXTENCODING_ASCII_US);
};
static const OString getSoapSoapId(const Reference<XMultiServiceFactory>& sf, const OString& soap_id)
@@ -165,7 +161,7 @@ namespace
OStringBuffer buf;
buf.append("<body xsi:type=\"xsd:string\">");
buf.append(xmlEncode(soap_id)).append("\n");
- buf.append(getSoapOfficeversion(sf));
+ buf.append(xmlEncode(getSoapOfficeversion(sf))).append("\n");
buf.append("</body>\n");
return buf.makeStringAndClear();
};
More information about the ooo-build-commit
mailing list