Lines Matching refs:OString
46 using ::rtl::OString;
51 static OString replaceAll(const OString& str, sal_Char old, const OString& replacement) in replaceAll()
62 static OString xmlAttrEncode(const OString& input) in xmlAttrEncode()
64 OString result = replaceAll(input, '&', OString("&")); in xmlAttrEncode()
65 result = replaceAll(result, '<', OString("<")); in xmlAttrEncode()
66 result = replaceAll(result, '"', OString(""")); in xmlAttrEncode()
67 return replaceAll(result, '>', OString(">")); in xmlAttrEncode()
70 static OString getPlatform() in getPlatform()
88 static const OString getLocale() in getLocale()
102 static OString getSystemInfoXml(const Reference<XMultiServiceFactory>&) in getSystemInfoXml()
110 + xmlAttrEncode(OString(info.sysname)) + "\" version=\"" in getSystemInfoXml()
111 + xmlAttrEncode(OString(info.version)) + "\" build=\"" in getSystemInfoXml()
112 + xmlAttrEncode(OString(info.release)) + "\" locale=\"" in getSystemInfoXml()
113 + xmlAttrEncode(OString(getLocale())) + "\"/>\n" in getSystemInfoXml()
115 + xmlAttrEncode(OString(info.machine)) + "\"/>\n" in getSystemInfoXml()
120 static OString getSystemInfoXml(const Reference<XMultiServiceFactory>&) in getSystemInfoXml()
126 OStringBuffer result = OString( in getSystemInfoXml()
130 result.append(OString("Windows NT")); in getSystemInfoXml()
132 result.append(OString("Windows")); in getSystemInfoXml()
145 static OString getOfficeInfoXml(const Reference<XMultiServiceFactory>& sf) in getOfficeInfoXml()
148 …const OString product = OUStringToOString(config.getCompleteProductname(), RTL_TEXTENCODING_ASCII_… in getOfficeInfoXml()
149 const OString platform = getPlatform(); in getOfficeInfoXml()
150 … const OString language = OUStringToOString(config.getSetupLocale(), RTL_TEXTENCODING_ASCII_US); in getOfficeInfoXml()
156 …const OString build = OUStringToOString(::utl::Bootstrap::getBuildIdData(OUString()), RTL_TEXTENCO… in getOfficeInfoXml()
157 const OString exceptiontype = ""; in getOfficeInfoXml()
175 OString Errormail::getXml() in getXml()
178 const OString usertype; in getXml()
179 … const OString email = OUStringToOString(config.getReporterEmail(), RTL_TEXTENCODING_ASCII_US); in getXml()
180 OString feedback; in getXml()
186 const OString title; in getXml()