To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=79414
------- Additional comments from [EMAIL PROTECTED] Wed Jul 11 21:12:33 +0000
2007 -------
Weird error in sal. Here is the compiler output and the relevant source:
/ooo/chart07/src680-m219/sal/osl/all/debugbase.cxx: In function 'bool
osl_detail_ObjectRegistry_storeAddresses(const char*)':
/ooo/chart07/src680-m219/sal/osl/all/debugbase.cxx:106: error: invalid
initialization of reference of type 'const rtl::OString&' from expression of
type 'const rtl::OUString'
debugbase.cxx:58
typedef std::vector<rtl::OString, rtl::Allocator<rtl::OUString> > OStringVec;
struct StaticDebugBaseAddressFilter
: rtl::StaticWithInit<OStringVec const, StaticDebugBaseAddressFilter> {
OStringVec const operator()() const {
OStringVec vec;
rtl_uString * pStr = 0;
rtl::OUString const name(
RTL_CONSTASCII_USTRINGPARAM("OSL_DEBUGBASE_STORE_ADDRESSES") );
if (osl_getEnvironment( name.pData, &pStr ) == osl_Process_E_None) {
rtl::OUString const str(pStr);
rtl_uString_release(pStr);
sal_Int32 nIndex = 0;
do {
vec.push_back( rtl::OUStringToOString(
str.getToken( 0, ';', nIndex ),
RTL_TEXTENCODING_ASCII_US ) );
}
while (nIndex >= 0);
}
return vec;
}
};
debugbase.cxx:102
OStringVec const& rVec = StaticDebugBaseAddressFilter::get();
if (rVec.empty())
return false;
// check for "all":
rtl::OString const& rFirst = rVec[0]; // this is line 106
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]