sendreportunx.cxx (f6e50924) sendreportunx.cxx (910823ae)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 225 unchanged lines hidden (view full) ---

234 strEnvBodyFile += szBodyFile;
235 putenv( (char *)strEnvBodyFile.getStr() );
236#endif
237 }
238
239 int ret = -1;
240 rtl::OUString path1(
241 RTL_CONSTASCII_USTRINGPARAM(
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 225 unchanged lines hidden (view full) ---

234 strEnvBodyFile += szBodyFile;
235 putenv( (char *)strEnvBodyFile.getStr() );
236#endif
237 }
238
239 int ret = -1;
240 rtl::OUString path1(
241 RTL_CONSTASCII_USTRINGPARAM(
242 "$BRAND_BASE_DIR/program/crashrep"));
242 "$OOO_BASE_DIR/program/crashrep"));
243 rtl::Bootstrap::expandMacros(path1);
244 rtl::OString path2;
245 if ((osl::FileBase::getSystemPathFromFileURL(path1, path1) ==
246 osl::FileBase::E_None) &&
247 path1.convertToString(
248 &path2, osl_getThreadTextEncoding(),
249 (RTL_UNICODETOTEXT_FLAGS_UNDEFINED_ERROR |
250 RTL_UNICODETOTEXT_FLAGS_INVALID_ERROR)))

--- 18 unchanged lines hidden ---
243 rtl::Bootstrap::expandMacros(path1);
244 rtl::OString path2;
245 if ((osl::FileBase::getSystemPathFromFileURL(path1, path1) ==
246 osl::FileBase::E_None) &&
247 path1.convertToString(
248 &path2, osl_getThreadTextEncoding(),
249 (RTL_UNICODETOTEXT_FLAGS_UNDEFINED_ERROR |
250 RTL_UNICODETOTEXT_FLAGS_INVALID_ERROR)))

--- 18 unchanged lines hidden ---